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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon May 11 17:03:15 CEST 2015


> > 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>

Applied, thanks


More information about the dev mailing list