numam-dpdk/examples
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
..
bond apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
cmdline tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
distributor apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
dpdk_qat apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
exception_path apps: use helper to create mbuf pools 2015-04-28 11:34:10 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
ip_pipeline apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
ip_reassembly apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
ipv4_multicast apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
kni apps: use helper to create mbuf pools 2015-04-28 11:34:10 +02:00
l2fwd apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l2fwd-ivshmem apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l2fwd-jobstats apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l3fwd apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l3fwd-acl apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l3fwd-power apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
l3fwd-vf apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
link_status_interrupt apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
load_balancer apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
multi_process apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
netmap_compat apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
packet_ordering apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
qos_meter apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
qos_sched apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
quota_watermark apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
vhost_xen apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
vm_power_manager examples: remove useless null checks before rte_free 2015-04-13 22:50:10 +02:00
vmdq apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
vmdq_dcb apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
Makefile examples/l2fwd-jobstats: new example 2015-02-24 22:19:25 +01:00