All of lore.kernel.org
 help / color / mirror / Atom feed
* UDP Checksum
@ 2014-11-06 16:05 Alex Markuze
       [not found] ` <CAKfHP0WWCrftSR=z=jvUsHCLtTZdBwch0ZvadiLa9nMfcbpW-Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Markuze @ 2014-11-06 16:05 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Hi,
I'm seeing "UDP: bad checksum." messages(dmesg) for packets sent by my dpdk
app to a socket on a remote machine.
Looking at the packets the scum value is set, its just not what wireshark
expects.

When sending I'm setting these fields in the egress packets.

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

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

        pkt->ol_flags |= (PKT_TX_IP_CKSUM | PKT_TX_L4_MASK);
//PKT_TX_OFFLOAD_MASK;


I'm working with a 82599 VF.


Any thoughts? I'm not sure what else to check.

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

end of thread, other threads:[~2014-11-06 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-06 16:05 UDP Checksum Alex Markuze
     [not found] ` <CAKfHP0WWCrftSR=z=jvUsHCLtTZdBwch0ZvadiLa9nMfcbpW-Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-06 16:15   ` Olivier MATZ
2014-11-06 16:15   ` Ananyev, Konstantin
     [not found]     ` <2601191342CEEE43887BDE71AB977258213A2E79-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-06 16:26       ` Alex Markuze
     [not found]         ` <2601191342CEEE43887BDE71AB977258213A2EC5@IRSMSX105.ger.corp.intel.com>
     [not found]           ` <2601191342CEEE43887BDE71AB977258213A2EC5-kPTMFJFq+rEu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-11-06 17:07             ` Ananyev, Konstantin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.