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 C36A3A04FF; Tue, 14 Jan 2020 16:57:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8B8981C1A0; Tue, 14 Jan 2020 16:57:22 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D53681C0D5 for ; Tue, 14 Jan 2020 16:57:20 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jan 2020 07:57:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,433,1571727600"; d="scan'208";a="248987255" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga001.fm.intel.com with ESMTP; 14 Jan 2020 07:57:19 -0800 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 07:57:19 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 14 Jan 2020 07:57:19 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QxjFrB7KBsvmPm/JUnItqf/Ux4b/CNojDa8LHqUjUjWOu/jw3Edw99x2xDFk8RFGddAo/dDKW65qlVFq30PzhJW8RUrbhwmn/U/sQEdtYtqeEfVK4k6/MgxDwzAu1Z6gvvEypz64XuHbvcyQ1FZ/KUflYvmWWuMChznA8i2056kqxI3UNM84a4Mkb6cZtHNUxukwdQaq/CoOkBaHgVzlsKfPw3LlgKMvUNXRO1miCetXMSsmEDVgpI0/yjJSaelx75bTWdKYclAGMdYmpBXaQidwlJk6MXg6iLmlCqRt0TuTbyfWPv0lTczBm9DRuxWP/HH8qOdgnVQSK1pR+0KtAQ== 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=jRi1n0a/Y9VPAEj9YnVBqOG1y19UQGlCFz/1ONYNo3g=; b=e3oaVqf7epZ/G9x0x6rQWtkCP0Nq/Qsdc7/qgmWfe73abhSrtsi/fJGKaUXVXYSD9YwTOF0B3/nZ+ogRIsLtYWEnhObXt7/+xZ8gHAC27zxx2G30f89ElKzdq6/gMEDv+I5iyTeROmMEQgkWPKWSYu4/O3BBvnWG5eTTg5oyoLneN6uPHDjhMdYKyOwV/Q4iwAe6rO2wQCjiR6rTOhJ0HtPt+p5Ns1I5f2iFul6XUHm7wUY2mOYxHlgmqjOmWpH8LAgA0ToQfNqeHzGxdoJv4Isbr/uPv5mT/bREM1485u8bCoBeKuseF5p+5KfOxBbLzVV0s3COrt1q6tkROR5XwA== 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=jRi1n0a/Y9VPAEj9YnVBqOG1y19UQGlCFz/1ONYNo3g=; b=D6OheoOx1+VmADUxshABphRC9TtmEcneF59NhD6bCgFWHhB90qQ4saUDoku9dkhSog10Encdc9p8l+Vjw4w5vTJgD//xc+6lHDHuI3ni7BUnFXi334Hz7KkoqsmmoCHHMZNp7QJ6YrfDK1RtohIY+YW7HyfWIKnqm9nbQu6cP+E= 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:57:17 +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:57:17 +0000 From: "Ananyev, Konstantin" To: "Medvedkin, Vladimir" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" Thread-Topic: [PATCH v4 5/5] examples/ipsec-secgw: get rid of maximum sp limitation Thread-Index: AQHVyucdm7jPqZymjEaQZX10dSgPoKfqUKng Date: Tue, 14 Jan 2020 15:57:17 +0000 Message-ID: References: <1578920122-228017-1-git-send-email-vladimir.medvedkin@intel.com> <1579012036-326214-6-git-send-email-vladimir.medvedkin@intel.com> In-Reply-To: <1579012036-326214-6-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjVlODk2ZGMtZTc3MS00ZWM4LWIxMDktMmEzYWRkODE1NjM2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSHlMUDJ5SVwvSWpyRTBYNENGZHJOM01qc2VZaGYzeFZwclJQeWRxMjZOcjlxanF0VXdzWlVRQTZ6ZFI2Q0pIZm4ifQ== 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: dcf054b9-6298-4764-3251-08d7990a6e5f 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)(8676002)(316002)(81156014)(81166006)(8936002)(66946007)(55016002)(66476007)(186003)(2906002)(9686003)(66446008)(66556008)(64756008)(86362001)(26005)(6506007)(76116006)(71200400001)(558084003)(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: Uz7MCwE5T0plBuz1Vn4XXIM5kMqjY+7wyS5rlHBVvy6o3wL2AmhoCEgNgQWs7wpq1tIMWy2udLAFNCM5UUPLWmkGt2VE0VBWVmShO/SjbWXTpuxgBMcjC6JxSoG9tXAz1Yxg3nVWWn6VJdy3N9QwdDdMnjrQtmPjh3Ioh4Ic7iKy4/iWjDrGdzbJccfaoEgzG0RZz5hU9M/8SoETdrR0WSi/8zczYP+3jQ7vi2/Q90XvxzpYckpkQoK4OGhTHrMDmeW0vsQk8dgg8+mkuPwBlFphZc4SOENULjZyo1deTwVwC+2vend4uibBeZQ3Fbu6jEVq2YKpv5K1UFTwkmGSZWFQA7kYQOBXV+p6Ddb7uN0X7w5X0KiqajiW4Ruxla9OG4etjHCPXRalYcMnPiP0yh7IdTweWXTiqFX+erDx25hTYiGuWxJL346IpJ1gq/HO/3Wj8pgvrQxBmgj4lfeyLMt+Rle+bO3HCU75+CWoxGmnzp0Xgnh4vgi6C7wmctIO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: dcf054b9-6298-4764-3251-08d7990a6e5f X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 15:57:17.5200 (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: K3GXBvbrkAAJOUnj/+ECfSy1YkTvGElfqTYOaMnPxq/gZSa06eV9iGW/quAiBAwN0Y4yoDB6FsXh6fAAohFtQL6Fb7ItDThRMMm0fS6gjl4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2671 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 5/5] examples/ipsec-secgw: get rid of maximum sp 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" > Get rid of maximum SP limitation. > Keep parsed SP's into the sorted by SPI value array. > Use binary search in the sorted SP array to find appropriate SP > for a given SPI. >=20 > Signed-off-by: Vladimir Medvedkin > --- Acked-by: Konstantin Ananyev > 2.7.4