[dpdk-dev] Unable to get multi-segment mbuf working for ixgbe

Clarylin L clearasu at gmail.com
Mon Mar 28 19:05:40 CEST 2016


Any pointers to what the issue could be? thanks

On Fri, Mar 25, 2016 at 4:13 PM, Clarylin L <clearasu at gmail.com> wrote:

> Hello,
>
> I am trying to use multi-segment mbuf to receive large packet. I enabled
> jumbo_frame and enable_scatter for the port and was expecting mbuf chaining
> would be used to receive packets larger than the mbuf size (which was set
> to 2048).
>
> When sending 3000-byte (without fragmentation) packet from another
> non-dpdk host, I didn't see packet was received by the ixgbe PMD driver.
>
> After a quick debugging session I found that the following statement in ixgbe_recv_scattered_pkts
> (ixgbe_rxtx.c) is
> always true and break the loop in case of large packet, while it's not the
> case for small packet (smaller than mbuf size):
>
> if (! staterr & rte_cpu_to_le32(IXGBE_RXDADV_STAT_DD))
>     break;
>
> Is enabling jumbo_frame and enable_scatter good enough to get started the
> mbuf chaining?
>
> Appreciate any input! Thanks.
>


More information about the dev mailing list