From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A2088A0C49; Tue, 20 Jul 2021 07:56:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29D794068F; Tue, 20 Jul 2021 07:56:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id BA7CF4068B for ; Tue, 20 Jul 2021 07:56:49 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16K5o0HX028413; Mon, 19 Jul 2021 22:56:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=qQH936j2tVIGvjOnN3M1qiiAt+14eU0mcxhsGPkgJNc=; b=VGPqyKwL2E07OWLFq7E1R1ZHyrH9HfuDdXN88Hx7UnTQYiStcF+TVxmAq1jTwqJKzZpa CrsVEzjibYsYZazcVo07UHJ1QAkqC2pYrLIkOOPRIptEQJlCkClrnzwIlVnxbqVSG6vi SMCBmGNZ5PFsMiHDRrHYl6tiZKmCYNNTw2nAYdB6Hj/OOF1584mf+Q9IXvOND2+9o9pg DiNsr6ZZOG4xuIEJvtuy2PwDNI6PbordrvKRxf5OggM13Pg5kd3E7JUbbaHmEwyp7y56 39EP78YdYMUQLYS2R/8xA0eFU1z096bwiBiNW9XokwWZr7PyiPESJ3ZnfmU5Rk/BeLj9 dQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 39wa68b75y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 19 Jul 2021 22:56:46 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 19 Jul 2021 22:56:45 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Mon, 19 Jul 2021 22:56:45 -0700 Received: from HY-LT1002.marvell.com (unknown [10.193.70.144]) by maili.marvell.com (Postfix) with ESMTP id A14F03F7048; Mon, 19 Jul 2021 22:56:41 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Declan Doherty , Fan Zhang , "Konstantin Ananyev" CC: Anoob Joseph , Jerin Jacob , "Ankur Dwivedi" , Tejasree Kondoj , Date: Tue, 20 Jul 2021 11:16:11 +0530 Message-ID: <1626759974-334-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: BQEn659KnJmerbPPz0L4DVbA2yBuDPv- X-Proofpoint-ORIG-GUID: BQEn659KnJmerbPPz0L4DVbA2yBuDPv- X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-20_04:2021-07-19, 2021-07-20 signatures=0 Subject: [dpdk-dev] [PATCH 0/2] Improvements to rte_security X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add options for offloading - IV generation - SA lifetime With lookaside protocol (IPsec) offloads, application is expected to provide IV in rte_crypto_op. For cryptodevs which can generate true random, this operation can be offloaded. SA lifetime is used in tracking SA expiries and initiating SA renegotiation. For cryptodevs which can track expiries, this operation can be offloaded. This patchset introduces ABI breakages and is intended for 21.11 release Anoob Joseph (2): lib/security: add IV generation lib/security: add SA lifetime configuration examples/ipsec-secgw/ipsec.c | 2 +- examples/ipsec-secgw/ipsec.h | 2 +- lib/cryptodev/rte_crypto.h | 7 +++++++ lib/security/rte_security.h | 42 ++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 49 insertions(+), 4 deletions(-) -- 2.7.4