Go to file
Cunming Liang 352078e8e1 ixgbe: check rxd number to avoid mbuf leak
The mbuf leak happens when the assigned number of rx descriptor is not
power of 2 in vector mode.
As it's presumed on vpmd rx (for rx_tail wrap), adding condition check
to prevent it.
The root cause reference code in *_recv_raw_pkts_vec* as below.
"rxq->rx_tail = (uint16_t)(rxq->rx_tail & (rxq->nb_rx_desc - 1));".

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2015-03-05 20:06:06 +01:00
app app/test: remove unneeded casts 2015-03-04 21:51:01 +01:00
config null: new poll mode driver 2015-02-26 00:31:45 +01:00
doc app/testpmd: support port hotplug 2015-02-26 00:20:43 +01:00
examples examples: remove unneeded casts 2015-03-04 21:50:42 +01:00
lib ixgbe: check rxd number to avoid mbuf leak 2015-03-05 20:06:06 +01:00
mk mk: fix config build on freebsd 2015-03-05 20:06:06 +01:00
pkg version: 1.8.0 2014-12-20 00:38:39 +01:00
scripts scripts: check features to generate configuration header 2015-02-25 16:06:12 +01:00
tools tools: enable binding device to uio_pci_generic 2015-02-20 23:34:44 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile remove trailing whitespaces 2014-06-11 00:29:34 +02: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 null: new poll mode driver 2015-02-26 00:31:45 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00