[dpdk-dev] TX IP checksum offloading

Vladimir Medvedkin medvedkinv at gmail.com
Thu Nov 7 22:05:09 CET 2013


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