From patchwork Thu Sep 14 15:22:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Coyle, David" X-Patchwork-Id: 138 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1BA6D42598; Thu, 14 Sep 2023 17:36:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0624B402CF; Thu, 14 Sep 2023 17:36:19 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id F23D440293 for ; Thu, 14 Sep 2023 17:36:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694705777; x=1726241777; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hcuvpHmchiV3gPnyU7NGi91EJ0GGDFiclVxm/MaVTq4=; b=k8wofi8zXmKVUi1/v+OUTXfWLNavhOfbQCxurdyd1y6SAFS77A1eWKea NVL6W4amMfRq/5ecHEvU5LyXjK5vX/cZU8yVXtTI3hJc4i11JnpuIV0h8 uRsOZCzfpWa7taxgMx+tRodJvCboC8VzNqxD/Xcm5+v6MXRrSFjusBMvg esXVdDTKRhOzRFy4ZRahXBeWoIDrNyIhslITljA5gH7ipDBeTykPLdvGB gL+RW2Wo54vAjZ1br3mULJJkl0is2lv8x42AyWoM89HmZpwSBH/SNIYWx ao2GLR6w1dzm9VUTsn3mhe+OMUBYJfob/NtGKG00ue/ktPCjaqi9n6uIh Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="381697690" X-IronPort-AV: E=Sophos;i="6.02,146,1688454000"; d="scan'208";a="381697690" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2023 08:22:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10833"; a="1075429127" X-IronPort-AV: E=Sophos;i="6.02,146,1688454000"; d="scan'208";a="1075429127" Received: from silpixa00399912.ir.intel.com (HELO silpixa00399912.ger.corp.intel.com) ([10.237.222.220]) by fmsmga005.fm.intel.com with ESMTP; 14 Sep 2023 08:22:25 -0700 From: David Coyle To: dev@dpdk.org Cc: kai.ji@intel.com, anoobj@marvell.com, kevin.osullivan@intel.com, David Coyle Subject: [PATCH v3 0/2] crypto/scheduler: add support for DOCSIS security protocol Date: Thu, 14 Sep 2023 15:22:05 +0000 Message-Id: <20230914152207.19794-1-david.coyle@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230811102401.12552-1-david.coyle@intel.com> References: <20230811102401.12552-1-david.coyle@intel.com> MIME-Version: 1.0 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 This patchset adds support to the cryptodev scheduler PMD and unit tests for the DOCSIS security protocol. Support for other stateless security protocols can be added in the future as required with relative ease now that the framework is in place. v3: * Limit support to the DOCSIS security protocol only v2: * Improve inclusion of rte_security header files * Fix typo in commit message David Coyle (2): crypto/scheduler: support DOCSIS security protocol test/crypto: add DOCSIS security tests for cryptodev scheduler app/test/test_cryptodev.c | 12 +- doc/guides/rel_notes/release_23_11.rst | 4 + drivers/crypto/scheduler/meson.build | 2 +- .../scheduler/rte_cryptodev_scheduler.c | 221 +++++++++- drivers/crypto/scheduler/scheduler_failover.c | 12 +- .../crypto/scheduler/scheduler_multicore.c | 10 +- .../scheduler/scheduler_pkt_size_distr.c | 54 +-- drivers/crypto/scheduler/scheduler_pmd.c | 33 ++ drivers/crypto/scheduler/scheduler_pmd_ops.c | 381 +++++++++++++----- .../crypto/scheduler/scheduler_pmd_private.h | 159 +++++--- .../crypto/scheduler/scheduler_roundrobin.c | 6 +- 11 files changed, 664 insertions(+), 230 deletions(-)