[dpdk-dev] TX IP checksum offloading

Daniel Kaminsky daniel.kaminsky at infinitelocality.com
Sun Nov 10 16:59:27 CET 2013


Thanks Vladimir,

Setting those values made it work.

Daniel


On Thu, Nov 7, 2013 at 11:05 PM, Vladimir Medvedkin <medvedkinv at gmail.com>wrote:

> Hi,
>
> Did you set
>                 m->pkt.vlan_macip.f.l2_len = sizeof(struct ether_hdr);
>                 m->pkt.vlan_macip.f.l3_len = sizeof(struct ipv4_hdr);
>  fields?
>
> Regards,
> Vladimir
>
>
> 2013/11/7 Daniel Kaminsky <daniel.kaminsky at infinitelocality.com>
>
> > Hi,
> >
> > Did anyone had an experience using the PKT_TX_IP_CKSUM flag?
> > I have an application that generates IP traffic but whenever I try to set
> > this flag on (*m->ol_flags = PKT_TX_IP_CKSUM)* the rte_mbuf nothing is
> sent
> > out.
> > Retrieving that statistics from the ethernet device show zero for
> opackets
> > and oerrors.
> >
> > I'm using ixgbe driver and DPDK 1.5.0-8 (from Intel) distribution.
> >
> > Thanks,
> > Daniel
> >
>


More information about the dev mailing list