From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0047.outbound.protection.outlook.com [104.47.38.47]) by dpdk.org (Postfix) with ESMTP id 6BE542BBE for ; Fri, 15 Sep 2017 06:51:14 +0200 (CEST) Received: from BN6PR03CA0076.namprd03.prod.outlook.com (2603:10b6:405:6f::14) by SN2PR03MB2368.namprd03.prod.outlook.com (2603:10b6:804:e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Fri, 15 Sep 2017 04:51:13 +0000 Received: from BN1AFFO11FD033.protection.gbl (2a01:111:f400:7c10::166) by BN6PR03CA0076.outlook.office365.com (2603:10b6:405:6f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.56.11 via Frontend Transport; Fri, 15 Sep 2017 04:51:12 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD033.mail.protection.outlook.com (10.58.52.246) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.13.11 via Frontend Transport; Fri, 15 Sep 2017 04:51:12 +0000 Received: from [10.232.133.65] (B10814-12.ap.freescale.net [10.232.133.65]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v8F4p7Lv020060; Thu, 14 Sep 2017 21:51:08 -0700 To: Akhil Goyal , References: <20170914082651.26232-1-akhil.goyal@nxp.com> <20170914082651.26232-5-akhil.goyal@nxp.com> CC: , , , , , , , From: Hemant Agrawal Message-ID: Date: Fri, 15 Sep 2017 10:21:06 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170914082651.26232-5-akhil.goyal@nxp.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131499246723329205; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7966004)(39380400002)(376002)(39860400002)(346002)(2980300002)(1109001)(1110001)(339900001)(377454003)(189002)(24454002)(199003)(85426001)(65956001)(86362001)(65806001)(498600001)(31696002)(77096006)(8656003)(8936002)(53936002)(189998001)(316002)(356003)(229853002)(50466002)(83506001)(305945005)(47776003)(53546010)(104016004)(23746002)(2950100002)(5660300001)(50986999)(8676002)(31686004)(54356999)(76176999)(58126008)(36756003)(65826007)(7416002)(81156014)(81166006)(69596002)(230700001)(106466001)(54906002)(97736004)(2906002)(64126003)(33646002)(105606002)(6246003)(68736007)(4326008)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2368; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD033; 1:n0qeAct6scWSCiKhKeMZM7IReO+qIZeSWx/Jqa2osYCoK0gUrUiH21ZgbL5xCw3H/nEE55vCe6cKHx4hIBEc42gD0GXFiJmRYs00tALZlV6aFy9G7rsm7uT5dZebZiQC X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7f41b2ba-82cb-4ea3-8b54-08d4fbf563a1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR03MB2368; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 3:LwpWcpVIfP5fEFZjYZ3eQUAxP8jnDCwcz1hH/0Y+EZQ0GP7K3Rvp7NzwT7VxDV+Y6pkmzhVZDVNL9lACSbngvXgSGSkoSpSCRJUuALplqquTZtSSUiCMSOWWcX3Km5lAemIQH8MdMizJ2rlS8bsCKrJOddloyGDjDSPZ6khqIQW9hu7Fk++DVIR6iGiTsRUPMH1PRJQw0Pmaasy4yWgF7iKUum973Byo8jeHYpyXUYd9Ew3sRnJISN0SrlzCEjxmDFren02vxEbm4qFvKL3HdsIqO4otNZXFSbjknQhBeJPMeFpF/iskR4NZ135sbijfqAVg6Cmkqnwa3ZFshFq5ow==; 25:Uy9e5D+Z0nVo4RP9srUFjN6k/yLwgrWXEM9WqRFA3mwvqFvgxQ3Q7c0961ezAFl3Nu8OLfbwW0noS83cR8WKMK/I4YvQsJ67xriy8F0sgBssx+tsL6IjPb8IsU2w0kspLTCLYOVq/mWyh9cfW5SIhzLpk4ae/AItndHykCwd8Yd1a6y7lPchmSx1HYbfW2emJlKJ/WdWGQmSf8ObvhqE5b0gj8a5vg0koA+Bf5VmMQkQQispPo9DheFDm8FPKtGlr2BnhibBupRzLVz4g42lUry0YBxaQMrMwwWUC91TEG10H1dtnWPufRQvP9qMZrfDILI1ianwlB3PAA7ZNO/LMQ==; 31:Sl9lX7Dc6S9lJ1GEc0lJxQ5UwGENAxB6h4SVyfCZE1+abFzWTtvusPFrKQgccftv8SqHZBYOtu0a7bmALlg/k+oDXgQC5bbPORg7fZ/Jmzq4xKmDvp1OGA35jlIn6BnVDIwwIKt7kbgDbHGVI/Xw7Qr3evn1IRLXln6TyYHh47OPEeRSwm5vhcN26fJ1ulv9VgmVFn/pMnxFN7C22I1c+8ymcz6dj/YxEq1M+zzLmJ0= X-MS-TrafficTypeDiagnostic: SN2PR03MB2368: X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123565025)(20161123556025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR03MB2368; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR03MB2368; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2368; 4:42cwmTRWsmhuetvzbrsKAFlr1Gb63KMVYBG7Exqmj6/k2mMcTiiuPo7pNgugLE4OGiyyqniVaQcWiuItM2HXZCvtQl8vWrKgSUT5SwoambcgUXyuSD0/AdneRqRki38F0C1958DTumPBwgm+d7fnqJR/ESwC93UoC+Ahm/23ES4/4qKi/E70cmsjZxRrWrxYUNWniqZann4AyXZcWokGu2V06SaR364wsr5QgS7iQsk4KI8ktR+BRzpHXSIKdRVL X-Forefront-PRVS: 0431F981D8 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; SN2PR03MB2368; 23:r/wLabPgp0t6fWrrkFH7rijiCsgUlgm8YBK1j?= =?Windows-1252?Q?f3opBX6xn7qw8GfhtwIPRMyw8erjwA+NEt1oziqUBAWixSjlMjci33xJ?= =?Windows-1252?Q?ArgyuXlEnQdFPgerkriUqy7ttMtXqIOPij8BvoUkXIdTYNCnNQX74v6p?= =?Windows-1252?Q?BM8BSgJ7CCrYsrFHnjb23hb/Km1744eQ5fVhjlL2WF9dTko8ls7Kf7hk?= =?Windows-1252?Q?MPdXk8E09+KfyeviW7BGmTChRTwvCyknxTmFrJJ5erNIPxZdnim5Q5Lj?= =?Windows-1252?Q?MqZ+/G2kq44aI5RUCOqXB31FSjaHcAMHgSLJFD2eL0wbvNqQDvMXY+hp?= =?Windows-1252?Q?iXZEV4DEGYB4vfg3duwjxbf4xDHeTDtBkTK0xKMmSKrCr3h4YByQwzn3?= =?Windows-1252?Q?vVLoTVOnokYvV+o/0Uqe8xecyB2jLKcaGXD+czqKl9Pb79D2zshNAT4H?= =?Windows-1252?Q?h4JNWNqU/6Ua1z7NzJfa/VD3cdNBhp2vnrB1ySHZo0tEQzxFBgzLrfAu?= =?Windows-1252?Q?RTesdm7NDuWAGWhNJ+6Gcklpzz7UOvYA99fZNvmzguYaT9haNGGjeMkF?= =?Windows-1252?Q?uffsFKD/6Ylj84DnUgXtx4KcCVtFgUBzGygD/hGh5xzxmGSZjBBwlvMo?= =?Windows-1252?Q?5qhXmxkyNpsjIJuNaWJzYZaXDZ/WYiDJAzLORy/eE7c8p/R0bOeh2oxU?= =?Windows-1252?Q?H7k+y64m69L80fLFjH5sqWBi3/w+IKYzdzCOi1u32Fbek1FYieGUH4XN?= =?Windows-1252?Q?0DEuHeLCwW4cTvy6eeLG5w0js5GBX+2gJ0W7XSgrIRcGf58QRa6Vrs/H?= =?Windows-1252?Q?a3xhEf7oSKfVDFQ+rv3aZIgV9ynwBF7IySUQp9HaFnKIBbCMTWfJI/jW?= =?Windows-1252?Q?eMsLjRjyDCLu6C4vZ0OopUcqdo5Ftuj1SCj/hKR6QdYo0y/wxFUOOLO2?= =?Windows-1252?Q?YvL1MtMlcCmT2Ook7EpVqveBtJpgm4ZBmCQ7UKBU6TCgMCHkp1H2pj1f?= =?Windows-1252?Q?8ld0onxZWss87fVuEuKflUaMG2e4MTcfisNJL0uNDCjLU1qfD9Wsh6OL?= =?Windows-1252?Q?Nxv3lEoH+hU4o56b8TkaI1FosgmrODUstUS5UovPtwUrScBvtFlWIrEz?= =?Windows-1252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BYdRV0gKg/EPpMV19uaHX00ImN8cU7x8KYv97CldVQHbGrmeR2RX2mRb8LbZAwc/YR/nOwJ/X1qwF/CVD2Vg3GEIP8J8xAaGErsC1dY=; 7:RHrKuGDuPI2DXbAB8LAXh0EXr1I6sTmOOs8X9oSybjdTvH6VX8B9AgNjkHecFgQxOFeNiJDTIGv+/vRwgNLbnqpzLLpinrCoyEI9gljRWUQnhVasuCd8U7NyeOHk+2K9N2jBdfUFfKd0m+lFakMXUXV0SYdZTpwLPJwgKtLJchm16tvdPkbep0Gmg0uD7UvDC6B0eJrsL0LFZW6jk9fhhKOsY9CXPPF/b0tDSG/Jgjg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2017 04:51:12.0365 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2368 Subject: Re: [dpdk-dev] [PATCH 04/11] lib/librte_net: add ESP header to generic flow steering 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: Fri, 15 Sep 2017 04:51:14 -0000 Hi Boris, On 9/14/2017 1:56 PM, Akhil Goyal wrote: > From: Boris Pismenny > > The ESP header is required for IPsec crypto actions. > > Signed-off-by: Boris Pismenny > Signed-off-by: Aviad Yehezkel > --- > doc/api/doxy-api-index.md | 1 + > lib/librte_ether/rte_flow.h | 26 ++++++++++++++++++++ > lib/librte_net/Makefile | 2 +- > lib/librte_net/rte_esp.h | 60 +++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 88 insertions(+), 1 deletion(-) > create mode 100644 lib/librte_net/rte_esp.h > > diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md > index a3d39fc..23bafbc 100644 > --- a/doc/api/doxy-api-index.md > +++ b/doc/api/doxy-api-index.md > @@ -107,6 +107,7 @@ The public API headers are grouped by topics: > [LPM IPv6 route] (@ref rte_lpm6.h), > [ACL] (@ref rte_acl.h), > [EFD] (@ref rte_efd.h) > + [ESP] (@ref rte_esp.h) > > - **QoS**: > [metering] (@ref rte_meter.h), > diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h > index bba6169..ea08af6 100644 > --- a/lib/librte_ether/rte_flow.h > +++ b/lib/librte_ether/rte_flow.h > @@ -50,6 +50,7 @@ > #include > #include > #include > +#include > > #ifdef __cplusplus > extern "C" { > @@ -309,6 +310,13 @@ enum rte_flow_item_type { > * See struct rte_flow_item_fuzzy. > */ > RTE_FLOW_ITEM_TYPE_FUZZY, > + > + /** > + * Matches a ESP header. > + * > + * See struct rte_flow_item_esp. > + */ > + RTE_FLOW_ITEM_TYPE_ESP, > }; will you please also add changes for rte_flow documentation in prog_guide?