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 AEA2742C5A; Thu, 8 Jun 2023 08:55:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 86BD1410FA; Thu, 8 Jun 2023 08:55:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1903E40042 for ; Thu, 8 Jun 2023 08:55:28 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 357LwAdV023531; Wed, 7 Jun 2023 23:55:25 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=OXBDuYTMFErkfL33sEk0/lR5Yk/6BZKNEhFMvJ1KGTw=; b=CXh+TT/eo54Eb0jReQadtFJYRdgaamFaAyV93oRuTWLSUGziu8LbVIIoK5qgl5YdUUED 1EKv713b8iw1PaFN22C3FLVbYvOXq/MlmISqbFmUCq+xb4AXTbk8URE40sEuxjV4pA9a 0BxWM0kDvpxnswvHczN9NcPEaMoiqKXO7o2mJDGIcnLROKeiw+tL989v98kCrH+jg2wU yRfOl2rO6mfcePaZsUr11Mt0rCk9gIyagglGQX76qABPnRzEWtpvO6z7J8QaXP+WGLqK R+XYssdnoqjnSeRa64oH11bnXCXSaZONdEv4XDnYxaO3KZShv54LJkIo8rpILrTIVMhN 9g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r329c1jsf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 07 Jun 2023 23:55:25 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 7 Jun 2023 23:55:03 -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.48 via Frontend Transport; Wed, 7 Jun 2023 23:55:03 -0700 Received: from localhost.localdomain (unknown [10.28.36.102]) by maili.marvell.com (Postfix) with ESMTP id AB5313F703F; Wed, 7 Jun 2023 23:55:00 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , Akhil Goyal Subject: [PATCH v3 00/13] Add MACsec unit test cases Date: Thu, 8 Jun 2023 12:24:45 +0530 Message-ID: <20230608065458.333670-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230607151940.223417-1-gakhil@marvell.com> References: <20230607151940.223417-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 9uRPLibVTem9EdrJwH1G4kGsJY0i-JAh X-Proofpoint-ORIG-GUID: 9uRPLibVTem9EdrJwH1G4kGsJY0i-JAh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-08_04,2023-06-07_01,2023-05-22_02 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 Inline MACsec offload was supported in DPDK 22.11 using rte_security APIs. This patchset adds few minor changes in the rte_security APIs to specify the direction of SA/SC and update the SC configuration to set packet number threshold. The patchset also add functional test cases in dpdk-test app to verify MACsec functionality. This patchset is pending from last release [1] due to lack of hardware to test. Now the test cases are verified on Marvell cnxk PMD and the pmd support is added as a separate patchset. [1] https://patches.dpdk.org/project/dpdk/cover/20220928124516.93050-1-gakhil@marvell.com/ Changes in v3: - updated libabigail.abignore exception as suggested by David. Changes in v2: - Added abignore for experimental APIs - Fixed build Akhil Goyal (10): security: add direction in SA/SC configuration security: add MACsec packet number threshold test/security: add inline MACsec cases test/security: add MACsec integrity cases test/security: verify multi flow MACsec test/security: add MACsec VLAN cases test/security: add MACsec negative cases test/security: verify MACsec stats test/security: verify MACsec Tx HW rekey test/security: remove no MACsec support case Ankur Dwivedi (3): test/security: verify MACsec interrupts test/security: verify MACsec Rx rekey test/security: verify MACsec anti replay app/test/meson.build | 1 + app/test/test_security.c | 37 - app/test/test_security_inline_macsec.c | 2332 ++++++++++ .../test_security_inline_macsec_vectors.h | 3895 +++++++++++++++++ devtools/libabigail.abignore | 4 + lib/security/rte_security.c | 16 +- lib/security/rte_security.h | 24 +- lib/security/rte_security_driver.h | 12 +- 8 files changed, 6270 insertions(+), 51 deletions(-) create mode 100644 app/test/test_security_inline_macsec.c create mode 100644 app/test/test_security_inline_macsec_vectors.h -- 2.25.1