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 949A342C4E; Wed, 7 Jun 2023 17:19:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1DFEB40ED5; Wed, 7 Jun 2023 17:19:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 0D7A740A84 for ; Wed, 7 Jun 2023 17:19:54 +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 357Dvh1r028140; Wed, 7 Jun 2023 08:19:51 -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=4AEZRh+noDsZBRR2KCY5+D8AQfMNDi0K7uy40kWTHMc=; b=QyqC8fgAVsaRbTsPHO5FwA031g957sCFTyP1r9zl2CLEgkOtiL2iFtk+5FmmMcXVU2c1 jtbK4cRMI+9gd0kIQayg6x9AigCAKjXv2kv4TLCSKc7BDYnhJicEtAHlYOVFvZe+vPz7 ii+KNU4FOG3r/C6Z4q7UgmQ95+QXyhRAiGAbF85uCScqXAh925ZPm/Ufk2dN2hRZpXTz JCh42ZgkOL1YyBsbdwqNbBQMYRsVTVel3ZHhtt6yRQ8r8MjlPBdfe1vKXw6Ou8CLe59h m1BuZSkNOjXzawqZmG41gv2GQV8+w43dMjvq1CjEQtR+WjOxVj6dFZJchSRoUt0KHwUL QA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r2a7bv64j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 07 Jun 2023 08:19:50 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Wed, 7 Jun 2023 08:19:47 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Wed, 7 Jun 2023 08:19:47 -0700 Received: from localhost.localdomain (unknown [10.28.36.102]) by maili.marvell.com (Postfix) with ESMTP id 7007C3F708C; Wed, 7 Jun 2023 08:19:44 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , Akhil Goyal Subject: [PATCH v2 00/13] Add MACsec unit test cases Date: Wed, 7 Jun 2023 20:49:27 +0530 Message-ID: <20230607151940.223417-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230523194918.1940212-1-gakhil@marvell.com> References: <20230523194918.1940212-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: TjkCFDPFRIfs_23k9OdsWG6DO-CMxUtm X-Proofpoint-GUID: TjkCFDPFRIfs_23k9OdsWG6DO-CMxUtm 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-07_07,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 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 | 7 + lib/security/rte_security.c | 16 +- lib/security/rte_security.h | 24 +- lib/security/rte_security_driver.h | 12 +- 8 files changed, 6273 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