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 D7CC2A04FF; Tue, 14 Jan 2020 16:54:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A1CEF1C1A0; Tue, 14 Jan 2020 16:54:49 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 98C771C1A0 for ; Tue, 14 Jan 2020 16:54:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 07:54:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,433,1571727600"; d="scan'208";a="273356646" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by FMSMGA003.fm.intel.com with ESMTP; 14 Jan 2020 07:54:34 -0800 Received: from orsmsx153.amr.corp.intel.com (10.22.226.247) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 07:54:34 -0800 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX153.amr.corp.intel.com (10.22.226.247) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 07:54:34 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 07:54:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OJPlwZ3D/GcmZEjcno+hJQRabSpHtPqZQfebkWaDL+wgaPHxjhqTB4FIQgEC2vbcJS3dSR6SFLr848LXyt1UBHzAGOcT5RoxNrVvMNoLQ9WTICM7hgaDVLk12bZRv+PMzELRg6DWi8JM5+OLKVdSKcOSCUZDc0Z607PoujHOoRX8R7uprICg753D99X/0U87nVfuOax05HU26lHkh5ZpS8e+vknjnXImrNQHyQSr3BYneGMdhK4xVTLWdXswhNC/6VOmKDvzwemHz2WpkMr2NPY/qjoBsvQnaVGw/QqDdBn8FF1ctEc5Yc08rgTkZ/AfW6/vHix42mKy/hy7VVb4iQ== 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=PX6ERnMG932GVrXdOcGNlAiZ9rI0cX2/0VI6do0KJWo=; b=GqLFJ47cNX7xp5zIJ2wFikp1TLH18muMzReZj1imb9dR2TEta0bRMrMtwzjzxe86Rdpo9Ea2hWPrOP9mLBStM+2YWIzBW6fFpc9WgIC7KYlnxgHV27p7ebKk83EAzOqdxqC6zGewQzGS8HtETWb9418wNkCIxSISkqrdbM8M1w/BPpP2IXojvGn/6N2RfYEMG8nxpL+1f2TapU4zphO1awQ2PLmAMZk8Hsao1s9oZGRUeY5dBso+tA8FTTN8apnhBrmTGgfXRZs7oygaVEDifjauui4noRG8vMmZhCK4VlDMCkNdx4n1L4aD7tsVk6zsBMCjDTIVcX/K3sMUaRZV6A== 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=PX6ERnMG932GVrXdOcGNlAiZ9rI0cX2/0VI6do0KJWo=; b=ipVTaUrRpQP8OOuuDvZ+gPkn1PAh20nQtcAISH5KqsfLysZBZT2pUsWvcKwKwGV8za+R6YDdSKK55eT2wkD0V1pwEZbHm6f5CX5Co2tuc86oTo+gJYJAklU7ZmkQFDr7JAFhQbtEKILUAoLJA1ulx0YE6r8Z4nELuCQQEPd12K4= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB2654.namprd11.prod.outlook.com (52.135.89.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.13; Tue, 14 Jan 2020 15:54:32 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::4d86:362a:13c3:8386%7]) with mapi id 15.20.2644.015; Tue, 14 Jan 2020 15:54:32 +0000 From: "Ananyev, Konstantin" To: "Medvedkin, Vladimir" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" Thread-Topic: [PATCH v4 3/5] examples/ipsec-secgw: integrate inbound SAD Thread-Index: AQHVyuccqYdOpQLrK0OLfd5EXp7m6afqT+2A Date: Tue, 14 Jan 2020 15:54:32 +0000 Message-ID: References: <1578920122-228017-1-git-send-email-vladimir.medvedkin@intel.com> <1579012036-326214-4-git-send-email-vladimir.medvedkin@intel.com> In-Reply-To: <1579012036-326214-4-git-send-email-vladimir.medvedkin@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWViNWQ5NzktNjIzNi00YTAwLWE5NmMtM2Y0M2U2N2UyZjAyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiazg2cnk3aHNSY3U5bEdSaEZQK29cL1wvRURcL1dsNktMazYweDJ5Q3ZMcUpZT3RkNVBqS3NIM2VUTUVtWkhOMmNBZSJ9 dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.162] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: eb574b8c-8cf3-4388-af86-08d7990a0bcc x-ms-traffictypediagnostic: SN6PR11MB2654: 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:83; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(136003)(346002)(376002)(366004)(39860400002)(189003)(199004)(186003)(81156014)(33656002)(86362001)(81166006)(316002)(8676002)(71200400001)(478600001)(4744005)(7696005)(66946007)(5660300002)(53546011)(64756008)(66446008)(26005)(4326008)(66476007)(6506007)(76116006)(66556008)(9686003)(8936002)(2906002)(110136005)(55016002)(52536014); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2654; H:SN6PR11MB2558.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 58+6JSgKr2+a5RCOMOz+joxKmsFvpu4UezY7aUaKNQqKZxRa9UN/u/qZosgOKnp1hN3nGTCt/YP4fo2LvWQwLZep0C4LTO2qCtnToNaVMN3eKnEZXW5XNrGCBLbFjiQJ4HImEagTi95exfwLQOm9ofTTsKRmujyXJMMEo0sEM0jjf1tk+fM3KOWaS59e1fYASbNB8a+Ry99RMz31RuEgvlc+YvCl31js48KqQHGN9IThgEJb972fq3VyvHGSW+Wl9P0mLswLsu/hbvf7a3Im5i3Cm8WBqDcKONiZgbzRqGYwtvabHe239wlHzQVne8YWyUVp4W0X2qbkBF6W9SM8g3th6riQuYN4Wnajm8HZuiof8CL/Q656sPl9FDH1M++Yh5OCxjVIJYK3onxTFKnDQNPybol84FzeXYR2vIip29PYDy8K7G/k4deg+hxJCNqe Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: eb574b8c-8cf3-4388-af86-08d7990a0bcc X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 15:54:32.1471 (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: 7RfTHjmxi4n8UacSwMOz+MP5HT9Z5cLvNFm/7KaIpnyUzCSkyF7cRNvYuF+S2u2oj9ZtOgpZp3YvapsFAQlWfZ/NAzLMq+/0qA3EEQ+9fDw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2654 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 3/5] examples/ipsec-secgw: integrate inbound SAD 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" > -----Original Message----- > From: Medvedkin, Vladimir > Sent: Tuesday, January 14, 2020 2:27 PM > To: dev@dpdk.org > Cc: Ananyev, Konstantin ; akhil.goyal@nxp.c= om > Subject: [PATCH v4 3/5] examples/ipsec-secgw: integrate inbound SAD >=20 > Integrate ipsec SAD support into secgw app: >=20 > 1. Use SAD library for inbound SA lookup > 2. Changes in struct sa_ctx: > - sa array allocates dynamically depending on number of configured sa > - All SA's are kept one by one without using SPI2IDX > 3. SP's userdata now contain index of SA in sa_ctx instead of SPI > 4. Get rid of SPI2IDX macro >=20 > Signed-off-by: Vladimir Medvedkin > --- Acked-by: Konstantin Ananyev > 2.7.4