From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0055.outbound.protection.outlook.com [104.47.37.55]) by dpdk.org (Postfix) with ESMTP id 296CD5F27 for ; Thu, 8 Mar 2018 06:57:43 +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=+E8f+QI3iz4F+9BV3ei9jrjNZqeyT87DRri9OLCiM6w=; b=Xs+ztuECO6Wr4lhrO8WPFmzgRnDR26FvOQ1Ns3kQAtxN5J2xXgdCxQytCg0A+94nYQsFPFBRceJad+79w5FnlvnQdy1jBiZkQAuXNxoc6taT8ccYv7jP6vOuNb0IoeuN0IDJ4LwTFAlO1Jb6l6Z3xzH4n/CV1grzybEi+/QoaBY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from hyd1ajoseph-dt.caveonetworks.com (115.113.156.2) by SN2PR0701MB1071.namprd07.prod.outlook.com (2a01:111:e400:341f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Thu, 8 Mar 2018 05:57:39 +0000 To: Akhil Goyal , Radu Nicolau Cc: Declan Doherty , 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> From: Anoob Joseph Message-ID: Date: Thu, 8 Mar 2018 11:27: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: <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR0101CA0055.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::17) To SN2PR0701MB1071.namprd07.prod.outlook.com (2a01:111:e400:341f::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5ce93c78-27d7-4f8f-a977-08d584b98173 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:SN2PR0701MB1071; X-Microsoft-Exchange-Diagnostics: 1; SN2PR0701MB1071; 3:QUo6uiSXjS5wge8jg8qKLTJtCwPl0YEt6rlifrniwRwaTPuefxBsY/meHmHULz2A8T3ghxoxqZspY3Ph3L6YAsoeYSVu6C+uVSciRx3ttQa8cR1O+RR0ktqol/3yFve0zRcmUCAtjblCoVtRaLqaokuV4qh3wKvxA/gVq4r5dwTMSjs/WiCzwUExWtn6hM604tRILggQgWD+PTLKnkqKaafquUt0yoIfiXTUx3uTtkNP865cLx4XhfWKPnnOmpPB; 25:uD0d5uy97MFa0oA9wBJza0pUG678LuFqJuWpe9UeEUXfhBhIY5dVJEQTrwXnArYRhhbwQGwJoOCbwwoyq1YMYOebxoYqyP5NslA8kI0sfhLf/nt00PNDjaCi3eh89LRqbfntwCymlku5cOG6IyueZWZEdWkSaWilfJfD4mpuQ25aohDwRF3AjRfAunC+ZGfjmLr+ZTikQsQs2Zi+dsHAj2pNqhE+PfsjJ7P8WZaZg3VwrpsZo+NVx2r2nrVjgdz0WJfbE2o/J4ouAgcx64e3eGOekpKMVGMfGn0OuqZjH47M+Mc5hZ+jGCrAQiUmUErq8sW2rrBFJe80PuQWYKKV2w==; 31:CT0E23p4oy5U9k47LJqDx6+gS2KREeFDtYfoqphBsC8p4tGTnCRxgm1SRl064bFLERMYjOFm5FLyWFeHRFLc2WNyIC9CvmpVdEH5/SwWoyM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Qccuxs6TKqbeZ8uf1y99l56qoQX1pD6BoeEEJprFVQag9MliIUwjgCfowOqxWgZ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(93006095)(3231220)(944501244)(52105095)(3002001)(10201501046)(6041288)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:SN2PR0701MB1071; BCL:0; PCL:0; RULEID:; SRVR:SN2PR0701MB1071; X-Forefront-PRVS: 060503E79B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(366004)(39850400004)(346002)(376002)(396003)(189003)(199004)(186003)(55236004)(386003)(58126008)(110136005)(59450400001)(6506007)(53546011)(54906003)(5660300001)(72206003)(68736007)(478600001)(36756003)(6666003)(8676002)(47776003)(81166006)(8656006)(81156014)(8936002)(65956001)(65826007)(230700001)(7736002)(67846002)(305945005)(23676004)(97736004)(42882007)(2486003)(52116002)(52146003)(76176011)(26005)(16526019)(2906002)(65806001)(66066001)(53936002)(6512007)(229853002)(6486002)(31696002)(53416004)(4326008)(105586002)(106356001)(64126003)(50466002)(316002)(6116002)(3846002)(69596002)(25786009)(6246003)(2950100002)(31686004); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR0701MB1071; H:hyd1ajoseph-dt.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjJQUjA3MDFNQjEwNzE7MjM6MlRsaitPMyttRExNSDhVYmFyR0N5Qmkv?= =?utf-8?B?UFNjcENhSjV5ejlmaSt1YWJHSVZET3Y4ajJIVE1kZmxBendhT3dWOVN6MlVk?= =?utf-8?B?UmxMRHRpbk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hzmcEC90TDM0oiyBuZrI0RrtI0LRUvGajNusqdC4aAExTDOzv9OfAYL8rFEr5dwqgZLDIpJxCmA47jDpwQkZaqlDMrPx5fSKICoItR+zT75Bgo188ZAP6HfqlvxPJT+uflpG3mDRdVyzm4KGkGQlACAxxGVYgxVaHrl2u+g83b10ltZFbDTmexu11mLQe33k2WcfPyBI6dIKojKE3iLKxQMbIWTljtInm0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2018 05:57:39.4856 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5ce93c78-27d7-4f8f-a977-08d584b98173 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR0701MB1071 Subject: Re: [dpdk-dev] [PATCH v2 0/5] handle seq no overflow in IPsec offload 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: Thu, 08 Mar 2018 05:57:44 -0000 Hi Akhil, Radu, Can you review the patch set and share your comments? Thanks, Anoob On 01/03/18 14:51, Anoob Joseph wrote: > This series enables application to set the sequence number soft limit > for IPsec offload. In inline IPsec offload, as the sequence number > (maintained by PMD/device) reaches the specified soft limit, the PMD > would raise an "IPSEC_EVENT". This event would have some metadata, > which would be used by the application to identify the SA on which the > sequence number overflow is about to happen. > > Anoob Joseph (5): > lib/ethdev: support for inline IPsec events > lib/security: add ESN soft limit in conf > lib/security: extend userdata for IPsec events > examples/ipsec-secgw: handle ESN soft limit event > app/testpmd: support for IPsec event > > app/test-pmd/parameters.c | 2 ++ > app/test-pmd/testpmd.c | 2 ++ > examples/ipsec-secgw/ipsec-secgw.c | 56 +++++++++++++++++++++++++++++++ > examples/ipsec-secgw/ipsec.c | 10 ++++-- > examples/ipsec-secgw/ipsec.h | 2 ++ > lib/librte_ether/rte_ethdev.h | 28 ++++++++++++++++ > lib/librte_security/rte_security.h | 16 +++++---- > lib/librte_security/rte_security_driver.h | 6 ++-- > 8 files changed, 110 insertions(+), 12 deletions(-) >