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
..
2014-11-26 17:27:04 +01:00
2015-03-10 11:47:46 +01:00
2015-03-23 00:31:20 +01:00
2014-11-27 13:09:55 +01:00
2015-01-28 17:11:25 +01:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2015-02-24 20:23:11 +01:00
2015-05-11 15:51:14 +02:00
2014-11-25 13:16:24 +01:00
2015-03-10 12:17:31 +01:00
2015-03-10 11:47:46 +01:00
2014-11-27 16:21:11 +01:00
2015-03-10 11:47:46 +01:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2015-02-18 12:15:31 +01:00
2015-05-11 15:51:14 +02:00
2015-05-11 15:51:14 +02:00
2014-11-26 17:27:04 +01:00
2015-05-11 15:51:14 +02:00
2015-04-20 14:37:36 +02:00
2015-03-10 11:47:46 +01:00
2014-09-29 15:04:55 +02:00
2015-05-11 15:51:14 +02:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-04-20 19:58:54 +02:00