Hi, > -----Original Message----- > From: Dariusz Sosnowski <[email protected]> > Sent: Wednesday, November 17, 2021 11:51 AM > To: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]> > Cc: [email protected]; [email protected] > Subject: [PATCH] net/mlx5: fix partial inline of fine grain packets > > Assuming a user tried to send multi-segment packets, with > RTE_PMD_MLX5_FINE_GRANULARITY_INLINE flag set, using a device with > minimum inlining requirements (such as ConnectX-4 Lx or when user > specified them explicitly), sending such packets caused segfault. > Segfault was caused by failed invariants in mlx5_tx_packet_multi_inline > function. > > This patch introduces a logic for multi-segment packets, with > RTE_PMD_MLX5_FINE_GRANULARITY_INLINE flag set, to omit mbuf > scanning for filling inline buffer and inline only minimal amount of data > required. > > Fixes: ec837ad0fc7c ("net/mlx5: fix multi-segment inline for the first > segments") > Cc: [email protected] > Cc: [email protected]
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

