numam-dpdk/drivers/net/mlx4
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
..
Makefile drivers/net: remove unused DEPDIRS from makefiles 2017-04-06 20:58:59 +02:00
mlx4_flow.c net/mlx4: use a single drop queue for all drop flows 2017-04-04 19:03:03 +02:00
mlx4_flow.h net/mlx4: use a single drop queue for all drop flows 2017-04-04 19:03:03 +02:00
mlx4.c net/mlx4: fix Rx after mbuf alloc failure 2017-04-19 15:37:37 +02:00
mlx4.h net/mlx4: use a single drop queue for all drop flows 2017-04-04 19:03:03 +02:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00