* [dpdk-dev] TX IP checksum offloading
@ 2013-11-07 12:52 Daniel Kaminsky
2013-11-07 17:06 ` Benson, Bryan
2013-11-07 21:05 ` Vladimir Medvedkin
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Kaminsky @ 2013-11-07 12:52 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] TX IP checksum offloading
2013-11-07 12:52 [dpdk-dev] TX IP checksum offloading Daniel Kaminsky
@ 2013-11-07 17:06 ` Benson, Bryan
2013-11-07 21:05 ` Vladimir Medvedkin
1 sibling, 0 replies; 4+ messages in thread
From: Benson, Bryan @ 2013-11-07 17:06 UTC (permalink / raw)
To: Daniel Kaminsky, dev
Hi Daniel,
I posted some findings yesterday that seem relevant. Try using the ol flags when you use an RX free threshold below 32.
I am looking into what can be done to fix it for values of 32 and above.
http://dpdk.org/ml/archives/dev/2013-November/000724.html
Thanks,
Bryan Benson
________________________________________
From: dev [dev-bounces@dpdk.org] on behalf of Daniel Kaminsky [daniel.kaminsky@infinitelocality.com]
Sent: Thursday, November 07, 2013 4:52 AM
To: dev@dpdk.org
Subject: [dpdk-dev] TX IP checksum offloading
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] TX IP checksum offloading
2013-11-07 12:52 [dpdk-dev] TX IP checksum offloading Daniel Kaminsky
2013-11-07 17:06 ` Benson, Bryan
@ 2013-11-07 21:05 ` Vladimir Medvedkin
2013-11-10 15:59 ` Daniel Kaminsky
1 sibling, 1 reply; 4+ messages in thread
From: Vladimir Medvedkin @ 2013-11-07 21:05 UTC (permalink / raw)
To: dev
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@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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] TX IP checksum offloading
2013-11-07 21:05 ` Vladimir Medvedkin
@ 2013-11-10 15:59 ` Daniel Kaminsky
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Kaminsky @ 2013-11-10 15:59 UTC (permalink / raw)
To: Vladimir Medvedkin; +Cc: dev
Thanks Vladimir,
Setting those values made it work.
Daniel
On Thu, Nov 7, 2013 at 11:05 PM, Vladimir Medvedkin <medvedkinv@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@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
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-10 15:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07 12:52 [dpdk-dev] TX IP checksum offloading Daniel Kaminsky
2013-11-07 17:06 ` Benson, Bryan
2013-11-07 21:05 ` Vladimir Medvedkin
2013-11-10 15:59 ` Daniel Kaminsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).