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 8098DA0C54; Fri, 3 Sep 2021 14:50:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6685140E78; Fri, 3 Sep 2021 14:50:06 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id DC4B140E3C for ; Fri, 3 Sep 2021 14:50:03 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10095"; a="241696761" X-IronPort-AV: E=Sophos;i="5.85,265,1624345200"; d="scan'208";a="241696761" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2021 05:49:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,265,1624345200"; d="scan'208";a="692189996" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga005.fm.intel.com with ESMTP; 03 Sep 2021 05:49:55 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 3 Sep 2021 05:49:54 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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.2242.12; Fri, 3 Sep 2021 05:49:54 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 3 Sep 2021 05:49:54 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Fri, 3 Sep 2021 05:49:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IjsrsqkenCJgoYXKdQ1QOz+DYK4I0MNn22jbhbUQDFCNDhbhMGHIBnYCN3OTYD/Qw3djJ+jt15KzLe+vOFFEreD3Ba0+2gKlvVr/DCsRZsfc0mo+8RsuY+KHe1y+2paohWjBPNmLsU55UnypSy1t4Zol2FO5V1F5sa2sHgtsg5CCivS6tMgQyAiMZdZzu+NsbVqxwh0YG3UInf/XsSZH1bafTmRJBrWCyEBnCmC47Y7V2uS0Tf12qjP79Z4ZodFdjdw9EbgR9ug2mmeTsdxMLxOqh/3DcDeHAs+mpjwqtGdVxOIFD5WOQo7dAKKRWorHd/F4Q22u7uWgGVX4KqHeiA== 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=ydVKFWKgwOSIv1p52PwpnJasDdtzOi/Cgbuz8rwxkwE=; b=iGum6kpkoAhDtK1ENtxfdco53SD9nMehNeFyNDC2x9+65Gdw4YKre2zjLdhAUuUEwndHkfDviob8XjvtouIg0GhmSouh8a3HOFhzz8e1bvJS8J9/GuoRlujJbMnYGPcOrtXelrwDTpakif7gS5K2xa8E7B0eWK7Dtn/qCNtOpYr2+Ft1+IFSOk0VhqyUjcZ/Z8LCVJ88Z4A2r51YsR4aSv5uxF7MbonK41Ay+Z4GSyLtSGOvLhy8ryudbFjgRRm5Rgpaq8MA8bK1hhVHbNEyILbRmxKmPmsyUE/WeRu0cWxvgcYvbFm6oSVEHpgjelYR01vS6r07nMSC+hQmba8ZzA== 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=ydVKFWKgwOSIv1p52PwpnJasDdtzOi/Cgbuz8rwxkwE=; b=kBCKYANjUouCxvM+YdCRkMb96PVj5RtZ8QQW8UNhdI6u9v/zZvU4iJw0RxsMKcUU0yHb9dzInjeF63UVQnjkqrYJ+z/tT0Qskjs7dJHspcWV9E5+oMh+K7ium0eqzVIHUtKvlNup5QSD8WAn9TcyWPa8181D4VXFKr7rjXQBPCY= Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19) by BL1PR11MB5365.namprd11.prod.outlook.com (2603:10b6:208:308::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.21; Fri, 3 Sep 2021 12:49:52 +0000 Received: from BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::3ca9:5da5:8b6e:ad0e]) by BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::3ca9:5da5:8b6e:ad0e%5]) with mapi id 15.20.4478.020; Fri, 3 Sep 2021 12:49:52 +0000 From: "Zhang, Roy Fan" To: "Nicolau, Radu" , Olivier Matz CC: "dev@dpdk.org" , "mdr@ashroe.eu" , "Ananyev, Konstantin" , "Medvedkin, Vladimir" , "Richardson, Bruce" , "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 v4 04/10] mbuf: add IPsec ESP tunnel type Thread-Index: AQHXoLdwNGzSZQX/2USzWESxkA7FxquSQtRg Date: Fri, 3 Sep 2021 12:49:52 +0000 Message-ID: References: <20210713133542.3550525-1-radu.nicolau@intel.com> <20210903112626.304692-1-radu.nicolau@intel.com> <20210903112626.304692-5-radu.nicolau@intel.com> In-Reply-To: <20210903112626.304692-5-radu.nicolau@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.0.76 dlp-reaction: no-action dlp-product: dlpe-windows 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: cb152d01-03b1-4ce7-7519-08d96ed952b6 x-ms-traffictypediagnostic: BL1PR11MB5365: 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:2150; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iZSy0Xtb+ogCmPfJpi8UCP0ggCq7Z+rjFztcu0lvisJuPyWDNVNUj1wWtbuiwHEyfGAe6nRETcT5/P9Ebyhji0vOPRR1Q0L7sxuLAwGmsTmRZXRPe+TeA8CFAEPrHtUCt4D71FrEaxLVNaDmLxeMzGlBB2wKXqgRsztYHo02TWP5gpFOASzPQXImPW9D9hDDvIYzkBSeGCbEdTdQZt/XAnrdJoIFw/PKX3Lm4hgWOeiROntjaJ0hUci1N1l/o5v6RTbb4fBctT8KeykTi8MayvDOPgPbg1UmOIo25C1xQvoDIFAYR2Ifma5zTK3SpJ0SUMxB7xiey7Rqa33g+U0URPXeMPnPRJs1++nl644Te3gNpShu4aL7v+/RHXfK3UdzMt7v8BXzvIJtEq4AyFoj/X2aPNCdLF2A86JgTBO9IUQo7K1weRmbXJyTavZOqsEaqosFKk7sZSlepZJ9djphs8eeZVhqaV74Y1HMmVUYns24izEdbqKF+Mwa2zML8YCPt9JIn/15scaYwvYq88kBuCTPysWVVGXlecDZCFPCNjIxrOqYXazAeHhuHByEkwvNIf1X+KPzxTIXd7iB9zYegYquLAC/9eZekfqjUdmAWIxtn3omoEaqq6G+fH5zQnlHYET8YhvG17DHfdDaF5Z5lKQR25nq1Kzggqf2REIK5VxGi5bKmAsrHM2DeW4aXTavg58CbPFcy0MGeDQwx9zxZg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB3043.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(376002)(396003)(39860400002)(366004)(316002)(4326008)(110136005)(6506007)(66946007)(66446008)(66556008)(66476007)(53546011)(64756008)(5660300002)(54906003)(26005)(478600001)(71200400001)(76116006)(8676002)(33656002)(52536014)(8936002)(7696005)(122000001)(9686003)(55016002)(186003)(38100700002)(2906002)(86362001)(83380400001)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?ZzF0NhbrvR2DVsPhwxo5fw8bbKvhOMshz8uVAX5e493oyFC1U0ohtUaC?= =?Windows-1252?Q?yvZtdM9fkW6uWYT3pqm6mLc2aXcIWzZNioO+7EvF+REIPaZSHdHIbkkF?= =?Windows-1252?Q?wGKX78nO3zFfnnDGH/clrYjm/V6SnOevlz+3K2uZmNm2II6Nx31aG01y?= =?Windows-1252?Q?fPnCjUcA2Mq+rx8mNyvm4SSZ+GEaaYpj3mw+PpAbb7pjSTZKbqXj98M7?= =?Windows-1252?Q?2MGg4NZKGpCnIfCXISbCEUT6B6DhwOzhxvlUVFUIf1BuINWezwbY9zsS?= =?Windows-1252?Q?NZGcQBWwWUvNA3LwGxSwvQVfl+jA5mf9SxFAOHpxzGz6NGKJW3OspCH9?= =?Windows-1252?Q?qoDRf/ehtUe3NxElnHvZ55qP0/olF9C2w0XeQjBrhovv+Yccwk/I/phs?= =?Windows-1252?Q?aDAyE2SUWUSyGl4umjiwW8VDnTKtLX0GDZIUhrgzaLn7d7YnoEfyYNrW?= =?Windows-1252?Q?f/ptJbDvloycTzYcQLDaOSP8Bq9/FvLmXVdP4jxSLrHQyAko56lCn7dg?= =?Windows-1252?Q?Oi/TgX5X2n1nPIKG5KczeRRR6kQw9d2hF3v6pEFgKq/598iuTiA77jx9?= =?Windows-1252?Q?L6BEj4J4iMm/0iSUfh/bKYvJINN18yAgo+d7a7T+I1lrU+DHaEYdv4pf?= =?Windows-1252?Q?IkNpRTpChlZuEZVV7+oTIaAoUNVm6kuJRbgWWYw2nWISeTLvZePmTDQZ?= =?Windows-1252?Q?giBjvEM5xwgDOTqZ2nDyG0gQNzOttgibBD4H8PG0Pjh7bBb7ZOvfP2n7?= =?Windows-1252?Q?iN+EvxMQqVJwX60RAI4NIrw1IdfTo+++zqMyTY+sgX/2XXrxXe4hfU8f?= =?Windows-1252?Q?eadwctzLiKY1npmC63yOxj0WPRc3QpV0kPArqrO0ai9yjjPr2UtYBe4D?= =?Windows-1252?Q?p0FAjStq8Mc4rLAkj8Np4OPd5cRewkfPASTjPgnn/Z9ThrdDNSWmJRh2?= =?Windows-1252?Q?/Rj1ZR+akkx0NnqyvMI8VLv+Fhhh9JpFZ1+0kPViANM/wFngQzwn/o08?= =?Windows-1252?Q?61FHHlS4C7dDzgvu9GKj5xJBStGaeFnaM3doGu2aIm1kHPLYZoQyOMdI?= =?Windows-1252?Q?isA4m4DSmS7bXxgopjGVGjFQBm/GiPcYkxpXS2jFJyeCeaQtECX6IaZc?= =?Windows-1252?Q?yxFwTUD9PbDXX7uWEmhP3QI5fSheG53DokYYrYVkUAXl7EdpbTI4LZJU?= =?Windows-1252?Q?6OHCRY0V3K/x7OX4O6QhyISjpXIpBspSTF7cB4yVvt64ZoV3VNukLap8?= =?Windows-1252?Q?LaIwUwJX0ntMWujEDhyHNqnqqj0eEUlLmuFwHQ1S20Z9crhYkkgWf9RR?= =?Windows-1252?Q?Oxx/tQaQ3W1rhDEn5rbZj9Grv9uxqdNB3MvzGEd092kFZ6wbYKJTyCmb?= =?Windows-1252?Q?QcbzKG15Ryek6a0oeM0kt9DC2gQBl1ROboEY4KE4rN4rQZsdBNICnidi?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3043.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb152d01-03b1-4ce7-7519-08d96ed952b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Sep 2021 12:49:52.3694 (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: lwy+tyOhXhHLsbyGtRyvFz2kyuvulCdW9Pv7QvqOY5fpUneqGqoSafQyX2KETbOc2VOOBl8bbsv2UGr7g4VbvQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5365 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 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" > -----Original Message----- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Olivier Matz > Cc: dev@dpdk.org; mdr@ashroe.eu; Ananyev, Konstantin > ; 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; > Nicolau, Radu > Subject: [PATCH v4 04/10] mbuf: add IPsec ESP tunnel type >=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 > --- > 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) > /** > * 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 Acked-by: Fan Zhang