From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CF3201B0FF for ; Wed, 3 Oct 2018 12:51:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Oct 2018 03:51:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,335,1534834800"; d="scan'208";a="95669823" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga001.fm.intel.com with ESMTP; 03 Oct 2018 03:51:38 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 3 Oct 2018 11:51:37 +0100 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.56]) by irsmsx155.ger.corp.intel.com ([169.254.14.27]) with mapi id 14.03.0319.002; Wed, 3 Oct 2018 11:51:36 +0100 From: "Iremonger, Bernard" To: Jerin Jacob , "Lu, Wenzhuo" , "Wu, Jingjing" , "Mcnamara, John" , "Kovacevic, Marko" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Olivier Matz CC: "dev@dpdk.org" , "shahafs@mellanox.com" Thread-Topic: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum definition Thread-Index: AQHUWoW0cd0aS94bbUK6ari/qyspj6UNWHkg Date: Wed, 3 Oct 2018 10:51:36 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D0C0C7@IRSMSX107.ger.corp.intel.com> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20181002192451.19119-1-jerin.jacob@caviumnetworks.com> In-Reply-To: <20181002192451.19119-1-jerin.jacob@caviumnetworks.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWQ1NzlhZGYtMzhmMC00N2M2LThkNzgtZjBhZjA2NGNlMzcyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibHk4eHhnemJJeElYTVpkTktPb1BCbERJczlKSE1wWldSTmhHT1FrVGVMNHBETTdqTGFDZzd3aVFhbUdcL1wvc1NxIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 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: Wed, 03 Oct 2018 10:51:45 -0000 Hi Jerin, > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Tuesday, October 2, 2018 8:25 PM > To: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard = ; > Mcnamara, John ; Kovacevic, Marko > ; Thomas Monjalon ; > Yigit, Ferruh ; Andrew Rybchenko > ; Olivier Matz > Cc: dev@dpdk.org; shahafs@mellanox.com; Jerin Jacob > > Subject: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP check= sum > definition >=20 > Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM Rx offload flag and > PKT_RX_EL4_CKSUM_BAD mbuf ol_flags to detect outer UDP checksum failure. >=20 > - To use hardware Rx outer UDP checksum offload, the user needs to config= ure > DEV_RX_OFFLOAD_OUTER_UDP_CKSUM offload flags in slowpath. >=20 > - Driver updates the PKT_RX_EL4_CKSUM_BAD mbuf ol_flag on checksum failur= e > similar to the outer L3 PKT_RX_EIP_CKSUM_BAD flag. >=20 > Signed-off-by: Jerin Jacob > --- >=20 > v2: > - Removed DEV_RX_OFFLOAD_OUTER_TCP_CKSUM and > DEV_RX_OFFLOAD_OUTER_SCTP_CKSUM as there is no realworld use case for > it. > See: http://patches.dpdk.org/patch/44692/ >=20 > This patch series is depended on http://patches.dpdk.org/patch/45840/ >=20 > -- > app/test-pmd/config.c | 9 +++++++++ > doc/guides/nics/features.rst | 3 +++ > lib/librte_ethdev/rte_ethdev.c | 1 + > lib/librte_ethdev/rte_ethdev.h | 1 + > lib/librte_mbuf/rte_mbuf.c | 2 ++ > lib/librte_mbuf/rte_mbuf.h | 3 +++ > 6 files changed, 19 insertions(+) >=20 This patch fails to apply to the latest master branch, a rebase may be need= ed. Regards, Bernard.