From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 09068A0C43; Mon, 6 Sep 2021 15:39:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 85D1B410EF; Mon, 6 Sep 2021 15:39:18 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 9F498410ED for ; Mon, 6 Sep 2021 15:39:16 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="305533283" X-IronPort-AV: E=Sophos;i="5.85,272,1624345200"; d="scan'208";a="305533283" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2021 06:39:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,272,1624345200"; d="scan'208";a="463982375" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga007.fm.intel.com with ESMTP; 06 Sep 2021 06:39:15 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 6 Sep 2021 06:39:15 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 6 Sep 2021 06:39:14 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 6 Sep 2021 06:39:14 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 6 Sep 2021 06:39:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hmrR7jR7yrDkPHQGo9h2UzfFEu10Dtj6B0jdfW0gDEAIXI+Q1VmgL0VSN2QhqeA11F3nIEjupg7mxwFgJZL5FaaP2nYvKDkv+dgslhfAFxnMS32G2k2F/m78MQv9DbulpETJSLcvbb3sqcn/r0Xu9oidUr9m0KVIlZl138c0HosYQHDvE6/ooIPmfvC1fut9mQ4awMd2aKcpnYH+xchAmmUAClugQQlcHtkMkinvez7r1lnTQ7S7xZ7M6BmEH9yXldd7C1faV8sF5a6X7yVSIRF7dyio4Hf7pMX8lD5kp0r/ldpPV0amBr5k0Hffq4KzHexhtHeq2gJbX7P1Cp64+A== 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; bh=TislwNMj/Wm9DFs8Vb6T16mbdx7u+Z4J9FhaJ5l/hMQ=; b=SyC3quogOObxbzz9L/Rv2VitOk/CFQncGLs331Hcfol3dSj3b+pM1IaIFAu3r+/+oLs4NHOgHqtPjWeTSkn0/3h1v0zorwy0cWKlp3IIbTCqek4OQ76KvR0O0sfTBzImHEiYQrHHKZW3EhAyS55lTKfP1Eh4cJFUJNCSbKySonv1sXPb90vRZ4ERWcDOohUJUFVHLApN1SagKHcNH7JFMKDoWP3W5AlJgxWYSiPo9fbQuULOLUMRqiofBTVX3AS13hgrW/hyaV1Xbiz/RUeQ1wCtrB/T+K1KJAdNdl4zgQkYpP08UcZGiOmW12Y8DzjUWidkAhMwu3STu0LP0+j2lw== 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=TislwNMj/Wm9DFs8Vb6T16mbdx7u+Z4J9FhaJ5l/hMQ=; b=aX76iBrQlVSdJIE8OgF3Z37AE0q52oRvVuMi2lLUZBcvSX3GQHgt8U3MmXSFooO8XjlYoK+tmBwezHlK2AOy3cJRFqMwXJGofdaaDOol23YXhQogoyKsdsA1H/CldLITNXxBIsQc36QEnSPmB9RpEqsj65OVuc4fORUOIbNap8A= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB4868.namprd11.prod.outlook.com (2603:10b6:303:90::19) by MW3PR11MB4668.namprd11.prod.outlook.com (2603:10b6:303:54::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.21; Mon, 6 Sep 2021 13:39:10 +0000 Received: from CO1PR11MB4868.namprd11.prod.outlook.com ([fe80::6458:1368:f535:f287]) by CO1PR11MB4868.namprd11.prod.outlook.com ([fe80::6458:1368:f535:f287%9]) with mapi id 15.20.4478.025; Mon, 6 Sep 2021 13:39:10 +0000 To: Anoob Joseph CC: "dev@dpdk.org" , "mdr@ashroe.eu" , "konstantin.ananyev@intel.com" , "vladimir.medvedkin@intel.com" , "bruce.richardson@intel.com" , "roy.fan.zhang@intel.com" , "hemant.agrawal@nxp.com" , "abhijit.sinha@intel.com" , "daniel.m.buckley@intel.com" , Archana Muniganti , Tejasree Kondoj , "matan@nvidia.com" , Akhil Goyal , Declan Doherty References: <20210713133542.3550525-1-radu.nicolau@intel.com> <20210903112626.304692-1-radu.nicolau@intel.com> <20210903112626.304692-4-radu.nicolau@intel.com> <42fdee36-53fd-340c-7e19-14e6972bd8f4@intel.com> From: "Nicolau, Radu" Message-ID: <18e71b39-f7ab-7e3c-ec8e-360ed57e34a6@intel.com> Date: Mon, 6 Sep 2021 14:39:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.13.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: DB9PR06CA0016.eurprd06.prod.outlook.com (2603:10a6:10:1db::21) To CO1PR11MB4868.namprd11.prod.outlook.com (2603:10b6:303:90::19) MIME-Version: 1.0 Received: from [192.168.1.12] (109.255.186.106) by DB9PR06CA0016.eurprd06.prod.outlook.com (2603:10a6:10:1db::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.20 via Frontend Transport; Mon, 6 Sep 2021 13:39:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7821b56d-23b7-425e-680f-08d9713bb4e9 X-MS-TrafficTypeDiagnostic: MW3PR11MB4668: 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:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: df4aGuBm1oK5IQOilcR4a72ygwW9Oy5GIfUWXIhDoHdRDr+D8o0cmcFPvmFS6S7h/lo6/uvC+ZIzIE4qYUltyf6BKNZ4MgskQdUCjwTkr0o4QdEkzJnlzxv5iRA0Z6cUuPdgc8Aio2qKCvnCMCvm7coViSejuvLWrpJyY4O9XWbm4n0y8zpo4WTRj6JG2OSwHxubvFgT4h1JuH7PWlvzFenzYCSh1Tk1hQFqXTCRn5s0LeopRogx8GVqol24JLUO3A93Oievf+V0Kvxp8bu0fI+fMYK+nhlj3vEBPBaD4YJkMSo2/3HWmbnwGnovOZpMKeGO8II7MXbqOOE5fpH1SHkAi603JwO/rhTgQG9rmxQChms+CaGkGL/qGTf/PSD8iQxpZ2jzgEwjVFwMVYJy054+Rw9tztfTfyhjllElhP34CzLev3z1nIW51Uhs9OWRSIFCgTnNA6E1j4PZQ5ezrxFNepyrIjJ3wtGisatw++uQbYUeHR/9fo5c6k4MwLmYXLGZ4NW1paCWSuJHcLb+ESNVqm84W+cSoXpLbtJoKMJ2fRknWfG1vz0Y1zDz9h001326FK+e1h9dk27YZxKENuaBqyLWkFJ0BPdA8pER3IMRsu/OPo3SPgw56Dkug3oOP68WPoryxA0Mt0x36xJvWQaa8lzuM/TKKtfdIbftagzHxxLghp6KBbSqNU3vO7pKENsDFEBA+2M7b+CGt98cEME8STpfaixWC7Ils6rvIjAE1K5usqywY3P5oZqjjzha X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB4868.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(136003)(396003)(366004)(376002)(16576012)(6666004)(316002)(54906003)(66476007)(2906002)(6486002)(4326008)(66946007)(6916009)(38100700002)(186003)(8936002)(36756003)(31686004)(31696002)(26005)(478600001)(53546011)(55236004)(5660300002)(8676002)(66556008)(956004)(2616005)(107886003)(86362001)(83380400001)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZU11aGF5c0oyKytqQjh2R2lScjJoMUVSN0ZlRlN4TUFRN2gwZkVzeW9EdXpJ?= =?utf-8?B?VXpQNURKQWdBYkF1SUxCOWpObnJWNXdRWW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ook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2021 13:39:10.3244 (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: cxFXLvHk8BlAVYxUMByfeapfou2uCam/gvBx9Xifv/akCHVP1nHb7FlTiI61185+7Q4lDtBJpQoqDRpCV+XP0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4668 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [EXT] [PATCH v4 03/10] security: add ESN field to ipsec_xform X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On 9/6/2021 12:36 PM, Anoob Joseph wrote: > Hi Radu, > >> Hi Akhil, I suppose they can be complementary, with this one being a hard >> ESN limit that the user can enforce by setting the initial ESN value - but there >> is no requirement to do so. Also, this change doesn't need explicit support >> added in the PMDs. > What is the actual use case of this field (ESN)? My impression was this is to allow application to control sequence number. For normal use cases, it can be like starting sequence number. And this can be used with ``rte_security_session_update`` to allow simulating corner cases (like large anti-replay windows sizes with ESN enabled etc). Did I capture the intended use case correctly? > > If it is to set max sequence number to be handled by the session, then I guess, this is getting addressed as part of SA lifetime spec proposal. > > Can you confirm what is the intended use case? > > Thanks, > Anoob Hi Anoob, the purpose was to have a starting value controlled by the app and I think you're right, it can be achieved with rte_security_session_update. Thanks, Radu