From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BD2B0A0524; Fri, 31 Jan 2020 14:39:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B4D41C0C1; Fri, 31 Jan 2020 14:39:12 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2065.outbound.protection.outlook.com [40.107.22.65]) by dpdk.org (Postfix) with ESMTP id CEE6B1C0C0 for ; Fri, 31 Jan 2020 14:39:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n+x8mfoMoC022jWwr/1YllCZXwjglwqSHKFEUC5BeL2pHyBeDqPKheSifWPzDhpO4FFwXqd84eE0VMXmlvZUGt5la8gI/T1inBkgZ1jS4TAVnHrZ6bNnl8tvsGEPQcxxqm7OjRc2lFKdaIZP1U9APUjA4yFEuK4dDBx7PA0LhoBDo0YvyR/62ysA5ax0o91EXZpgSxn0eJiymJS3UmjCnsU+OiseL3+qOTeCzlnly4HcsKHeFwBBkApbX40qgwnpL19WeG4e1ilrZ5gX13ld490lDAsJCk4BduehtYYjuxbzGehSkNLH6TjfX+XdYSczsfYujiDr2UicNXQnqSf8fg== 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-SenderADCheck; bh=rRLAWhkKPvW/lnZ9xY18LX1kfHUNRUm6nRvMCYwG/ws=; b=ctyWyHPjM2JyMpHl4Pvv0mx8zWLMu/t5xLxMmle331lVvHxEq2quHqgo2XOWk6o7tX5Vbpqamu7HDROEMez3oAQCNnu6BQdwFvjc+HvdVJ9LtPudk4kkVKxHZTC2plZAOo7zD9UMuFlUnjLqP4g6rgA4w2ShsJ7cumn0B2KPMC5dmKaaAXhVsp7Qx+feNpcYIfOM3+lTXlO85FEAfYLb5XYVMsSoOqaLc7eTJn+SvzJ6kGo3aESt9C55Q9DdPEIoharG7rv2BH2SmvsJjryKbe4k3rC0opqNYkDkBIBflMOaLJWLgBxfrBKrJAujlr99jqEfogjCMzdCtTjJRj9ihQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rRLAWhkKPvW/lnZ9xY18LX1kfHUNRUm6nRvMCYwG/ws=; b=jOsJ5gkunGORiCB2Wz3QfuG3Yddwb5NBBZMkP9mRwSxxGtShTl1Havg1s26w7rJdXUcspv9EA2Zs2PDFnFzpdLUuFflHR0gYwK+sxHRpo9ntpNz6Pb7l1ZsfLQMgGoRix1vkVocEiSwdRnMgT4stfGDgYtI74/Xu/FmT29w7QOs= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6736.eurprd04.prod.outlook.com (20.179.235.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29; Fri, 31 Jan 2020 13:39:10 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1%7]) with mapi id 15.20.2665.027; Fri, 31 Jan 2020 13:39:10 +0000 From: Akhil Goyal To: Anoob Joseph , Declan Doherty , Thomas Monjalon CC: Tejasree Kondoj , Jerin Jacob , Narayana Prasad , Kiran Kumar K , Nithin Dabilpuram , Pavan Nikhilesh , Ankur Dwivedi , Archana Muniganti , Vamsi Attunuru , Lukasz Bartosik , "dev@dpdk.org" Thread-Topic: [PATCH v3 11/15] net/octeontx2: add inline ipsec Rx path changes Thread-Index: AQHV2B35jm/UBJNR4kSH/B62I7UgiagExqYA Date: Fri, 31 Jan 2020 13:39:10 +0000 Message-ID: References: <1579344553-11428-1-git-send-email-anoobj@marvell.com> <1580465035-30455-1-git-send-email-anoobj@marvell.com> <1580465035-30455-12-git-send-email-anoobj@marvell.com> In-Reply-To: <1580465035-30455-12-git-send-email-anoobj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.72] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 272b982c-5198-4046-6fb7-08d7a652f41b x-ms-traffictypediagnostic: VE1PR04MB6736: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2089; x-forefront-prvs: 029976C540 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(366004)(39860400002)(376002)(346002)(136003)(199004)(189003)(8936002)(4326008)(5660300002)(33656002)(316002)(81166006)(81156014)(86362001)(8676002)(186003)(54906003)(9686003)(110136005)(6506007)(478600001)(26005)(71200400001)(44832011)(55016002)(7696005)(66556008)(66946007)(66446008)(64756008)(66476007)(52536014)(7416002)(76116006)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6736; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mEKu0V+acjmZhXkjlpxI7BvWFLkCLJygC71gwAgAyme3BJXbt8ztcjBEgwLgEc3mk3wCwbx0OzV90deRpvhMVROM3CHAVV7m9wuV8i5oj7wKlHPWceyVeQGn6YKDUZiqGEU+nP/j20h7ULeoK9DTDwmzYy+SwtmSpJw846PKyq8LqonZSgHWMmciiy68tBWE9wgaZs69dcA9mIFVTl5QXOBg8JzyLzD/lBI5KOJRfqzHFT2iTr2WDgOuy2HC7H6VdjEGLJ8zK5UK2E670rVZvVxSXHK90sQG7T7EDRavUYsUHYdpo1zKR+wAt19utIbXbiPxWzWZM7ZnOWTYYeSzQgCB4f1lim4SJJUoVEYzbYreQSQzbF5CwsYRRiP8ZP6dssPRUD42oP8YcR5zviXAUi65yx5snZOCcewwrmTU29SXt8wyrvWw8xRZHRu1P+WK x-ms-exchange-antispam-messagedata: 9jst5BG7gqXAAu1KQHv5R5cjBFmRmJlQ4mOzdo+KMFOr3A/4psNeAqyOkiPXu3VVMTLbHk9fX5HXLcJK73yhjU3UPyYbikr0VuJO/w0mpJSIL+o6vxW/GyP3OIz67b247slsu+He7IjJHx7HOKF4gw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 272b982c-5198-4046-6fb7-08d7a652f41b X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2020 13:39:10.7593 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DaLI1SF2qIyZvIfNwShGCLLB0X+Z6JXwKZMRmkVYbr6ZIv5YFDOHXzwETuWyqsYTI50G0Zaj1liaZUwgYioi4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6736 Subject: Re: [dpdk-dev] [PATCH v3 11/15] net/octeontx2: add inline ipsec Rx path changes 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Anoob, >=20 > From: Tejasree Kondoj >=20 > Adding post-processing required for inline IPsec inbound packets. >=20 > Signed-off-by: Ankur Dwivedi > Signed-off-by: Anoob Joseph > Signed-off-by: Archana Muniganti > Signed-off-by: Tejasree Kondoj > Signed-off-by: Vamsi Attunuru > --- > drivers/crypto/octeontx2/Makefile | 3 +- > drivers/crypto/octeontx2/meson.build | 2 + > drivers/event/octeontx2/Makefile | 1 + > drivers/event/octeontx2/meson.build | 2 + > drivers/net/octeontx2/otx2_rx.h | 73 > ++++++++++++++++++++++++++++++++++++ > 5 files changed, 80 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/crypto/octeontx2/Makefile > b/drivers/crypto/octeontx2/Makefile > index 3ba67ed..1458e2b 100644 > --- a/drivers/crypto/octeontx2/Makefile > +++ b/drivers/crypto/octeontx2/Makefile > @@ -11,7 +11,7 @@ LIB =3D librte_pmd_octeontx2_crypto.a > CFLAGS +=3D $(WERROR_FLAGS) >=20 > LDLIBS +=3D -lrte_eal -lrte_ethdev -lrte_mbuf -lrte_mempool -lrte_ring > -LDLIBS +=3D -lrte_cryptodev > +LDLIBS +=3D -lrte_cryptodev -lrte_security > LDLIBS +=3D -lrte_pci -lrte_bus_pci > LDLIBS +=3D -lrte_common_cpt -lrte_common_octeontx2 >=20 > @@ -20,6 +20,7 @@ VPATH +=3D $(RTE_SDK)/drivers/crypto/octeontx2 > CFLAGS +=3D -O3 > CFLAGS +=3D -I$(RTE_SDK)/drivers/common/cpt > CFLAGS +=3D -I$(RTE_SDK)/drivers/common/octeontx2 > +CFLAGS +=3D -I$(RTE_SDK)/drivers/crypto/octeontx2 Why do you need to include self path for the driver? > CFLAGS +=3D -I$(RTE_SDK)/drivers/mempool/octeontx2 > CFLAGS +=3D -I$(RTE_SDK)/drivers/net/octeontx2 > CFLAGS +=3D -DALLOW_EXPERIMENTAL_API > diff --git a/drivers/crypto/octeontx2/meson.build > b/drivers/crypto/octeontx2/meson.build > index 67deca3..a531799 100644 > --- a/drivers/crypto/octeontx2/meson.build > +++ b/drivers/crypto/octeontx2/meson.build > @@ -9,6 +9,7 @@ deps +=3D ['bus_pci'] > deps +=3D ['common_cpt'] > deps +=3D ['common_octeontx2'] > deps +=3D ['ethdev'] > +deps +=3D ['security'] > name =3D 'octeontx2_crypto' >=20 > allow_experimental_apis =3D true > @@ -32,5 +33,6 @@ endforeach >=20 > includes +=3D include_directories('../../common/cpt') > includes +=3D include_directories('../../common/octeontx2') > +includes +=3D include_directories('../../crypto/octeontx2') Same here. > includes +=3D include_directories('../../mempool/octeontx2') > includes +=3D include_directories('../../net/octeontx2') > diff --git a/drivers/event/octeontx2/Makefile > b/drivers/event/octeontx2/Makefile > index 6dab69c..bcd22ee 100644 > --- a/drivers/event/octeontx2/Makefile > +++ b/drivers/event/octeontx2/Makefile > @@ -11,6 +11,7 @@ LIB =3D librte_pmd_octeontx2_event.a >=20 > CFLAGS +=3D $(WERROR_FLAGS) > CFLAGS +=3D -I$(RTE_SDK)/drivers/common/octeontx2 > +CFLAGS +=3D -I$(RTE_SDK)/drivers/crypto/octeontx2 > CFLAGS +=3D -I$(RTE_SDK)/drivers/mempool/octeontx2 > CFLAGS +=3D -I$(RTE_SDK)/drivers/event/octeontx2 > CFLAGS +=3D -I$(RTE_SDK)/drivers/net/octeontx2 > diff --git a/drivers/event/octeontx2/meson.build > b/drivers/event/octeontx2/meson.build > index 807818b..56febb8 100644 > --- a/drivers/event/octeontx2/meson.build > +++ b/drivers/event/octeontx2/meson.build > @@ -32,3 +32,5 @@ foreach flag: extra_flags > endforeach >=20 > deps +=3D ['bus_pci', 'common_octeontx2', 'mempool_octeontx2', > 'pmd_octeontx2'] > + > +includes +=3D include_directories('../../crypto/octeontx2')