From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0048.outbound.protection.outlook.com [104.47.33.48]) by dpdk.org (Postfix) with ESMTP id 95717271 for ; Wed, 14 Mar 2018 06:15:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YfN/hraqGM2ijyHH+HXfX3pWt6eFmFVL3yHA8SII3u0=; b=iISGpovudyycw4WtKu+KpOM1yaoWLLZ7izRE6oETkvCTyoK+jBUhSi9zx5H4GxuWInbneqhOJSP7Qg4NDL6ha93YkBJROm5TKUaLinrzj+74YL0vwBQLSwn0d1sk+kQHWvhxU7Gk4fENxvpjt4rO4AmllDG1MkH7RrGmjacHlBc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from hyd1ajoseph-dt.caveonetworks.com (115.113.156.2) by BLUPR0701MB1060.namprd07.prod.outlook.com (2a01:111:e400:8b2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Wed, 14 Mar 2018 05:15:39 +0000 To: Akhil Goyal , 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: Anoob Joseph Message-ID: <01f8faa9-edde-7a0b-9b12-8e43376a929d@caviumnetworks.com> Date: Wed, 14 Mar 2018 10:45:24 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR0101CA0053.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::15) To BLUPR0701MB1060.namprd07.prod.outlook.com (2a01:111:e400:8b2::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2222240d-3cd2-425b-1dcc-08d5896aa195 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BLUPR0701MB1060; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1060; 3:ueOAIHm8Lbepqnm/ye4NktSwIsbTXhXyx1RLqDcuKcwzPTAurmdJr4imWf6lo0pmt1BCteFVEP7QqglYao9tBh/8W9lc73/ZZTfhBld3N7NVPscRYoUty0fgNKo/hhVB/JgVnsZrwhD+Ln2FwZSUh/cS4Wm5pbwB4wOlY7KXz5r/8TZGSYn49a/Px8+fT04RBaKvndUnLK2MXbhnfLOnVgO8++KFN5TYhZ8zAD7635OtezXWM10qXB8z2wX7TH3o; 25:1I7hbOc8dJFfKtBcjlvdezQT6MUWrgoqkZ4Hb7GNNQDO619jPtg6XwXOIWXtRnchhDCzBK7AY+9wr86Hsp18GEucf882AHeuTRZo+n8eIy3lAXKkMnhS2BjrRUSU5IIDeiuXNg4aQGhmQ0A0f0rPWeaEEjQ2Sbz/mpXRzg9ebvlX/ehg8Cn5BRTvfYBae5Yp/j7gq2uSf+Txmrb8RNKGzR8fToWjpYL94VYHdNa+kKbeIaEnqkja7SqqPJa2ASLWqg/VzU10F0uax/Pws35fEyRtvGnApnt/lr3mvWA97yRbKpmmG8hSYLkOvfC6vBOA04BuDdvIdZ68aNNVg80nFQ==; 31:WHu83A+Py6/VU7jnfIiuGsi66F97ICs7hUmwYI1tHx/6F+UUBjND+yL98dBxO3BUNL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aMhu8gPAlxzRxmh72XD0e+TttCi1A1WrWuedYcGg3hwWxDtJj99l0QqNWlH4OAaWMecKr6C1uJDqEBaanxNuU4GwWdmF/KlBCnjDP/n3nWrbgfK 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)(5005006)(8121501046)(10201501046)(93006095)(3002001)(3231221)(944501244)(52105095)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:BLUPR0701MB1060; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1060; X-Forefront-PRVS: 0611A21987 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(346002)(366004)(376002)(39860400002)(199004)(189003)(93886005)(53416004)(105586002)(478600001)(36756003)(316002)(31686004)(106356001)(16526019)(26005)(2950100002)(386003)(186003)(6486002)(6666003)(6506007)(53546011)(42882007)(110136005)(6512007)(8656006)(67846002)(58126008)(50466002)(229853002)(15650500001)(2870700001)(6246003)(53936002)(2906002)(54906003)(4326008)(6116002)(8936002)(81156014)(68736007)(64126003)(3846002)(72206003)(8676002)(81166006)(7736002)(305945005)(52116002)(76176011)(5660300001)(65826007)(52146003)(2486003)(66066001)(97736004)(31696002)(69596002)(25786009)(65956001)(65806001)(59450400001)(55236004)(47776003)(23676004); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1060; H:hyd1ajoseph-dt.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjA3MDFNQjEwNjA7MjM6eVlrUHNnd0wyNVRRRkV2Zi9VQW0vcHk2?= =?utf-8?B?ZkpMZzdZb0FNNE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ObnDAtIQEfiqVlEBur3Q+6VMoEcv0y9JA8tlVYcUIA=; 24:zLaPM5riLbGASK0YyPqtHoe/yUH8IheLbXdaoOHrrJtDqrCGC+pCrWtt2imwO3nxo0DHy5Nez+b5KGTbhT3Ht/+xje5L/ohR3GH9l8HmtE4=; 7:j162rRR8SRcTWVYFLwB5L10qs5M3Mpm8Yj3YzXwhisynM9425ljHHxkAiZr8sULivAUZyEedef5IIrr5ScAuIx/uVTTQ+WSg6/h2yJbLjpLskEFWDqsJWImQR8LJ6I82g0f7B2EdrVhttLAqtg0gEq3/blJVU4tAH2y1MnO+k6vwMM6NGh63EAZ7gfv+I7jt3c638U7KfrFCXQroVP4jMWxD3n/wKxUAr1zqrgf4ahmen0kt+v//7pMiN1EzABXi SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2018 05:15:39.4485 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2222240d-3cd2-425b-1dcc-08d5896aa195 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1060 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: Wed, 14 Mar 2018 05:15:46 -0000 Hi Akhil, Will revise the patch with the mentioned change. Thanks, Anoob On 13/03/18 17:49, Akhil Goyal wrote: > 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 > >>   }; >>     /** >> >