Go to file
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
app app/testpmd: add commands for packet type mapping 2017-04-19 15:37:37 +02:00
buildtools mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
config config: add configuration for toggling physical addressing 2017-04-19 15:37:37 +02:00
devtools devtools: add test apps to build script 2017-04-06 21:44:06 +02:00
doc app/testpmd: add commands for packet type mapping 2017-04-19 15:37:37 +02:00
drivers net/mlx4: fix Rx after mbuf alloc failure 2017-04-19 15:37:37 +02:00
examples examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
lib vfio: export utility functions in map file 2017-04-19 15:37:37 +02:00
mk net/dpaa2: introduce NXP DPAA2 driver 2017-04-19 15:37:37 +02:00
pkg version: 17.02.0 2017-02-14 22:17:45 +01:00
test test/mempool_perf: support default mempool 2017-04-19 15:41:15 +02:00
usertools usertools: fix active interface detection when binding 2017-01-30 17:30:21 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: reformat crypto drivers overview 2017-04-06 00:17:44 +02:00
GNUmakefile mk: do not build tests by default 2017-02-28 16:04:18 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS doc: add DPAA2 NIC details 2017-04-19 15:37:37 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org