Hi, > -----Original Message----- > From: Dariusz Sosnowski <dsosnow...@nvidia.com> > Sent: Wednesday, November 17, 2021 11:51 AM > To: Matan Azrad <ma...@nvidia.com>; Slava Ovsiienko > <viachesl...@nvidia.com> > Cc: dev@dpdk.org; sta...@dpdk.org > 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: viachesl...@nvidia.com > Cc: sta...@dpdk.org
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh