From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0054.outbound.protection.outlook.com [104.47.38.54]) by dpdk.org (Postfix) with ESMTP id 48FBE28F3 for ; Wed, 21 Feb 2018 06:38:30 +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=bAt+vg33eqXibhUrNxkxJn0IVXsd3KMCfK3dMILI/gs=; b=StYtboRbBsbHM+YWGSmoBl2KZksmVss9RfafLErVFwxpkjbkoLGdUT8uGyildZmDzHNycIPg6GYT/XwM8JqYHfi/WKhbZzTv2VGNlIQBPgs56Fjw4gKj6uBH1wGObybNJR+Z1G/tTulfl9L9IcE9hO+zpuu4rRK0CmdYSvbhpKw= 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 DM2PR0701MB1066.namprd07.prod.outlook.com (2a01:111:e400:2472::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Wed, 21 Feb 2018 05:38:25 +0000 From: Anoob Joseph To: Akhil Goyal , Declan Doherty , Radu Nicolau Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , Nelio Laranjeiro , dev@dpdk.org Date: Wed, 21 Feb 2018 11:07:05 +0530 Message-Id: <1519191430-19201-1-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516626668-9031-0-git-send-email-anoob.joseph@caviumnetworks.com> References: <1516626668-9031-0-git-send-email-anoob.joseph@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: CY4PR22CA0059.namprd22.prod.outlook.com (2603:10b6:903:ae::21) To DM2PR0701MB1066.namprd07.prod.outlook.com (2a01:111:e400:2472::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fae71b2c-c115-47fc-9e60-08d578ed5575 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DM2PR0701MB1066; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB1066; 3:2CWfgfDc1abWvTRPWpOq7YjsuWddlyXlZG5SJiLAZnu5FkfA6p66SB6Wfsb+cVcdGJL/dnYgz43F9DkYl9p/OipXgZxPWquUxRnbJpZsw1Sv83TT/CYf9VkoOg+2PAbYeuJvtIkec2/gNt9D+VOqBPkCKDajTejbcHBJ8G2JOkL9w4seBMPvomxMhVJfDTR0k9kWhGT+fz0a/ukP2VkI6rRO3LRWx1cyUSZTc9LEhgcTWberoEG4T7pkran8q1xb; 25:QckHJK7ETPYuIPpjop1i2A1cbErg7EqSu7JWK2a3g4WzbTa/lcc32NUJzJai22IksP8hPeMVCNM+d9qYdlI2PGeLTF/u38GkTlG1VDldiQNx3okEEXa7BmNeFYvKd+YHz/dJ4dFVOtvl2s0nn6+B5awleJ859/wlGV/caiQRKB3K4NPIBvnb/NZXc6duKWiTE7Q6FC0jrYT15NwBzmZ7kMk2gnO48yW/l5CKoUMPj5c3dEgoFD+Ey0u/VMuxa4/1HRrzcbGoYTwQiCHKqKqtFgf5pt1+oyfp9gj9ZIe8khYCkVHLe5WkViniC1yLlSR+gze6R7UBowyFa8wfjCuS2g==; 31:s0GoY1fO50SHKmLAiWGecPAneZz7isQx7g/Gni+yf8eT04BAzTDSyMUMJBzIYuC+fn4sfjvvLmnWAoBtAb4LpUOqkiUVQKxfcXqBAevIHkMpBN3XW5Xl0NudiZ0jy/4fZ6cAEz5uR8Wm9K4Z9c9T0kP3XsF5FxCfM90iGOgV5vu7anbSbBsZL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am-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192374486261705); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001063)(6040501)(2401047)(5005006)(8121501046)(3002001)(93006095)(10201501046)(3231101)(944501161)(6041288)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:DM2PR0701MB1066; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB1066; X-Forefront-PRVS: 0590BBCCBC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39380400002)(346002)(376002)(39860400002)(189003)(199004)(106356001)(386003)(76176011)(59450400001)(66066001)(47776003)(6512007)(478600001)(186003)(26005)(16526019)(2950100002)(72206003)(6666003)(42882006)(5660300001)(7736002)(105586002)(68736007)(36756003)(6506007)(305945005)(50466002)(81156014)(16586007)(6486002)(48376002)(4326008)(110136005)(8676002)(55236004)(53936002)(316002)(81166006)(2906002)(6116002)(51416003)(3846002)(52116002)(50226002)(25786009)(97736004)(8656006)(54906003)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB1066; H:ajoseph83.caveonetworks.com.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: =?us-ascii?Q?1; DM2PR0701MB1066; 23:GhAjubI7A0qsTBB+2/G0zJeVhIOpsRK1+XIsDgy?= =?us-ascii?Q?ri4KCoV4HqCvfWbyHHnZx9p1i9syUvkFuPAnx9/BoYGGkaZtkYOkvOlm9cmy?= =?us-ascii?Q?mwZe7xIUcvzbRq+HmjiRiOief2aYPUKaFnyiNfdTeNLOpFHej+zXu/1fN29a?= =?us-ascii?Q?l9sO2h1hjCj5XZrvY4hzWpUGMQxE0/whSpNY2ImytqZ9+2Ndd1kdD9mWN4dc?= =?us-ascii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/+0Qb4YXTOv1 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2018 05:38:25.3209 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fae71b2c-c115-47fc-9e60-08d578ed5575 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB1066 Subject: [dpdk-dev] [PATCH 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: Wed, 21 Feb 2018 05:38:30 -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 | 22 ++++++++++++ lib/librte_security/rte_security.h | 16 +++++---- lib/librte_security/rte_security_driver.h | 6 ++-- 8 files changed, 104 insertions(+), 12 deletions(-) -- 2.7.4