numam-dpdk/drivers
Viacheslav Ovsiienko d15bfd2930 net/mlx5: fix inline length exceeding descriptor limit
The hardware descriptor (WQE) length field is 6 bits wide
and we have the native limitation for the overall descriptor
length. To improve the PCIe bandwidth the packet data can be
inline into descriptor. If PMD was configured to inline large
amount of data it happened there was no enough space remaining
in the descriptor to specify all the packet data segments and
PMD rejected problematic packets.

The patch tries to adjust the inline data length conservatively
and allows to avoid error occurring.

Fixes: 18a1c20044 ("net/mlx5: implement Tx burst template")
Fixes: e2259f93ef ("net/mlx5: fix Tx when inlining is impossible")
Cc: stable@dpdk.org

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Reviewed-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
2022-10-02 09:13:52 +02:00
..
baseband dev: hide driver object 2022-09-23 16:14:34 +02:00
bus bus/pci: fill bus specific information 2022-09-23 16:14:34 +02:00
common common/mlx5: lower some DevX log level 2022-10-02 09:13:50 +02:00
compress dev: hide driver object 2022-09-23 16:14:34 +02:00
crypto crypto/openssl: fix HMAC output length 2022-09-27 18:20:35 +02:00
dma dev: hide driver object 2022-09-23 16:14:34 +02:00
event event/cnxk: update event vector Tx routine 2022-09-27 15:41:59 +02:00
gpu dev: hide driver object 2022-09-23 16:14:34 +02:00
mempool common/cnxk: reserve AURA zero on CN10KA NPA 2022-09-22 10:44:04 +02:00
net net/mlx5: fix inline length exceeding descriptor limit 2022-10-02 09:13:52 +02:00
raw raw/ioat: remove deprecated driver 2022-09-28 14:41:07 +02:00
regex dev: hide driver object 2022-09-23 16:14:34 +02:00
vdpa bus/pci: make driver-only headers private 2022-09-23 16:14:34 +02:00
meson.build build: export drivers headers 2022-09-23 16:14:34 +02:00