From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 2E6921B474 for ; Tue, 9 Oct 2018 12:07:28 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id DCDFCBC0064; Tue, 9 Oct 2018 10:07:26 +0000 (UTC) Received: from [192.168.38.17] (91.220.146.112) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 9 Oct 2018 11:07:19 +0100 To: Jerin Jacob , Wenzhuo Lu , Jingjing Wu , "Bernard Iremonger" , John McNamara , Marko Kovacevic , Thomas Monjalon , Ferruh Yigit , Olivier Matz CC: References: <20181003181657.32236-1-jerin.jacob@caviumnetworks.com> <20181008160953.32510-1-jerin.jacob@caviumnetworks.com> From: Andrew Rybchenko Message-ID: Date: Tue, 9 Oct 2018 13:06:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181008160953.32510-1-jerin.jacob@caviumnetworks.com> Content-Language: en-GB X-Originating-IP: [91.220.146.112] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24144.003 X-TM-AS-Result: No-4.059600-8.000000-10 X-TMASE-MatchedRID: oTBA/+sdKab4ECMHJTM/uSa1MaKuob8Pt3aeg7g/usA5N+Cyrbrj2hX0 C/Gbw7IjofKl0HWAHQPNcD+/klt5MGIkuSDGYD3DTd1FGyH+HrK4vBuE2X0HlX3gfGZAU8fLaBf g1Opz/cCkRgEg7nrRyuutPg6r34pTgiIO7Sf/7rE00dkxYNMRt4n4DdeD/uLNw7+XQ3Lk9nkahn O4XreYZseWUHEpxPJFHcN4x+ltYL2kwhnxbg1t+eQYBHVKqgDUfS0Ip2eEHny+qryzYw2E8MWxr 5jPZ4+TKrauXd3MZDX1BS5sO28sb4BxmAcqeY9756WtF6vE6FnX/ActF6PbRvaC0QdsTo1/lT4m rBQoq5A4hqmYOEYSGhWa8oXKUI+76Am1csWJKf9afZXVa79HbzEsw3iVAKhB+MLrYUO0xk6sgxP U6T+LbYxrxuQ82jt/iOcxOu8mckOZ93QdQacVBJt6SEDiCexopzaVCi5Krq9JS3dPTrxYzw== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.059600-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24144.003 X-MDID: 1539079647-OLaIavCAGuFk Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v4 1/4] ethdev: add Rx offload outer UDP checksum definition X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2018 10:07:28 -0000 On 10/8/18 7:09 PM, Jerin Jacob wrote: > Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM Rx offload flag and > PKT_RX_OUTER_L4_CKSUM_* mbuf ol_flags to detect outer UDP checksum > status. > > - To use hardware Rx outer UDP checksum offload, the user needs to > configure DEV_RX_OFFLOAD_OUTER_UDP_CKSUM offload flags in slowpath. > > - Driver updates checksum status in mbuf ol_flag as > PKT_RX_OUTER_L4_CKSUM_* flags. > > Signed-off-by: Jerin Jacob Reviewed-by: Andrew Rybchenko