From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Markuze Subject: UDP Checksum Date: Thu, 6 Nov 2014 18:05:28 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: "dev-VfR2kkLFssw@public.gmane.org" Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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.