From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30048.outbound.protection.outlook.com [40.107.3.48]) by dpdk.org (Postfix) with ESMTP id 69B535681 for ; Tue, 13 Mar 2018 13:19:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=JQP4Yvs+aiNZlxsn5aUtpl3stUpBLxTN867o8ocIIrY=; b=bqaTz2ERYFFKwY02cWRVaVAgNIDQ0LPyTw1dzIqaHTlIFP9i8jFrRY2KyKwW+YSrxJduvj+fiSJToOAE9GX6SjosbxR5kmB87XlWp12rPpN/ZKm0bThMQIxCpRhY0SDXQKntctUcAFrwj+o1EOXY6FBYRoaub4uCuZvCXK8XqQk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [IPv6:2402:3a80:936:1f2e:3902:95b6:f515:489b] (2402:3a80:936:1f2e:3902:95b6:f515:489b) by VI1PR04MB1389.eurprd04.prod.outlook.com (2a01:111:e400:5348::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Tue, 13 Mar 2018 12:19:28 +0000 To: Anoob Joseph , Declan Doherty , Radu Nicolau Cc: Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , dev@dpdk.org References: <1519191430-19201-1-git-send-email-anoob.joseph@caviumnetworks.com> <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> <1519896103-32479-3-git-send-email-anoob.joseph@caviumnetworks.com> From: Akhil Goyal Message-ID: Date: Tue, 13 Mar 2018 17:49:07 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519896103-32479-3-git-send-email-anoob.joseph@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [2402:3a80:936:1f2e:3902:95b6:f515:489b] X-ClientProxiedBy: PN1PR0101CA0072.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::34) To VI1PR04MB1389.eurprd04.prod.outlook.com (2a01:111:e400:5348::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d2ebc1b3-f64b-49ad-2b6b-08d588dcac09 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB1389; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1389; 3:B1kOO91E8rzsrhaUrhfyUIvCFhD1WpxVco2B5IzdmMiRgRTlydbgyaM9FuPLm3h4P2BXsmWoAI6Li9zrlggdVTSWHk9AEjumJ/35RQM5Y4XbPT7U9QLoSKkvf5Rp/KVCv7uG6ZqettpMuSVyBI+ITaTghtsBbgdtjOMOe6pC/tagdXmFIojN0PQ9vTMsXzKaSa/u6pf/Fwx1sRN7f1wnZs8rbr09avwDrEIjV/BIH7Sd3isWSB4Ck3yk/xnzizbR; 25:jjrgrtis+RzzwwijE6PONqGy+A9SkSv/cov90kHbIgNqc2D8F3rkx107R1FoORE45sxu556Fy1vtIIRQEtcymodiQpWkIxdrziRzwg5LESY1yera+Wy6ZG/nSjkXvDfKBHM8/+JUPeGMzQkGrVfOvdJw6jD/iwfAKNYZxdqj7bvS+V3Xgtjfh8RXvQUx1GB76WwoCGLZbIgB1h83xq8aqTrivKbLaWxu+X1QYVEmaUsUHdgpzLwL/lAof+x/ZjwdUFW6lCsEd7EctO7Zg06p8bwezIyIpwl/gxkuagFcaAs7lIwTF2N+xNKZqAICiGGZVVQHHOyXM0HaT4I4QtIf0w==; 31:LiYaf0PAvtwwx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BJg9P6DRaW4ZVNhiiJxOjPpjfgDkrDxmv6NcUXSATkb1iU X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231221)(944501244)(52105095)(6055026)(6041310)(20161123560045)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR04MB1389; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1389; X-Forefront-PRVS: 0610D16BBE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39380400002)(396003)(346002)(39860400002)(376002)(189003)(199004)(186003)(4326008)(15650500001)(25786009)(81156014)(23676004)(16526019)(52146003)(81166006)(2950100002)(6666003)(65956001)(36756003)(65806001)(2486003)(65826007)(59450400001)(76176011)(5660300001)(386003)(53546011)(50466002)(46003)(54906003)(110136005)(31696002)(68736007)(31686004)(52116002)(230700001)(8936002)(8676002)(58126008)(47776003)(67846002)(52396003)(97736004)(6246003)(6116002)(64126003)(6486002)(305945005)(1706002)(2906002)(7736002)(229853002)(316002)(53936002)(478600001)(86362001)(106356001)(105586002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1389; H:[IPv6:2402:3a80:936:1f2e:3902:95b6:f515:489b]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA0TUIxMzg5OzIzOnVmSEVrdldzdTJBVkRYZHlPYi9lREwyTTBi?= =?utf-8?B?UklmbFQzMzdQZEwxdHA2TTd0RXFNcE5OTEVoY28xSStyaU5xeUFyM2xRSThT?= =?utf-8?B?L28zZXdIK09iSHRiclJkb2doS2NDMTlobk9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DTYw97e7jIXt/uJHKwSvhwIbfSQpS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2018 12:19:28.0132 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2ebc1b3-f64b-49ad-2b6b-08d588dcac09 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1389 Subject: Re: [dpdk-dev] [PATCH v2 2/5] lib/security: add ESN soft limit in conf 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: , X-List-Received-Date: Tue, 13 Mar 2018 12:19:33 -0000 Hi Anoob, Just a minor comment. On 3/1/2018 2:51 PM, Anoob Joseph wrote: > Adding ESN soft limit in conf. This will be used in case of protocol > offload. Per SA, application could specify for what ESN the security > device need to notify application. In case of eth dev(inline protocol), > rte_eth_event framework would raise an IPsec event. > > Signed-off-by: Anoob Joseph > --- > v2: > * No change > > lib/librte_security/rte_security.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h > index c75c121..a71ff6f 100644 > --- a/lib/librte_security/rte_security.h > +++ b/lib/librte_security/rte_security.h > @@ -222,6 +222,8 @@ struct rte_security_ipsec_xform { > /**< IPsec SA Mode - transport/tunnel */ > struct rte_security_ipsec_tunnel_param tunnel; > /**< Tunnel parameters, NULL for transport mode */ > + uint64_t esn_soft_limit; > + /**< ESN for which the overflow event need to be raised by eth dev */ eth/crypto dev > }; > > /** >