dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* pktgen offload checksum flag not able to make it work with pacp packets.
@ 2014-01-24 18:54 Banashankar KV
       [not found] ` <CABkBM5G5T8pQFU_BwNS715ZM8Wqf_NGyEB+qx0NuE0YSym48RQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Banashankar KV @ 2014-01-24 18:54 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

I was modifying a packet in pktgen_pcap_mbuf_ctor()
and after modifying I wanted to offload the checksum calculation to h/w
so I am setting these flags in pktgen_pcap_mbuf_ctor function.

m->pkt.vlan_macip.f.l2_len = sizeof(struct ether_hdr);
m->pkt.vlan_macip.f.l3_len = sizeof(struct ipv4_hdr);

m->ol_flags = PKT_TX_IP_CKSUM


I even tried with setting .txq_flags = 0 in rte_eth_txconf struct in pktgen.c.

But still not able to get the h/w checksum. Am I missing anything ?



Thanks
Banashankar

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-27 19:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24 18:54 pktgen offload checksum flag not able to make it work with pacp packets Banashankar KV
     [not found] ` <CABkBM5G5T8pQFU_BwNS715ZM8Wqf_NGyEB+qx0NuE0YSym48RQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-24 19:44   ` Wiles, Roger Keith
     [not found]     ` <4FE91E82-8097-451E-A36D-2F1254573A89-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2014-01-25 22:53       ` Banashankar KV
     [not found]         ` <CABkBM5FM6YZpyYBLhs81YbG_5CbCxqBiTqDjhVoPCNsJSV4vnQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-26  2:46           ` Wiles, Roger Keith
     [not found]             ` <7B58AC42-4409-4448-A748-BADA7F37E32C-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2014-01-27  0:38               ` Ananyev, Konstantin
2014-01-27  8:02               ` Vladimir Medvedkin
     [not found]                 ` <CANDrEHnGjpbg-qPf4=tUuTvgT-gH+-3-J-6kfgM0_c6w-M3M1w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-01-27 19:25                   ` Banashankar KV
2014-01-27 19:04               ` Banashankar KV

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