From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5BFCEA0566; Mon, 5 Sep 2022 04:25:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8676D40697; Mon, 5 Sep 2022 04:25:35 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id CB9AB400D4 for ; Mon, 5 Sep 2022 04:25:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662344734; x=1693880734; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7IPShExKappb32hkh2Q0pm6DtgXgHz+wuH2M83VHB7w=; b=NEmUM3vZvqTlh4c6Iac+yvLRu77/hy30AVdyh27Aopj8rb/l8cpoV28i JvnsIMVbf0OuAQTl0Ma4BUMjmOwUfMZ5QdupuNGSE2JlCy0pnX83ExYmQ mO5mois4wC3HVGcyE0pr1UAgWGJptwXQ/qxA/IpLQDIkK3l1uGxR1iaq5 G2n4//k1kl6rf2/hYFAkT5eGcJb7jHqYxHPLVBI4LUHclLyJbooJkImC8 9y+O0byNIQJ+90/obfC32sp+mob0WOHcD4kkDJlOFzF5mYZbyiAr1iKiK HkxXZ/rtsoRz2ZdQgJ2DfJjKAt9mkpGj76T9jC7uLtewcsQb3pDtB2Gok A==; X-IronPort-AV: E=McAfee;i="6500,9779,10460"; a="360246504" X-IronPort-AV: E=Sophos;i="5.93,290,1654585200"; d="scan'208";a="360246504" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2022 19:25:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,290,1654585200"; d="scan'208";a="675093396" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP; 04 Sep 2022 19:25:32 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 4 Sep 2022 19:25:32 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 4 Sep 2022 19:25:31 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Sun, 4 Sep 2022 19:25:31 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Sun, 4 Sep 2022 19:25:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GgN6El8VZOzwwQSJQGe3Ez0Uhpq8mPp25UbUyKXakGQO8xw3WADHiT86B2pri33C/CDJek1b2upjZRjJkkHNGHKTfPIpmedRPMDuvh4l/v+rlkKiwJh5VTtta+Kdqv0dh/qaNl8suWigM2fDlQcSP5JSQxpNSk+6VkNCKqJo6NABnRY8YjVeHmOvgtnvgwz74oH9raLrRla28Mt+m2QpKhTiXeWM5KartNNASuh8X68NU4ovgqNOR11WsecPpQCDrSfXpFKuU8C38B4tN7meBqyaGuT5LxYc3izdd9kytFCjvT62vXfjLReafD8tBrV61va3BV+csk3SIevsIGrQnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FYe6wHCJluT9SE4w++GIYAJJvldCTF0ki/Ku+6dQDMU=; b=NG/K9b+RglEj/b15/WuI4Ul8u04gY836V1Iv3Zd7Pq5irKInN5qKtTddmrbEmsdg57TNRylVjOahvg7f2sWjUAM8H/yYsDaYktVrly1Tb0VVy5m+qc5lSHT2m4LUfJejRIChBgVO+JqvBxRWCzuNrFd5n+lX/f5W3EGuRC1DoRrbckCN5QDx4gtSAYO5Rn9PF7E8BJmv5gL+l/fjbiOpGOJc15/8ZY+ICyonF8Bb99SmM2nDvYPfQRvqvuGAdN2WX+Q8sQok0J55mvleaMd23eEicHHdyfPIdahq1OU28hEaqP8Rpa7oI+gHcmZ4JcR4ihEyo0WtHUve7U4TqIwY+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MWHPR11MB1886.namprd11.prod.outlook.com (2603:10b6:300:110::9) by MWHPR11MB0014.namprd11.prod.outlook.com (2603:10b6:301:64::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.16; Mon, 5 Sep 2022 02:25:29 +0000 Received: from MWHPR11MB1886.namprd11.prod.outlook.com ([fe80::58f6:397c:5f5a:216f]) by MWHPR11MB1886.namprd11.prod.outlook.com ([fe80::58f6:397c:5f5a:216f%4]) with mapi id 15.20.5588.018; Mon, 5 Sep 2022 02:25:29 +0000 From: "Yang, Qiming" To: "Zhang, Peng1X" , "dev@dpdk.org" CC: "Zhang, Qi Z" Subject: RE: [PATCH v2] net/iavf: enable inner and outer Tx checksum offload Thread-Topic: [PATCH v2] net/iavf: enable inner and outer Tx checksum offload Thread-Index: AQHYveXCFro4AlzgOECLEqo8HTu2Y63L3Y6Q Date: Mon, 5 Sep 2022 02:25:29 +0000 Message-ID: References: <20220812165223.470777-2-peng1x.zhang@intel.com> <20220901093307.284903-1-peng1x.zhang@intel.com> In-Reply-To: <20220901093307.284903-1-peng1x.zhang@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5d537399-c89f-4828-660a-08da8ee5e6a9 x-ms-traffictypediagnostic: MWHPR11MB0014:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7T5x39n5nPCfceOSrwrMs0iWMx8NMNcGUz6NeV4sYJtq6VZDmI1vd2fFwkK4D0B4bVP8OqyxA9/97ymtc2vHa+dW9LGpM4KtXEI6MV0LNsP7IteYCIzN6q9a6fMoGeKZATj/TGKEUFDRNMEmD12Szm+NSbad0BCxtBVYN87qODjQxRO+ia/1Q0lzlUYg9PmVT8sGNb+c3ouRP94WHMzUUcE+wGzEn0+fJWQJl0F+yNGNu7oqsex9zm8hhq13LS8P/AD7oOb7ymJw7hd+KASAJiplLCWGYIIp+vvnP4Pje6yJVi+6KPhi9zBzOfDFgL3cQQPSnRsVBMv7NgJmF4r/sK6Aq/zIGHPutmSoHtgUPVl4dd+mFmviaCV+cSAxZ2A0EBPx3ebokzbrpAQWrv2/sS6RKnF1yw7xeUkfT7zHKNFhbp179zmbSfHyByAYzQHgJtlddzx2ZpJsk6RfS6CPKwy76pd9Rw7q63Lw9uUl05Mf+mEuMGd40hwcKt4Qz0XZXU9XGHwFa819MOJzSLRL83jOaMctrzHdpOhQ08h9XryP2C5HZVcNLuWPCJCjkEyGkhQfudjM2kIQym6iZbuyrRP7QGVmJSerWEt4aGDoNkRzZll2jFaXJ/c6g+Cupj8iBg6COn6UIBKJtjyKqqcfJ/sih3ciI7WcDgpCsLL5ybBUuqENtCWW1mIsuZxTji2opkbXyBGpHBKP/zx58zgBFU7Wv9Y3zXY2amlcO4MW2hRzXCSJHAjHUbUViw4v3AHoC3MP3YXbT4iCGmPy7h5JqQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1886.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(346002)(396003)(136003)(366004)(39860400002)(376002)(55016003)(8676002)(76116006)(4326008)(64756008)(66446008)(66476007)(5660300002)(8936002)(52536014)(82960400001)(66946007)(38070700005)(122000001)(38100700002)(66556008)(7696005)(6506007)(2906002)(53546011)(107886003)(9686003)(26005)(41300700001)(71200400001)(478600001)(316002)(186003)(83380400001)(110136005)(33656002)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?E7oTLe3lRoj8NWSavcGxXytHJbIrST04LCPML5JrjTCpqi0JnyUqGf53uSMm?= =?us-ascii?Q?KWPrjX+clcYBMbv47KPtIJrB/P2knFvaG5Al+WQuXH7DN7xM3UtOeOEQ9Jpg?= =?us-ascii?Q?O1j/hQxNbehe/smivJld7lyIc2YkTnBsGNg3j1Snfg5lKrwdQif9EW8s6ajO?= =?us-ascii?Q?RkB02ThHBCCzQtx0PZBtOWaWZNY5dh1DLR9Iry872qb0fP0M02buF5O0QIrT?= =?us-ascii?Q?2wLqJ0hC0myzUGZkDEpr+KGXVXrkjFBnwpQJqXAghaONQ42SMh6gH32xGcSB?= =?us-ascii?Q?ktC+gnYj4iV+EJun+WFOTzWO1z7HMnApr53z1LIY0S/9/oAKEOB1NoKHjytk?= =?us-ascii?Q?1oklISem78r7RlHPSrVzm83oKNvHqai6WBjt8DIt8YdIGxMzaGk4kOh+E0z9?= =?us-ascii?Q?of9Rm5RNcMgAGLI4ppm7xoayKw8/WPykMh4lj2QzSEl4x03PRJ1YWB/XgM6Q?= =?us-ascii?Q?ukmebXn8WI5eZU1loINVslePHr/Fl7WI7f5H3CIC4ifRgK+UdqcpDTkLiizf?= =?us-ascii?Q?r6ifSgNzLPByWvmSOH2IoLDeS9VIWNKlji6MBbkQqZub0XnK8BXxH+LsbSle?= =?us-ascii?Q?VrwCxvI2E1QMPLvh9PhF1P1/HBgFVHEeCPdhO7gSidpz6Q+ORxy6Z/XKkQ9r?= =?us-ascii?Q?+SE0dZtl0/NSu9WZjMzsNZnw1n+6Sa54JrasATL+zypGCCT4BdsLiBKcXt/F?= =?us-ascii?Q?T7LN5BlOUSxMpgYBDKYAtYen/KZUxlqciRy9Pw9LsLc8W7HeK14ROsbBgVFN?= =?us-ascii?Q?XANatVnMrU+Cnvqrf3rxiCoCmNGJzTmesmCTrVwvo3O7JI+RuI+7Sw/8g6/r?= =?us-ascii?Q?VOFbmAnpyC7+v8RN9wCs6hE4X0Q1VOELwe+W/Q2+nIjP4BKT1DBAwpVCLqnC?= =?us-ascii?Q?uZPdpUnlMleaFYuPwwsi0nXRUiCeAsvEHXToV2dOHyTSOUSyeJ1II33zvPQz?= =?us-ascii?Q?rMt0yXVR25fzWK0SPWj6Vcu29968po5Dpd7MBBefXbm39OMBopGt38R8T3PC?= =?us-ascii?Q?eGfJ8ac4lkOay/U+0ARolTevbmD1gHWI5gz/2h1LTL3cOA8obW2nJdrUPn9N?= =?us-ascii?Q?6GWbM3caBKyhI6I3nM9ZKYk8rNktLIg+LF8ytCCYDum3NwoqeNMvyNeoPwJm?= =?us-ascii?Q?mKoDRIavkfT4W75oBCxlBYpuTFidMLiEDhc0kdq9+WEvukTv5LvjykjQGn9i?= =?us-ascii?Q?Qp4tnU8AS+wZYGBW2SilMbzoLq5LGC/zRMb1XQ/1b+a0WuupQmGunjhdBQvq?= =?us-ascii?Q?4/HA4EMmZTuiFS2DzG4XWZ/p5LpH80T9ZgCsXvNHvRkZVZtpM1mqwLQtLwbD?= =?us-ascii?Q?A+daDOMgC1wuNr2WqAAaFPxOTb2KnultOw9m9/qnPe/4tQXaLPSgSYteAsnB?= =?us-ascii?Q?wqxTd1zaOOxHiSA5iVnwK72GW9RUs8PJVCdm18uPsSCSdtlu2GqX62K1+yLg?= =?us-ascii?Q?7G/Llfra2vhIneg1pPpUu/ebydrvyHU1/KA5++1rR9SxdPf9p//dDLac/LhR?= =?us-ascii?Q?RiTmSp4pocr/UYvIwsl4MKwdUj300MDWqQa/Vcjg9P1/yB/XMgkcsospfcQO?= =?us-ascii?Q?gQsqP6A8JP4BAFfeEG27B35zdAW5+50ZQk/t/IAI?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1886.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d537399-c89f-4828-660a-08da8ee5e6a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Sep 2022 02:25:29.4237 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZEjHvZZm0JNC2y6S1BTPNCEj+vSPj7ADRo3an7flBctrR2T9vGFoAJtNsI9Vwv5xlqrqeWapCndsX0SYj/xdig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB0014 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Test fail. Nacked-by: Qiming Yang > -----Original Message----- > From: Zhang, Peng1X > Sent: Thursday, September 1, 2022 5:33 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Zhang, Peng1X > Subject: [PATCH v2] net/iavf: enable inner and outer Tx checksum offload >=20 > Enable inner and outer Tx checksum offload for tunnel packet by configure > ol_flags. >=20 > Signed-off-by: Peng Zhang >=20 > --- > v2: add outer udp cksum flag and remove unrelated code > --- > drivers/net/iavf/iavf_ethdev.c | 1 + > drivers/net/iavf/iavf_rxtx.c | 48 ++++++++++++++++++++++++++++++++-- > drivers/net/iavf/iavf_rxtx.h | 9 ++++++- > 3 files changed, 55 insertions(+), 3 deletions(-) >=20 > diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethde= v.c > index 506fcff6e3..fa040766e5 100644 > --- a/drivers/net/iavf/iavf_ethdev.c > +++ b/drivers/net/iavf/iavf_ethdev.c > @@ -1134,6 +1134,7 @@ iavf_dev_info_get(struct rte_eth_dev *dev, struct > rte_eth_dev_info *dev_info) > RTE_ETH_TX_OFFLOAD_TCP_CKSUM | > RTE_ETH_TX_OFFLOAD_SCTP_CKSUM | > RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | > + RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM | > RTE_ETH_TX_OFFLOAD_TCP_TSO | > RTE_ETH_TX_OFFLOAD_VXLAN_TNL_TSO | > RTE_ETH_TX_OFFLOAD_GRE_TNL_TSO | > diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c = index > 3deabe1d7e..b784c5cc18 100644 > --- a/drivers/net/iavf/iavf_rxtx.c > +++ b/drivers/net/iavf/iavf_rxtx.c > @@ -2334,7 +2334,8 @@ static inline uint16_t > iavf_calc_context_desc(uint64_t flags, uint8_t vlan_flag) { > if (flags & (RTE_MBUF_F_TX_TCP_SEG | RTE_MBUF_F_TX_UDP_SEG | > - RTE_MBUF_F_TX_TUNNEL_MASK)) > + RTE_MBUF_F_TX_TUNNEL_MASK | > RTE_MBUF_F_TX_OUTER_IP_CKSUM | > + RTE_MBUF_F_TX_OUTER_UDP_CKSUM)) > return 1; > if (flags & RTE_MBUF_F_TX_VLAN && > vlan_flag & IAVF_TX_FLAGS_VLAN_TAG_LOC_L2TAG2) > @@ -2399,6 +2400,44 @@ iavf_fill_ctx_desc_tunnelling_field(volatile > uint64_t *qw0, > break; > } >=20 > + /* L4TUNT: L4 Tunneling Type */ > + switch (m->ol_flags & RTE_MBUF_F_TX_TUNNEL_MASK) { > + case RTE_MBUF_F_TX_TUNNEL_IPIP: > + /* for non UDP / GRE tunneling, set to 00b */ > + break; > + case RTE_MBUF_F_TX_TUNNEL_VXLAN: > + case RTE_MBUF_F_TX_TUNNEL_GTP: > + case RTE_MBUF_F_TX_TUNNEL_GENEVE: > + eip_typ |=3D IAVF_TXD_CTX_UDP_TUNNELING; > + break; > + case RTE_MBUF_F_TX_TUNNEL_GRE: > + eip_typ |=3D IAVF_TXD_CTX_GRE_TUNNELING; > + break; > + default: > + PMD_TX_LOG(ERR, "Tunnel type not supported"); > + return; > + } > + > + /* L4TUNLEN: L4 Tunneling Length, in Words > + * > + * We depend on app to set rte_mbuf.l2_len correctly. > + * For IP in GRE it should be set to the length of the GRE > + * header; > + * For MAC in GRE or MAC in UDP it should be set to the length > + * of the GRE or UDP headers plus the inner MAC up to including > + * its last Ethertype. > + * If MPLS labels exists, it should include them as well. > + */ > + eip_typ |=3D (m->l2_len >> 1) << IAVF_TXD_CTX_QW0_NATLEN_SHIFT; > + > + /** > + * Calculate the tunneling UDP checksum. > + * Shall be set only if L4TUNT =3D 01b and EIPT is not zero > + */ > + if (!(eip_typ & IAVF_TX_CTX_EXT_IP_NONE) && > + (eip_typ & IAVF_TXD_CTX_UDP_TUNNELING)) > + eip_typ |=3D IAVF_TXD_CTX_QW0_L4T_CS_MASK; > + > *qw0 =3D eip_typ << IAVF_TXD_CTX_QW0_TUN_PARAMS_EIPT_SHIFT | > eip_len << > IAVF_TXD_CTX_QW0_TUN_PARAMS_EIPLEN_SHIFT | > eip_noinc << > IAVF_TXD_CTX_QW0_TUN_PARAMS_EIP_NOINC_SHIFT; > @@ -2535,7 +2574,12 @@ iavf_build_data_desc_cmd_offset_fields(volatile > uint64_t *qw1, > } >=20 > /* Set MACLEN */ > - offset |=3D (m->l2_len >> 1) << IAVF_TX_DESC_LENGTH_MACLEN_SHIFT; > + if (m->ol_flags & RTE_MBUF_F_TX_TUNNEL_MASK) > + offset |=3D (m->outer_l2_len >> 1) > + << IAVF_TX_DESC_LENGTH_MACLEN_SHIFT; > + else > + offset |=3D (m->l2_len >> 1) > + << IAVF_TX_DESC_LENGTH_MACLEN_SHIFT; >=20 > /* Enable L3 checksum offloading inner */ > if (m->ol_flags & RTE_MBUF_F_TX_IP_CKSUM) { diff --git > a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h index > 1695e43cd5..66e832713c 100644 > --- a/drivers/net/iavf/iavf_rxtx.h > +++ b/drivers/net/iavf/iavf_rxtx.h > @@ -26,6 +26,8 @@ > #define IAVF_TX_NO_VECTOR_FLAGS ( \ > RTE_ETH_TX_OFFLOAD_MULTI_SEGS | \ > RTE_ETH_TX_OFFLOAD_TCP_TSO | \ > + RTE_ETH_TX_OFFLOAD_OUTER_IPV4_CKSUM | \ > + RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM | \ > RTE_ETH_TX_OFFLOAD_SECURITY) >=20 > #define IAVF_TX_VECTOR_OFFLOAD ( \ > @@ -56,7 +58,9 @@ > #define IAVF_TX_CKSUM_OFFLOAD_MASK ( \ > RTE_MBUF_F_TX_IP_CKSUM | \ > RTE_MBUF_F_TX_L4_MASK | \ > - RTE_MBUF_F_TX_TCP_SEG) > + RTE_MBUF_F_TX_TCP_SEG | \ > + RTE_MBUF_F_TX_OUTER_IP_CKSUM | \ > + RTE_MBUF_F_TX_OUTER_UDP_CKSUM) >=20 > #define IAVF_TX_OFFLOAD_MASK ( \ > RTE_MBUF_F_TX_OUTER_IPV6 | \ > @@ -67,6 +71,9 @@ > RTE_MBUF_F_TX_IP_CKSUM | \ > RTE_MBUF_F_TX_L4_MASK | \ > RTE_MBUF_F_TX_TCP_SEG | \ > + RTE_MBUF_F_TX_TUNNEL_MASK | \ > + RTE_MBUF_F_TX_OUTER_IP_CKSUM | \ > + RTE_MBUF_F_TX_OUTER_UDP_CKSUM | \ > RTE_ETH_TX_OFFLOAD_SECURITY) >=20 > #define IAVF_TX_OFFLOAD_NOTSUP_MASK \ > -- > 2.25.1