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 D523EA0C43; Thu, 23 Sep 2021 14:59:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 616FA41260; Thu, 23 Sep 2021 14:59:21 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 2832F41257 for ; Thu, 23 Sep 2021 14:59:18 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10115"; a="287502999" X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="287502999" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2021 05:59:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,316,1624345200"; d="scan'208";a="550962980" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by FMSMGA003.fm.intel.com with ESMTP; 23 Sep 2021 05:59:17 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 23 Sep 2021 05:59:17 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 23 Sep 2021 05:59:17 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 23 Sep 2021 05:59:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M/mBHS6AWF7l1q05pescmW9J8A5DJxAuyrHYQZptyR540Jsr/GNprmIOrvgYNxCCx5nPLeK9WnDtSZTt8Mkqan2iXUYTccZZ56z4xKrAYyqqd4helPfSrWFqw6eENxl3+tkB35qjb8IASx+RH6ldHKCl1GdIDSVeoUfTNSeo5Fdd6Mwnnsl9CKx1CQPNrnD+TxG99w1UcQmSVTJof2VaxKzbfeo/xHjPRD3OCiNJIaed8ONpASRDPqnDb+XSOa3ebv7WL3g/8m/bzrJEfoEhfNiULJuTk/1rqW9YW01YEiMphvOSHGMUI1XHPSkcaIMw6SZ98kzguJbZRFWblvuZPg== 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; bh=eT/aY3229hh7Qji0gb6dXBCXYMkypWEeyDHRxtEUmAo=; b=helMJDYA7NztXIa1cZxfBdp2QDmE6santwnYRgBj4KHMJPry7iwijASom0S0nACNIbQFg/9B35UrXpX/Ciz4FKw55UM3RvP0ZKPMjqKFpf3UWS8eCeOd/TOAULPHS9snJO1Uo+kzgzy6IG43BXZi27AakYsno6wtTdgTmuGop2GbcL+OpdXotFQGWstbuUYjshpfLNTI3MYkiuyHV/tY0iKqX49/8xtHEP4l9Un55pAFeEjui7GeGBYmeA5pQg7sasckZTruoesOKEzpDUsj/+QSO04LB9B8hkQCaClK8LtIivOtH6eoNmat+sppXqWlcEuhJUi1QANbVv3yuwEC3w== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eT/aY3229hh7Qji0gb6dXBCXYMkypWEeyDHRxtEUmAo=; b=kU9XkDPk+4FhlgzJqJ4RJNMHy5Gr9/zv9Bljaj+yqybPbyialG9de9Jo34h1D/yGQoE4W/8cudGyH1Ufj//xUMJZuiOwo6McG4GwnXVtwdXF0TCBnDkbeP6Dn5iOPpB7k2bfApghlajoNvbAXsdn1lEmQuBbmFTtaSL8qvKO9Qw= Received: from DM6PR11MB4491.namprd11.prod.outlook.com (2603:10b6:5:204::19) by DM6PR11MB3466.namprd11.prod.outlook.com (2603:10b6:5:e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Thu, 23 Sep 2021 12:59:13 +0000 Received: from DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::740e:126e:c785:c8fd]) by DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::740e:126e:c785:c8fd%4]) with mapi id 15.20.4544.015; Thu, 23 Sep 2021 12:59:13 +0000 From: "Ananyev, Konstantin" To: "Nicolau, Radu" , Olivier Matz CC: "dev@dpdk.org" , "mdr@ashroe.eu" , "Medvedkin, Vladimir" , "Richardson, Bruce" , "Zhang, Roy Fan" , "hemant.agrawal@nxp.com" , "gakhil@marvell.com" , "anoobj@marvell.com" , "Doherty, Declan" , "Sinha, Abhijit" , "Buckley, Daniel M" , "marchana@marvell.com" , "ktejasree@marvell.com" , "matan@nvidia.com" Thread-Topic: [PATCH v6 04/10] mbuf: add IPsec ESP tunnel type Thread-Index: AQHXq6YRhp2TyuAjSEWSpE0BsYgacauxnWTg Date: Thu, 23 Sep 2021 12:59:12 +0000 Message-ID: References: <20210713133542.3550525-1-radu.nicolau@intel.com> <20210917091747.1528262-1-radu.nicolau@intel.com> <20210917091747.1528262-5-radu.nicolau@intel.com> In-Reply-To: <20210917091747.1528262-5-radu.nicolau@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 84f42707-9ab2-44c4-00f3-08d97e91f11c x-ms-traffictypediagnostic: DM6PR11MB3466: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4y+tB2OjJIyqaqhjW+mu4N5mSQiadorBWSdAQpEfnMJ4PZEhCvki/tkBCyFcFvOLd7gsg+VBDa3BH4BpcnmAbZYzwbHR7UKOq3+WiB5oKez+Avw1zuNj9sIg6dbcYR4pH/6qOzZr265nf/HP9zvoQdcGBu+C/ZU4nrl2aFlp8ihcGXwf02BiNYrLPc+32PB2kS5trby39vvqQlL2nBQPTjoNERjeg5IV5Osjx0zB7scKaovXEB5q825+XlA1mPW3Xjv1JI1vMwzCjFh3Lj00t9GoCVrut664IvAP3TUKw/FGWbOBUmY1VWfNjyRKx2jHidUzxqvFXKA6zaTVEFj6lXZQCSxEeMZGzW/kSZ5gXJUqV8SCEJvuwzxiSvX/3bn7xU4OBjVbtklgrGqkCX9X51NeaQFJLjoP8A4CY4wXqArFcmzamRFcWQJyhswepC5niAup5OEiPOn49jbm/Uj4HO4cPG50uXA6sO2Dy3mjaQ+EhdQmmnVDJYvUVdzqxnsl1k/MS8PHtz7HE+frXB137pQPwM3RBsDlUO9k+mgpFUpX6ctKgvBxVLyjSPwM5nbqGh22EK5FlkRk+sVR4zBIKZoYKB8Tz/dE4Zuebu6EJKbiAuVBNl6D/opFMfmzYEIQ9qjunsqZ9neMdIRpJBitW6+3dcFBtlgcfK2L8MOiDNqOK5wjpdWbwgOobrutLcZK3dKA3ErMPVxavudm2meWWA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4491.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(8936002)(110136005)(71200400001)(55016002)(54906003)(38070700005)(2906002)(33656002)(6506007)(52536014)(9686003)(55236004)(26005)(4326008)(316002)(186003)(7696005)(122000001)(508600001)(66476007)(64756008)(66556008)(86362001)(66446008)(38100700002)(76116006)(66946007)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5uLD+psSjANez/DlBj/Hhby7eniZjtj7PQCn/lShTqX/r8/2Wf3+dVSgnWHy?= =?us-ascii?Q?jg+gi9szvZkR2mRyY04l5E6CM4v/3ydKD8FkUEmIWIkT8nM0wymjF6uPHAbQ?= =?us-ascii?Q?0bC3dTkJMxuRR70S8NsK3KtW24qRet3ytg0A0uHaujT0fjO5ZWrPHtu+na+q?= =?us-ascii?Q?eusiwaVFw64CVy6lHCxAhFiYPY0PGz1FgsBr4rz3NGW9enhhprSWVy5RWvdg?= =?us-ascii?Q?vsI0MVPN85YaeaHagFtBeOunR49ApFkuMRZfe/pGHjrbTBDijlgwn0Vkg+fX?= =?us-ascii?Q?8YnpTd2lri/tGuVxUSC7jhgxByanktLtyE+ewAZZCT9Q5hqNWrhLodeSrvOu?= =?us-ascii?Q?E7b5Gbj3RQlcv7kHUeUMmBtwHISXkdPzRo7XCMwgcq0WzbXNDqb5oGbDA+Pj?= =?us-ascii?Q?8fi0FQRMC7q8SIPoOWKbOBvCYer1wzWW5SDdX0BzVeRlHT02uNUZNar+28Zk?= =?us-ascii?Q?R3q/X/b/3yL4npVdEK7neVbajqC8F1C0F1o/Spt4JYcPvCXVMWLKgttP/JlL?= =?us-ascii?Q?Ajki/LV7IGGD9ltUD6byTxTHEypCv0OeNJ6yu+RzYAfBHPTikIto2Jaib9bp?= =?us-ascii?Q?FfOkMYyh7ZQ570et8qpxUyxz+8Gf/bOzBBQnvQNsDKDoOXdtFvaR+jpuXh6T?= =?us-ascii?Q?+oAQj4Z6/A8PSoaxeNe5bWp7/cCUN+2KJxzDu2xUH1Ua2Hqs53oIzjbjSNNx?= =?us-ascii?Q?lpb5FKspiu4j5gFkm1TwCwxBnlqPJKGT5G6xJbugbyABYEUSJjewxPq6EkTa?= =?us-ascii?Q?vdrFOfu4g26OmEDpnV4BAzqO2aB/ZDHrNK2T/cicC09ee81i5v2st0L5fnHJ?= =?us-ascii?Q?VmnQk+sB8pdvsBR1IipozmZ0HRD11SPSbyfn5V1J0vh4z8yotAcFknUNVzy8?= =?us-ascii?Q?0P0HdwIKO1ida3qz61MDYiaqNWuFCvNsIgxY0HC7GdNfKqS2xcW1clwPxd4X?= =?us-ascii?Q?W20J1dzjXFCNaxCHHeubnR8Sb2xbVjQiXmvaQHwKwXXoF7vkIEIsERNZR1aN?= =?us-ascii?Q?3jzl8hl/liEtULzxsFwTLG1UUVPq5Tet/Bu79QqoZh71N7YcliP1/DnTXtg2?= =?us-ascii?Q?DgiiRjaDRJO8Kci1le62UdNKXHXoqIrx/DLTZKtr4mN6Y0ffwYjRiOborr7/?= =?us-ascii?Q?Lub7yBoDqC73KtC7X3tFLguS0tKcK+jcr7WBR7X6aktHJ7K2EbO58psTe1Xd?= =?us-ascii?Q?OTrZs2kOqx1Wdf9vNniRUgz69PIpK9eD1lb32MNUVLpO2EENDBpQJJju2pii?= =?us-ascii?Q?2StcZflZBmfMK3C+p9Lg3PwGcy1LD4rmfr2ZYJco6Xn5nrWO4D1b8/A3g2rw?= =?us-ascii?Q?c0ygzdf6DNasYd++ENtxo2oZ?= 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: DM6PR11MB4491.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84f42707-9ab2-44c4-00f3-08d97e91f11c X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2021 12:59:12.8698 (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: PXsD0mdT3NR0wePQSKtJpNyColaCWmDeokEYMgZb+O33NoBOcZTxiczugdIdE6XkJcXMKL7vGgAK+2Iq9papohQa6R6BXmSwfYkBzvK181g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3466 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 04/10] mbuf: add IPsec ESP tunnel type 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 Sender: "dev" >=20 > Add tunnel type for IPsec ESP tunnels >=20 > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicolau > Signed-off-by: Abhijit Sinha > Signed-off-by: Daniel Martin Buckley > Acked-by: Fan Zhang > Acked-by: Akhil Goyal > Acked-by: Olivier Matz > --- > lib/mbuf/rte_mbuf_core.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h > index bb38d7f581..a4d95deee6 100644 > --- a/lib/mbuf/rte_mbuf_core.h > +++ b/lib/mbuf/rte_mbuf_core.h > @@ -253,6 +253,7 @@ extern "C" { > #define PKT_TX_TUNNEL_MPLSINUDP (0x5ULL << 45) > #define PKT_TX_TUNNEL_VXLAN_GPE (0x6ULL << 45) > #define PKT_TX_TUNNEL_GTP (0x7ULL << 45) > +#define PKT_TX_TUNNEL_ESP (0x8ULL << 45) As I can see, that's not ptype, that's TX flag. Could you clarify what exactly what flag would mean for PMD TX: - what is expected from the user who sets this flag - what is expected from PMD that claims to support it. BTW, would we need new DEV_TX_OFFLOAD_* for it? > /** > * Generic IP encapsulated tunnel type, used for TSO and checksum offloa= d. > * It can be used for tunnels which are not standards or listed above. > -- > 2.25.1