From patchwork Mon Aug 30 11:09:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shijith Thotton X-Patchwork-Id: 97540 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 F1424A034F; Mon, 30 Aug 2021 13:11:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B947741167; Mon, 30 Aug 2021 13:11:04 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 5A6FF41165 for ; Mon, 30 Aug 2021 13:11:02 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 17UAl39O024479 for ; Mon, 30 Aug 2021 04:11:01 -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=6dhMn8TdnxEYttp35EI5YLgC40bx/PbA5308Fu7ODpI=; b=ROQ23g5QFQAwr0PTZ3/simuOFYWgVrOUrpbFBoUhvGTaWcOvwgkthVVM2JfCSqwX/evy 2/0mi2/tb1a7EI8A9moopWKPUJwJPbSquRJ2iG5xHy7Emu+JS0xprmKiKFpVtEMGT0oP Wv8NlZO4wvi+H0yHweCmZEA/tMZ/GaCKQAWCXhW+i59LY+enKhJ+dbWcd7b7CFbuRFBJ YAEnY/Dqzvm1VzZIaaRXQ9P5pSI7MWGVxgP4X6NDvHM4v0ajYDerldWiCAbBgmMwTHGJ iy2oi4nb0WBwJYifv3dXRFxwmt30bsQ8tVe+vaNBxa8xfT2QeY3opVsZBpQv8NtOBLX3 Zg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 3arj9m1y48-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 30 Aug 2021 04:11:01 -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, 30 Aug 2021 04:10:59 -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, 30 Aug 2021 04:10:59 -0700 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id 57D0B3F707E; Mon, 30 Aug 2021 04:10:57 -0700 (PDT) From: Shijith Thotton To: CC: Shijith Thotton , , , , , Date: Mon, 30 Aug 2021 16:39:09 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: l0w6NghccI0fsTx9Y6r-Qi68O_Eb-y7P X-Proofpoint-ORIG-GUID: l0w6NghccI0fsTx9Y6r-Qi68O_Eb-y7P X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-08-30_04,2021-08-30_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 0/8] Crypto adapter support for Marvell CNXK driver 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" First three patches are to support crypto adapter implementation and the remaining patches add event crypto adapter OP_FORWARD mode support on Marvell CN9K and CN10K SOC. Shijith Thotton (8): net/cnxk: add flag to show CPT can enqueue events event/cnxk: add macro to set eventdev ops common/cnxk: add API to check CPT IQ is full drivers: add cnxk crypto adapter eventdev ops crypto/cnxk: add cn9k crypto adapter fast path ops event/cnxk: add cn9k crypto adapter fast path ops crypto/cnxk: add cn10k crypto adapter fast path ops event/cnxk: add cn10k crypto adapter fast path ops doc/guides/rel_notes/release_21_11.rst | 3 + drivers/common/cnxk/roc_cpt.c | 6 +- drivers/common/cnxk/roc_cpt.h | 11 + drivers/common/cnxk/roc_cpt_priv.h | 6 - drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 95 +++++ drivers/crypto/cnxk/cn10k_cryptodev_ops.h | 6 + drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 235 +++++++---- drivers/crypto/cnxk/cn9k_cryptodev_ops.h | 6 + drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 37 ++ drivers/crypto/cnxk/meson.build | 2 +- drivers/crypto/cnxk/version.map | 7 + drivers/event/cnxk/cn10k_eventdev.c | 222 +++++----- drivers/event/cnxk/cn10k_worker.c | 11 + drivers/event/cnxk/cn10k_worker.h | 21 +- drivers/event/cnxk/cn10k_worker_deq_ca.c | 65 +++ drivers/event/cnxk/cn9k_eventdev.c | 404 +++++++++---------- drivers/event/cnxk/cn9k_worker.c | 22 + drivers/event/cnxk/cn9k_worker.h | 41 +- drivers/event/cnxk/cn9k_worker_deq_ca.c | 65 +++ drivers/event/cnxk/cn9k_worker_dual_deq_ca.c | 75 ++++ drivers/event/cnxk/cnxk_eventdev.c | 94 +++++ drivers/event/cnxk/cnxk_eventdev.h | 18 + drivers/event/cnxk/meson.build | 5 +- drivers/net/cnxk/cn10k_rx.h | 5 +- drivers/net/cnxk/cn9k_rx.h | 3 +- 25 files changed, 1076 insertions(+), 389 deletions(-) create mode 100644 drivers/event/cnxk/cn10k_worker_deq_ca.c create mode 100644 drivers/event/cnxk/cn9k_worker_deq_ca.c create mode 100644 drivers/event/cnxk/cn9k_worker_dual_deq_ca.c