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 12FACA04FF; Tue, 14 Jan 2020 16:56:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C625F1C1A0; Tue, 14 Jan 2020 16:56:34 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 428E21C0D5 for ; Tue, 14 Jan 2020 16:56:33 +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 orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 07:56:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,433,1571727600"; d="scan'208";a="273356992" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by FMSMGA003.fm.intel.com with ESMTP; 14 Jan 2020 07:56:31 -0800 Received: from orsmsx161.amr.corp.intel.com (10.22.240.84) 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:56:31 -0800 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX161.amr.corp.intel.com (10.22.240.84) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 07:56:31 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.109) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 07:56:30 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mY/nKfan3Rk4YBbR/3RrFCGvAZmnnO6GXynTBoeQQGqsyzqFrOC4ZK/l89t1MDR2tqPFt3jRzInjuAQorJb1yrGrWfO0AX2J7GLwRi6SDehf30ySgjQYENfeljQLoHPpJf0YLlJTKHyCEnBTDiWUshTVDOI9KcScgczLO2yWTuC2pk13GWDGM/gDXpVMLZGGQgtjKdVA6NzdFyW3NocJeKwMRixxw18WPEZGG0Njl0LABVfnTUETUZyAn4iour5V++qEtvYI8CItJWbOTYhiOoEp93Ansym7DAfA7Q3obKIWhhzv0eHakJKC9kWDcGt+vb6C/7o3UgqIDVK4dUWwmA== 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=vQJK/092pszqBppwMEQfFuRW5flKKXa8ZjGQ38M3A7k=; b=Zsn8RTQ9JDzrfivlj/GmisgUn2p/MSfht3J+B31x6MmV/eSK7j0QhEhGhLlCgL8d6EvMWYlwbOb7cmEBBjsVyM4ylq1+6bjFoz+lko8pVGJFTwjLSk5F35UOj7n6OlpPMqDB4K6nxNsH7DCBQA8LFkrSj49MS1pcfqM2WCKEfynDYKPJpfoqyPz6hZK+N/jBujhRJbgfV76xRfGUCm+E4qgv7SgakNhxBmTJW6MJZsPKHNQlgUwjSkA4d/KJbUAY7UEGrvDlodLCvc3NWHjsQQtYE6NSqUJ4tuMLBB4YWhN6NvcEt7q0d3ABxAyYlyfpaMUjo7iRG9Izuo610sSDIQ== 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=vQJK/092pszqBppwMEQfFuRW5flKKXa8ZjGQ38M3A7k=; b=PWPK+Xm+iYcWzlgPlIX6qhDX8CGM0UvVMc0mz1yjMUYVuHseemZzI7xKS2Oj2LT+8im5sDoX7UVcZ/HNM1xy/ZMY6m1krD/scl2MfO23qFgWjnLSwavEJckqcAl7i+9r5sNJ7xvuonA0XztogfCCILREOy0PAkaVh2lGKRVSmfM= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (52.135.94.19) by SN6PR11MB2671.namprd11.prod.outlook.com (52.135.95.146) 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:56:29 +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:56:29 +0000 From: "Ananyev, Konstantin" To: "Medvedkin, Vladimir" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" Thread-Topic: [PATCH v4 4/5] examples/ipsec-secgw: get rid of maximum sa limitation Thread-Index: AQHVyubbdqeNgl5iOESP0mVxtbDHdqfqUH1Q Date: Tue, 14 Jan 2020 15:56:29 +0000 Message-ID: References: <1578920122-228017-1-git-send-email-vladimir.medvedkin@intel.com> <1579012036-326214-5-git-send-email-vladimir.medvedkin@intel.com> In-Reply-To: <1579012036-326214-5-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzE3YjI5ZjMtODFlNS00NGIzLWEzZmUtMTE0NjFmYWQyNWExIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT0dzbjVLbkdKb0w3SXAydjdYSE1VaVhOdlwvcGIwUlNITWdFRXNBZ2R0SHBjRVdnYUErV2dXMTF2allvSWh2QTgifQ== 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: 47287ae8-7050-41a4-9f96-08d7990a51d2 x-ms-traffictypediagnostic: SN6PR11MB2671: 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:1122; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(346002)(366004)(39860400002)(136003)(376002)(199004)(189003)(4326008)(110136005)(33656002)(7696005)(5660300002)(52536014)(4744005)(8676002)(53546011)(316002)(81156014)(81166006)(8936002)(66946007)(55016002)(66476007)(186003)(2906002)(9686003)(66446008)(66556008)(64756008)(86362001)(26005)(6506007)(76116006)(71200400001)(478600001)(26583001); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2671; H:SN6PR11MB2558.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JqoJa/lvyUftLuexd7OfnbCGAOZSCjDLw/zsg28IJNN97EghK1uRsFMqiSKH0lB6ZfDX4BHMWq3ZnjKLI4TGPisJ3q0LndT3j/3smQTUSLNKN6E7ORymnCXUBE6Q+xfz8Koc3b0oL6mjp9u1jrr8VZDm9gu6qlNJh48Ed7TW/KPVs8FP5WYJO7QB1hB6vYg2tPkTy49HggoYqqP8OJFTfiPvnayjgqzaNUqD1Hlqj9YVPE8guVXqAZYjUNbJdbJGAcOt746bzPC1i2QSWRq8fL77NSdIAoVpMx5uy2Jt5HLTPRSdqIRrjQjwVIz2a5023dd8tTiRRpfmJZ6/Wwyx2K1iFlS9QoWrSEirSn2NzSO+FgzOpSCnLADngLbWu3jSOnjdB+xxJ3/ZkFLbQy3Ir+mlMGF/DZNz2x2ZD1Fpb1VnSO6XXjlhXRou/gy7DhJUzjTlImLdMa7iOQd+0mPaEnj8nC3QGCJHsFJwaTHOSYSwEnjN3jmA1qqDNkOYozCS Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 47287ae8-7050-41a4-9f96-08d7990a51d2 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 15:56:29.6925 (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: yBS0gN6H3zMMYDEdOw7AJAysIeNjNnfGNDT+WTzjtnKn+4L0W6DyIgTnE/GhIgb+naS/3lL/Pt7gp5qdu7esLaRHAZ8IbidULU9lZynG+L8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2671 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 4/5] examples/ipsec-secgw: get rid of maximum sa limitation 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 4/5] examples/ipsec-secgw: get rid of maximum sa limit= ation >=20 > Get rid of maximum SA limitation. > Keep parsed SA's into the sorted by SPI value array. > Use binary search in the sorted SA array to find appropriate SA > for a given SPI. >=20 > Signed-off-by: Vladimir Medvedkin > --- Acked-by: Konstantin Ananyev > 2.7.4