numam-dpdk/drivers
Mingjin Ye 688cb2f2c6 net/ice: fix scalar Tx path segment
The scalar Tx path would send empty buffer that causes the Tx queue to
overflow.

This patch adds the last buffer length judgment in tx_prepare to fix this
issue, rte_errno will be set to EINVAL and returned if the last buffer is
empty.

Fixes: 17c7d0f9d6 ("net/ice: support basic Rx/Tx")
Fixes: ccf33dccf7 ("net/ice: check illegal packet sizes")
Cc: stable@dpdk.org

Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2022-11-11 18:17:06 +01:00
..
baseband drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
bus bus/auxiliary: prevent device from being probed again 2022-11-14 11:15:44 +01:00
common common/idpf/base: fix possible null dereference 2022-11-09 16:52:54 +01:00
compress drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
crypto drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
dma drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
event drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
gpu drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
mempool drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
net net/ice: fix scalar Tx path segment 2022-11-11 18:17:06 +01:00
raw drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
regex drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
vdpa drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
meson.build drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00