[dpdk-dev] [PATCHv2] app/ and examples/ fix default mbuf size

Olivier MATZ olivier.matz at 6wind.com
Thu Apr 30 11:26:56 CEST 2015


Hi Konstantin,

On 04/30/2015 01:31 AM, Konstantin Ananyev wrote:
> v2 changes:
> - add a new macro into rte_mbuf.h
> - make samples to use that new macro
>
>
> Fixes: dfb03bbe2b ("app/testpmd: use standard functions to initialize
> mbufs and mbuf pool").
> 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.
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Thanks



More information about the dev mailing list