From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0066.outbound.protection.outlook.com [104.47.34.66]) by dpdk.org (Postfix) with ESMTP id BB98B4C77 for ; Thu, 1 Mar 2018 10:22:13 +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=9avKR2jz4dmA6+1Icb2RulkT3WH5zeb52/bGyg5GZK8=; b=UvKvUxitxsoJ1viGqForVCq+oOU+deJVpXlDKMHDliW+fYNc/xWaI0RR1soV/VuTrxQoWWyfmPsWfZ3i2+Z3OGG61U+rNfZ6Rd8rcYXzEGTpZjCu6EPX8RsgxHsTVJfpshxgpc4JLKFpJ7Ie9zHqx6utGX1/DsNSvQ0dUMYDQUQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; Received: from ajoseph83.caveonetworks.com.caveonetworks.com (115.113.156.2) by DM2PR0701MB1068.namprd07.prod.outlook.com (2a01:111:e400:2472::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 09:22:09 +0000 From: Anoob Joseph To: Akhil Goyal , Declan Doherty , Radu Nicolau Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , dev@dpdk.org Date: Thu, 1 Mar 2018 14:51:38 +0530 Message-Id: <1519896103-32479-1-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519191430-19201-1-git-send-email-anoob.joseph@caviumnetworks.com> References: <1519191430-19201-1-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: MWHPR06CA0006.namprd06.prod.outlook.com (2603:10b6:301:39::19) To DM2PR0701MB1068.namprd07.prod.outlook.com (2a01:111:e400:2472::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 51cbeec2-1586-4a62-db47-08d57f55e9fc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DM2PR0701MB1068; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1068; 3:CZObnoZLFlxdH2XJyqJmWNXJWBLZiaAckGc+2nOk6RvQIlAPS0oil9giBzNT7wgqvfZgmcWa/49i2yZkg5olpvlgc7R2+VCI4SlpzijtUXUlQsUv06cO6gyePEgHq96jSQ9iYOcrA5BtfVLXayZMaeoeLpaOG+9EDtjxFtxg6Zflaz9Zlh9SHzun44mYNNjMtPL6IYwsTIAF7AkPYpyx4P2D9vvl/9YP7DLjUSy4hJBezpd6fpf039yeAxH3afWC; 25:4806/vI/f+nzs3f+6IiJ9lBJlpF3s4Wc5v54ecxF0vDycs79E9L1SbNkpG+0MqZoQL2wx8fWbp3Nl/mKlIm+GgzbYnTpzM2DYbD+INByhSN8fpxgoy/yUsP5c9dh+jWK9hDyuaKxQe0cc0Eubshko93kEng4O98P8abIj7/ehM03pMRwl+rooooQxzi7dO3eK1G16OFbKtQuEr8r4qmq1vYsvO4c8IKS1PEl3NUJv9Wev36fLLK3QY7OlPHu3jG5jXz3VTE1t8ppP7cHo0wkE5heDaSq5SfnyRWrRWY8uZmUYN6R/UZGuBG+YJtPalKsAetN7kmULOXpAGKJHgVZFA==; 31:phraBgm8Z/O5dPQelKR0T3bWjXoFpjf2kEdo6d+wwR/GL3mhoJ/T3Zma0dWhEmNQN9JeHeuefu+mDUgAfc9aj/PC7zOPbdg0Bdbhcpkhjf1llIwZA62d8Wa9GTndnzrsziRwTJBJ3fRfZ3ot/WZz3UJELAjN4HQCeTveb3Ih6Ywq/3G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-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)(3002001)(3231220)(944501224)(52105095)(93006095)(10201501046)(6041288)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:DM2PR0701MB1068; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB1068; X-Forefront-PRVS: 05986C03E0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(396003)(376002)(39380400002)(346002)(199004)(189003)(76176011)(186003)(8676002)(386003)(6116002)(50226002)(2950100002)(106356001)(6666003)(2906002)(81166006)(52116002)(478600001)(81156014)(3846002)(72206003)(36756003)(97736004)(8656006)(8936002)(54906003)(110136005)(6512007)(25786009)(50466002)(316002)(105586002)(51416003)(5660300001)(42882007)(6486002)(47776003)(16586007)(55236004)(48376002)(26005)(6506007)(66066001)(59450400001)(53936002)(305945005)(68736007)(4326008)(16526019)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB1068; H:ajoseph83.caveonetworks.com.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: =?us-ascii?Q?1; DM2PR0701MB1068; 23:FaAQlFnTzIpMD/G4oYzzRKLQHAVzIu4lBKrR11s?= =?us-ascii?Q?2VdGVIe68Skye9Ltncn3ykWH6P9mqQWGkp3e9s9il8ta2ITeSQD6MIJY2dhu?= =?us-ascii?Q?3k60JXM7Zo8RWNcEdliAEarqF1GjERo4U5L71K0Au0YMRKEZB2smO9wSKaI2?= =?us-ascii?Q?uF4UKREnCeSuhlFulYzMrMa8oxisYbe2aWZXky6/bp+jISblRQ+cpZgHnRFa?= =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JWCflRGOyRN9mO/5BdFRGmNt3z SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2018 09:22:09.0372 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 51cbeec2-1586-4a62-db47-08d57f55e9fc X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1068 Subject: [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, 01 Mar 2018 09:22:14 -0000 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(-) -- 2.7.4