numam-dpdk/drivers/net
Chaoyong He 7aa745d788 net/nfp: fix Rx descriptor DMA address for VNIC
When using flower firmware application, and the ctrl vNIC receiving a
packet that is larger than the mbuf size, the Rx function will break the
receive loop and sent a free list descriptor with random DMA address.

Fix this by moving the increment of the free list descriptor counter
to after the packet size have been checked and acted on.

Fixes: a36634e87e ("net/nfp: add flower ctrl VNIC Rx/Tx")

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
2022-11-18 15:00:01 +01:00
..
af_packet drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
af_xdp drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
ark drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
atlantic net/atlantic: fix build with clang 15 2022-11-21 11:19:14 +01:00
avp drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
axgbe drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
bnx2x drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
bnxt net/bnxt: support proactive error handling mode 2022-10-17 08:34:05 +02:00
bonding drivers: fix typos found by Lintian 2022-11-15 17:17:14 +01:00
cnxk cleanup compat header inclusions 2022-11-15 08:39:14 +01:00
cxgbe drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
dpaa cleanup compat header inclusions 2022-11-15 08:39:14 +01:00
dpaa2 net/dpaa2: fix build with clang 15 2022-11-21 11:19:16 +01:00
e1000 drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
ena drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
enetc drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
enetfec drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
enic drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
failsafe drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
fm10k drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
gve drivers/net: remove unnecessary null checks 2022-11-15 15:04:22 +01:00
hinic drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
hns3 drivers: fix typos found by Lintian 2022-11-15 17:17:14 +01:00
i40e net/i40e: fix jumbo frame Rx with X722 2022-11-10 18:57:43 +01:00
iavf net/iavf: support VXLAN-GPE tunnel offload 2022-11-17 13:04:42 +01:00
ice net/ice: fix build with clang 15 2022-11-21 11:19:21 +01:00
idpf net/idpf: fix checks in multi-queue config and stop 2022-11-18 19:05:53 +01:00
igc drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
ionic drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
ipn3ke bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
ixgbe net/ixgbevf: fix promiscuous and allmulti 2022-11-17 13:23:30 +01:00
kni drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
liquidio drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
mana drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
memif drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
mlx4 drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
mlx5 net/mlx5: document E-Switch limitations with HWS 2022-11-21 23:47:33 +01:00
mvneta drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
mvpp2 drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
netvsc drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
nfb drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
nfp net/nfp: fix Rx descriptor DMA address for VNIC 2022-11-18 15:00:01 +01:00
ngbe drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
null drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
octeon_ep drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
octeontx ethdev: remove deprecated Flow Director configuration 2022-08-31 15:24:23 +02:00
pcap drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
pfe drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
qede drivers: fix typos found by Lintian 2022-11-15 17:17:14 +01:00
ring drivers: mark SW PMDs to support disabling IOVA as PA 2022-10-09 13:14:57 +02:00
sfc drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
softnic net/softnic: fix file descriptor leak 2022-10-04 01:08:39 +02:00
tap drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
thunderx drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
txgbe cleanup compat header inclusions 2022-11-15 08:39:14 +01:00
vdev_netvsc drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
vhost bus/vdev: make driver-only headers private 2022-09-23 16:14:34 +02:00
virtio drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
vmxnet3 drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
meson.build net/idpf: support device initialization 2022-10-31 14:29:55 +01:00