From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by dpdk.org (Postfix) with ESMTP id 980537F18 for ; Thu, 6 Nov 2014 16:56:00 +0100 (CET) Received: by mail-lb0-f173.google.com with SMTP id n15so1163731lbi.32 for ; Thu, 06 Nov 2014 08:05:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=w/olL9pIWrp3q7XAOY9dogXtnbqcPH2+Vl8C3/U7W58=; b=ei7nptpWpnh36YHhC2B/wNu6IhtQtz6BGe/HO6TUn3a6X+0Nm7EWrv2OAb8bydZWvS U6JpAXT+ueYeXYlx1kDfuhic9lxoGIZ3Bc1YQmxGubSX1w9HcfR/ELVpv66Bk6vL/wAq gKS3pVRZcDbLO0yCTSeRuqFAp6ta8hbfOB46NGa+X/MkgQIT1XhkISWir+s+18uh9NGC aMz/Rn8h5F/OWdn9CvAoUaGfvKIiEFuSyi47roSWVQN7gAmQYLiyxBrZ2MhyL1lijYBP 8FID7jzU+DwneT1kyTPLbxrYrpW3d82EQHIxUEx+/OsC83b/286irOFfFxaU7zorMYgE o8Ug== X-Gm-Message-State: ALoCoQmqzpSRJV4Bl8dCosCTJSH9D3/jATfNHewGnFHyU2FHPE1VIFTid8xRrqdxn6JCR6DlcusX MIME-Version: 1.0 X-Received: by 10.112.201.201 with SMTP id kc9mr6039374lbc.76.1415289928323; Thu, 06 Nov 2014 08:05:28 -0800 (PST) Received: by 10.25.215.157 with HTTP; Thu, 6 Nov 2014 08:05:28 -0800 (PST) Date: Thu, 6 Nov 2014 18:05:28 +0200 Message-ID: From: Alex Markuze To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] UDP Checksum X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 15:56:00 -0000 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.