numam-dpdk/drivers
Charles Myers 1193edaa82 net/mlx4: fix Rx after mbuf alloc failure
Fixes issue where mlx4 driver stops receiving packets when mbuf
allocation fails in mlx4_rx_burst().

This issue appears to be caused because the code doesn't recycle the
existing mbuf to the sges array when mbuf allocation fails as is done
in the code right above it which handles (wc.status != IBV_WC_SUCCESS).

Copying the code from the above case fixes the issue.

Fixes: acac55f164 ("mlx4: use MOFED 3.0 fast verbs interface for Rx operations")
Cc: stable@dpdk.org

Signed-off-by: Charles Myers <charles.myers@spirent.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2017-04-19 15:37:37 +02:00
..
bus bus/fslmc: add frame queue based dq storage 2017-04-19 15:37:37 +02:00
crypto vdev: use generic vdev struct for probe and remove 2017-04-14 15:41:50 +02:00
event vdev: use generic vdev struct for probe and remove 2017-04-14 15:41:50 +02:00
mempool mempool/dpaa2: add hardware offloaded mempool 2017-04-19 15:37:37 +02:00
net net/mlx4: fix Rx after mbuf alloc failure 2017-04-19 15:37:37 +02:00
Makefile net/dpaa2: introduce NXP DPAA2 driver 2017-04-19 15:37:37 +02:00