From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by dpdk.org (Postfix) with ESMTP id 55C6A1C01; Sat, 20 Oct 2018 07:13:00 +0200 (CEST) Received: by mail-wr1-f47.google.com with SMTP id n1-v6so39397287wrt.10; Fri, 19 Oct 2018 22:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JEbpmnDKBwmXrxvJC8PODbGFHPWI+Iv4MBRHpX7f5Kw=; b=iWhbGP8CEwJ1L1zdxTVZKANq1hIxS11wF/24vOrPA/1M+Vip6G/jkW6+NGVwZKi+ts mEBX2fgLsU2Sflxaxe1vU/Q3tdb9wAVVbGk6TKVRHTzuOpNxdArMcAxuwCHXZcj6hXfH dkS4+GNpuyqzJv+pyuZyHjntemckomz4eFabYhVnJxdh9BHXJN3bjYvVS63RXdhIA5uo GBHUjpnvqja6FHcGts9DnxmEOyb7kKeUuvy3VmyZAdTkAgiZhZebUjZAaxPLYtX6553E oBMIsZfN+0+C15BHzzuD0+w2rn4tMHtR3iLmSfT1awrmyIyVpIeGaiDtOdo3ExQOvGlV 9RYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JEbpmnDKBwmXrxvJC8PODbGFHPWI+Iv4MBRHpX7f5Kw=; b=IGUZGeP2vtgNpCtLS2L6Wt8UgpQKL9+8QpG84NHWtgpChJojBTkwbiiPCfrtuLoQCs WB11Ij6VY9OwvcMrtnx2l6fKHGVwXPJrGaL0Tv/zBYlfgW0s8iR4NzSVGC7Z1McUDXUq Te7BSxLXMww0YYrvHt4eg2YzDi/lB2EkIJM+amxpQU+AvhSLhm2E56FEMB1dmDgkrubs NVcLE0MI+b0HhO81IdBNT0TsXJR9iw4Bt2qWeFH184n9feQ8jJ/zGuimpZrYKNdjDDlk 2vGdXLREqKXKh6pvtjwzFnN75yCSgSm3MTtQoLyCytfyCvCfYFjp/hBGM2h0d/eXO2ju t7Lg== X-Gm-Message-State: ABuFfoiL8QwQTJZVcv/tOoiQ/f+MX1v7NEIlbhXqjWcsLepPaebddb5Z aEEU48zLbkZ7m2whE/CAyea7+v3sMaQ3tE7wqjeglw== X-Google-Smtp-Source: ACcGV62mQZuwfencEam6cgB37Xgzr/EdwVgs3t2/IKIHBAJCcL9R3gjWo+q0In7zRcVtG9sS6EsvzWFKawDwQ32Jvgs= X-Received: by 2002:adf:8322:: with SMTP id 31-v6mr36264710wrd.285.1540012379874; Fri, 19 Oct 2018 22:12:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shyam Shrivastav Date: Sat, 20 Oct 2018 10:42:43 +0530 Message-ID: To: lidejun1@huawei.com Cc: users , dev@dpdk.org, lichunhe@huawei.com, wangliefeng@huawei.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] [dpdk-dev] IPV4/IPV6 TCP/UDP Pseudo Header Checksum APIs X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2018 05:13:00 -0000 that is correct , pseudo header doesn't include ipv4 options or ipv6 extension headers .. On Sat, Oct 20, 2018 at 9:02 AM lidejun wrote: > Has anybody used the following two APIs calculating ipv4&ipv6 tcp/udp > pseudo header checksum=EF=BC=9F > > 1. rte_ipv4_phdr_cksum > > 2. rte_ipv6_phdr_cksum > The ipv4 version does not exclude ip options and ipv6 version does not > exclude extersion headers. >