From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Iremonger, Bernard" Subject: Re: [PATCH v2 2/4] ethdev: add Tx offload outer UDP checksum definition Date: Wed, 3 Oct 2018 10:52:56 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D0C0E0@IRSMSX107.ger.corp.intel.com> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20181002192451.19119-1-jerin.jacob@caviumnetworks.com> <20181002192451.19119-2-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , "shahafs@mellanox.com" To: Jerin Jacob , "Lu, Wenzhuo" , "Wu, Jingjing" , "Mcnamara, John" , "Kovacevic, Marko" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Olivier Matz Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 0AAA5D0B2 for ; Wed, 3 Oct 2018 12:52:59 +0200 (CEST) In-Reply-To: <20181002192451.19119-2-jerin.jacob@caviumnetworks.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 2/4] ethdev: add Tx offload outer UDP check= sum > definition >=20 > Introduced DEV_TX_OFFLOAD_OUTER_UDP_CKSUM offload flags and > PKT_TX_OUTER_TCP_CKSUM mbuf ol_flags to enable Tx outer UDP checksum > offload. >=20 > To use hardware Tx outer UDP checksum offload, the user needs to, >=20 > - enable following in mbuff: > a) fill outer_l2_len and outer_l3_len in mbuf > b) set the PKT_TX_OUTER_UDP_CKSUM flag > c) set the flag PKT_TX_OUTER_IPV4 or PKT_TX_OUTER_IPV6 >=20 > - configure DEV_TX_OFFLOAD_OUTER_UDP_CKSUM offload flags in slow path >=20 > Signed-off-by: Jerin Jacob > --- >=20 > v2: > - Removed DEV_TX_OFFLOAD_OUTER_TCP_CKSUM and > DEV_TX_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 | 10 ++++++++++ > doc/guides/nics/features.rst | 6 ++++++ > lib/librte_ethdev/rte_ethdev.c | 1 + > lib/librte_ethdev/rte_ethdev.h | 2 ++ > lib/librte_mbuf/rte_mbuf.c | 1 + > lib/librte_mbuf/rte_mbuf.h | 6 +++++- > 6 files changed, 25 insertions(+), 1 deletion(-) >=20 This patch fails to apply to the latest master branch, a rebase may be need= ed. Regards, Bernard.