numam-dpdk/lib/librte_mbuf
Konstantin Ananyev 824cb29c0e apps: fix default mbuf size
Latest mbuf changes (priv_size addition and related fixes)
exposed small problem with testpmd and few other sample apps:
when mbuf size is exaclty 2KB or less, that causes
ixgbe PMD to select scattered RX even for configs with 'normal'
max packet length (max_rx_pkt_len == ETHER_MAX_LEN).
To overcome that problem and unify the code, new macro was created
to represent recommended minimal buffer length for mbuf.
When appropriate, samples are updated to use that macro.

Fixes: dfb03bbe2b ("app/testpmd: use standard functions to initialize
mbufs and mbuf pool")

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2015-05-11 15:51:14 +02:00
..
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_mbuf_version.map mbuf: introduce a new helper to create a pool 2015-04-28 11:34:04 +02:00
rte_mbuf.c mbuf: fix cloning with private mbuf data 2015-04-28 11:34:10 +02:00
rte_mbuf.h apps: fix default mbuf size 2015-05-11 15:51:14 +02:00