From patchwork Tue Nov 23 11:07:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104599 X-Patchwork-Delegate: jerinj@marvell.com 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 68B52A0C4C; Tue, 23 Nov 2021 12:07:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34DEC40040; Tue, 23 Nov 2021 12:07:53 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id F09654003C for ; Tue, 23 Nov 2021 12:07:51 +0100 (CET) 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 ESMTP id 1ANANGPw005869; Tue, 23 Nov 2021 03:07:51 -0800 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=6TgI7SUV5RKn99KWhvXSbvOdaVa8LmnQOoV3GmpQO00=; b=cKRE2ngqbevoBzMkOI4f8RJdUjI2NjQEMzCWWpJSogC6efGMYNojUCYVlujrS/ooUpeA wdas1tmB1ng4wn5la1T/6nsYJrHIN8Jdpry3+mwoFOtfZcx3qNZmc6SbShtJGJcPi/1E PiHNlcYiNlZcNNXZ+Tl0/O+JDb0eDbBCz2SP6M7Oqgp4Mb64TJUasxcxO5PqIHntc3g4 5mI7QChelrNBXmFCNFB4bthIXUcj2lAnPMx8Qpt3f8KQ0oN+/WYRMkeXxfrgBfO28n5A 8BRAne4FAn6WuHjd+c81NPEs0MSazdgt8uDtA28Sf68hkH2ZcRMDDeBlockybhMrkepd Dg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cgug50xjj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:07:51 -0800 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.2; Tue, 23 Nov 2021 03:07:48 -0800 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; Tue, 23 Nov 2021 03:07:49 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 4325D3F7078; Tue, 23 Nov 2021 03:07:46 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 01/10] doc: add skeleton for eventdevs feature matrices Date: Tue, 23 Nov 2021 16:37:34 +0530 Message-ID: <20211123110743.2002557-1-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211122075414.1834651-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: 3VJIR5KhAge6-WyXTbBo5osVFCQoN9F1 X-Proofpoint-ORIG-GUID: 3VJIR5KhAge6-WyXTbBo5osVFCQoN9F1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch adds skeleton for feature matrices for event dev and Rx/Tx adapters. Along with, .ini files are added for all supported PMDs. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated .gitignore | 5 ++ doc/guides/conf.py | 25 ++++++++++ doc/guides/eventdevs/features/cnxk.ini | 14 ++++++ doc/guides/eventdevs/features/default.ini | 51 +++++++++++++++++++++ doc/guides/eventdevs/features/dpaa.ini | 14 ++++++ doc/guides/eventdevs/features/dpaa2.ini | 14 ++++++ doc/guides/eventdevs/features/dsw.ini | 14 ++++++ doc/guides/eventdevs/features/octeontx.ini | 14 ++++++ doc/guides/eventdevs/features/octeontx2.ini | 14 ++++++ doc/guides/eventdevs/features/opdl.ini | 14 ++++++ doc/guides/eventdevs/features/sw.ini | 14 ++++++ doc/guides/eventdevs/index.rst | 1 + doc/guides/eventdevs/overview.rst | 40 ++++++++++++++++ 13 files changed, 234 insertions(+) create mode 100644 doc/guides/eventdevs/features/cnxk.ini create mode 100644 doc/guides/eventdevs/features/default.ini create mode 100644 doc/guides/eventdevs/features/dpaa.ini create mode 100644 doc/guides/eventdevs/features/dpaa2.ini create mode 100644 doc/guides/eventdevs/features/dsw.ini create mode 100644 doc/guides/eventdevs/features/octeontx.ini create mode 100644 doc/guides/eventdevs/features/octeontx2.ini create mode 100644 doc/guides/eventdevs/features/opdl.ini create mode 100644 doc/guides/eventdevs/features/sw.ini create mode 100644 doc/guides/eventdevs/overview.rst diff --git a/.gitignore b/.gitignore index b98a43a601..212c7aa28e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,11 @@ doc/guides/regexdevs/overview_feature_table.txt doc/guides/vdpadevs/overview_feature_table.txt doc/guides/bbdevs/overview_feature_table.txt doc/guides/gpus/overview_feature_table.txt +doc/guides/eventdevs/overview_feature_table.txt +doc/guides/eventdevs/overview_rx_adptr_feature_table.txt +doc/guides/eventdevs/overview_tx_adptr_feature_table.txt +doc/guides/eventdevs/overview_crypto_adptr_feature_table.txt +doc/guides/eventdevs/overview_timer_adptr_feature_table.txt # ignore generated ctags/cscope files cscope.out.po diff --git a/doc/guides/conf.py b/doc/guides/conf.py index e6ce929bc8..1743ce301f 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -401,6 +401,31 @@ def setup(app): 'Features', 'Features availability in GPU drivers', 'Feature') + table_file = dirname(__file__) + '/eventdevs/overview_feature_table.txt' + generate_overview_table(table_file, 1, + 'Scheduling Features', + 'Features availability in eventdev drivers', + 'Feature') + table_file = dirname(__file__) + '/eventdevs/overview_rx_adptr_feature_table.txt' + generate_overview_table(table_file, 2, + 'Eth Rx adapter Features', + 'Features availability for Ethdev Rx adapters', + 'Feature') + table_file = dirname(__file__) + '/eventdevs/overview_tx_adptr_feature_table.txt' + generate_overview_table(table_file, 3, + 'Eth Tx adapter Features', + 'Features availability for Ethdev Tx adapters', + 'Feature') + table_file = dirname(__file__) + '/eventdevs/overview_crypto_adptr_feature_table.txt' + generate_overview_table(table_file, 4, + 'Crypto adapter Features', + 'Features availability for Crypto adapters', + 'Feature') + table_file = dirname(__file__) + '/eventdevs/overview_timer_adptr_feature_table.txt' + generate_overview_table(table_file, 5, + 'Timer adapter Features', + 'Features availability for Timer adapters', + 'Feature') if LooseVersion(sphinx_version) < LooseVersion('1.3.1'): print('Upgrade sphinx to version >= 1.3.1 for ' diff --git a/doc/guides/eventdevs/features/cnxk.ini b/doc/guides/eventdevs/features/cnxk.ini new file mode 100644 index 0000000000..480b5d03c6 --- /dev/null +++ b/doc/guides/eventdevs/features/cnxk.ini @@ -0,0 +1,14 @@ +; +; Supported features of the 'cnxk' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/features/default.ini b/doc/guides/eventdevs/features/default.ini new file mode 100644 index 0000000000..5b16c45193 --- /dev/null +++ b/doc/guides/eventdevs/features/default.ini @@ -0,0 +1,51 @@ +; +; Features of a default eventdev driver. +; +; This file defines the features that are valid for inclusion in +; the other driver files and also the order that they appear in +; the features table in the documentation. +; +[Scheduling Features] +queue_qos = +event_qos = +distributed_sched = +queue_all_types = +burst_mode = +implicit_release_disable = +nonseq_mode = +runtime_port_link = +multiple_queue_port = +carry_flow_id = +maintenance_free = + +; +; Features of a default Ethernet Rx adapter. +; +[Eth Rx adapter Features] +internal_port = +multi_eventq = +override_flow_id = +event_vector = + +; +; Features of a default Ethernet Tx adapter. +; +[Eth Tx adapter Features] +internal_port = +event_vector = + +; +; Features of a default Crypto adapter. +; +[Crypto adapter Features] +internal_port_op_new = +internal_port_op_fwd = +internal_port_qp_ev_bind = +session_private_data = + +; +; Features of a default Timer adapter. +; +[Timer adapter Features] +internal_port = +periodic = diff --git a/doc/guides/eventdevs/features/dpaa.ini b/doc/guides/eventdevs/features/dpaa.ini new file mode 100644 index 0000000000..2a88b81e05 --- /dev/null +++ b/doc/guides/eventdevs/features/dpaa.ini @@ -0,0 +1,14 @@ +; +; Supported features of the 'dpaa' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/features/dpaa2.ini b/doc/guides/eventdevs/features/dpaa2.ini new file mode 100644 index 0000000000..67988af042 --- /dev/null +++ b/doc/guides/eventdevs/features/dpaa2.ini @@ -0,0 +1,14 @@ +; +; Supported features of the 'dpaa2' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/features/dsw.ini b/doc/guides/eventdevs/features/dsw.ini new file mode 100644 index 0000000000..7de3f7b91b --- /dev/null +++ b/doc/guides/eventdevs/features/dsw.ini @@ -0,0 +1,14 @@ +; +; Supported features of the 'distributed software' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/features/octeontx.ini b/doc/guides/eventdevs/features/octeontx.ini new file mode 100644 index 0000000000..ac06d43d03 --- /dev/null +++ b/doc/guides/eventdevs/features/octeontx.ini @@ -0,0 +1,14 @@ +; +; Supported features of the 'octeontx' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/features/octeontx2.ini b/doc/guides/eventdevs/features/octeontx2.ini new file mode 100644 index 0000000000..3bce593858 --- /dev/null +++ b/doc/guides/eventdevs/features/octeontx2.ini @@ -0,0 +1,14 @@ +; +; Supported features of the 'octeontx2' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/features/opdl.ini b/doc/guides/eventdevs/features/opdl.ini new file mode 100644 index 0000000000..73922ca79f --- /dev/null +++ b/doc/guides/eventdevs/features/opdl.ini @@ -0,0 +1,14 @@ +; +; Supported features of 'Ordered Packet Distribution Library' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/features/sw.ini b/doc/guides/eventdevs/features/sw.ini new file mode 100644 index 0000000000..5d787a6220 --- /dev/null +++ b/doc/guides/eventdevs/features/sw.ini @@ -0,0 +1,14 @@ +; +; Supported features of the 'software' eventdev driver. +; +; Refer to default.ini for the full list of available PMD features. +; +[Scheduling Features] + +[Eth Rx adapter Features] + +[Eth Tx adapter Features] + +[Crypto adapter Features] + +[Timer adapter Features] diff --git a/doc/guides/eventdevs/index.rst b/doc/guides/eventdevs/index.rst index 2143025390..b11657f7ae 100644 --- a/doc/guides/eventdevs/index.rst +++ b/doc/guides/eventdevs/index.rst @@ -11,6 +11,7 @@ application through the eventdev API. :maxdepth: 2 :numbered: + overview cnxk dlb2 dpaa diff --git a/doc/guides/eventdevs/overview.rst b/doc/guides/eventdevs/overview.rst new file mode 100644 index 0000000000..3c5ee515f8 --- /dev/null +++ b/doc/guides/eventdevs/overview.rst @@ -0,0 +1,40 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(C) 2021 Marvell. + +Event Device Supported Functionality Matrices +============================================= + +Event device supported features +------------------------------- + +.. _table_eventdev_pmd_features: + +.. include:: overview_feature_table.txt + +Ethernet Rx adapter supported features +-------------------------------------- + +.. _table_eventdev_rx_adapter_features: + +.. include:: overview_rx_adptr_feature_table.txt + +Ethernet Tx adapter supported features +-------------------------------------- + +.. _table_eventdev_tx_adapter_features: + +.. include:: overview_tx_adptr_feature_table.txt + +Crypto device adapter supported features +---------------------------------------- + +.. _table_cryptodev_adapter_features: + +.. include:: overview_crypto_adptr_feature_table.txt + +Timer adapter supported features +-------------------------------- + +.. _table_timer_adapter_features: + +.. include:: overview_timer_adptr_feature_table.txt From patchwork Tue Nov 23 11:07:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104600 X-Patchwork-Delegate: jerinj@marvell.com 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 0770DA0C4C; Tue, 23 Nov 2021 12:07:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 199E1410E5; Tue, 23 Nov 2021 12:07:56 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 0716C410E4 for ; Tue, 23 Nov 2021 12:07:54 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AN76ptN009919; Tue, 23 Nov 2021 03:07:54 -0800 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=8tlWlJWVNM40THWX2DsNcJF2FworA8muAKJiZq3FyHo=; b=I2iWH0o4O3XpM+IsbTsK5Jzb+HKa0TXK3F8FXKYe3joEv8cy2a5pDdpFKWTfPu6I0+6O 7wx055efWvinzgD1L8poVU/A5os/YjuViXzFQej0xREhO86Yil4otDLcOKYRFj9+iy4/ bXlXETUl+JSClPJmxUDzBveZWQSXIlI31Qo3AHWPEhNzz2pH04FUWfTs3e76h9Fr39ID s+RAGaf/Vy4ezK0jA7BxuQARHg/hDVV/Ga65Bh0MTWkZ7AqVCWij73ycPZDPekDRrzdS kgJHluZbCI5lkS3jIpSKOFC3wPsbDX1tG044zhDOyOA2MFarRxdowGafR0xOLrXSggD5 Kw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumj9149-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:07:54 -0800 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.18; Tue, 23 Nov 2021 03:07:52 -0800 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; Tue, 23 Nov 2021 03:07:52 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id A0B703F7081; Tue, 23 Nov 2021 03:07:49 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 02/10] doc: update eventdev feature matrix for octeontx Date: Tue, 23 Nov 2021 16:37:35 +0530 Message-ID: <20211123110743.2002557-2-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: C8R7CLLH8NmoGudSvfId2MwtaxJ8gpjz X-Proofpoint-ORIG-GUID: C8R7CLLH8NmoGudSvfId2MwtaxJ8gpjz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for octeontx platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/octeontx.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/eventdevs/features/octeontx.ini b/doc/guides/eventdevs/features/octeontx.ini index ac06d43d03..ec044e6289 100644 --- a/doc/guides/eventdevs/features/octeontx.ini +++ b/doc/guides/eventdevs/features/octeontx.ini @@ -4,11 +4,24 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +queue_qos = Y +distributed_sched = Y +queue_all_types = Y +nonseq_mode = Y +runtime_port_link = Y +multiple_queue_port = Y +carry_flow_id = Y +maintenance_free = Y [Eth Rx adapter Features] +internal_port = Y [Eth Tx adapter Features] +internal_port = Y [Crypto adapter Features] +internal_port_op_fwd = Y +session_private_data = Y [Timer adapter Features] +internal_port = Y From patchwork Tue Nov 23 11:07:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104601 X-Patchwork-Delegate: jerinj@marvell.com 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 DBEEBA0C4C; Tue, 23 Nov 2021 12:08:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B4A84003C; Tue, 23 Nov 2021 12:08:00 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 4B6974113E for ; Tue, 23 Nov 2021 12:07:58 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AN76tgZ009970; Tue, 23 Nov 2021 03:07:57 -0800 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=LkXTz0vntLAf3moOK6kEGW4SbSoOQOlVi0eX0r6vWPw=; b=gotb6eGLDRbFL/IN0qMP/RIIUaPI3dGcm66Y+81sCUKgUXCvzi77512vWICCHrjZq+ku wUKLe4zVV9hJTvnrCIMl/5fecR4Wmo1BImUZsFBsuERMbbbWWOm61Ush4sHAY6248n+D GheKRY5scRVQGfBAImV7CXxSbHJXS63Gyep4zu4kdKfn1dqAyaQZL31Pm403iE6a62ub I7rXiesm8xVpOW1AxjdEEWwNLk4fykT5PmSwESJl/i9nuwK5QEfz8LuswtklbDYH19oZ lvEhKgH43jJebhdFfqB3l1ux9bR/fs9L6hPjHvM6rxDqZ6GGvUcrVxyzgalp2x/0Tjs7 Xg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumj914g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:07:57 -0800 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.2; Tue, 23 Nov 2021 03:07:55 -0800 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.2 via Frontend Transport; Tue, 23 Nov 2021 03:07:55 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 085BE3F7078; Tue, 23 Nov 2021 03:07:52 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 03/10] doc: update eventdev feature matrix for octeontx2 Date: Tue, 23 Nov 2021 16:37:36 +0530 Message-ID: <20211123110743.2002557-3-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: s4yDBupc0xk-Z6F8Wwesnuq9N9f14h6g X-Proofpoint-ORIG-GUID: s4yDBupc0xk-Z6F8Wwesnuq9N9f14h6g X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for octeontx2 platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/octeontx2.ini | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/guides/eventdevs/features/octeontx2.ini b/doc/guides/eventdevs/features/octeontx2.ini index 3bce593858..05b84beb6e 100644 --- a/doc/guides/eventdevs/features/octeontx2.ini +++ b/doc/guides/eventdevs/features/octeontx2.ini @@ -4,11 +4,27 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +queue_qos = Y +distributed_sched = Y +queue_all_types = Y +nonseq_mode = Y +runtime_port_link = Y +multiple_queue_port = Y +carry_flow_id = Y +maintenance_free = Y [Eth Rx adapter Features] +internal_port = Y +multi_eventq = Y [Eth Tx adapter Features] +internal_port = Y [Crypto adapter Features] +internal_port_op_new = Y +internal_port_op_fwd = Y +internal_port_qp_ev_bind = Y [Timer adapter Features] +internal_port = Y +periodic = Y From patchwork Tue Nov 23 11:07:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104602 X-Patchwork-Delegate: jerinj@marvell.com 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 3C3A3A0C4C; Tue, 23 Nov 2021 12:08:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 001044113E; Tue, 23 Nov 2021 12:08:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id AF2F6410E6 for ; Tue, 23 Nov 2021 12:08:01 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AN76ptP009919; Tue, 23 Nov 2021 03:08:00 -0800 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=Hp8QAwRFLq9KSaq50UCDFBgRAIyIRDXKt+RymYN0AiE=; b=e3Vrtn8Arp7U91khL4CtL6g6QtKXx9DJ93JEo4D/7cboU0cH4QrrDAoPZpnE9Et7hgwd V+cBkuHHSuARPN7bnbHFLhoPw8PI1Hjk06cPd2H5nvpQyCL82m+ANP26yq7IuhH6WKMY Dftbe0xqXJRh+RhDAzDGOYkh7TH31b32180TgD3eAtp2b+77YDh/dyBEtJG0SYN7roAZ I6RZ1Bhm8Qt8VNORFekkx6qMCLj6JNEDuJbISt5VmqXo558Ws/XUSxtDsN6IT9XlzgI8 XcRlYNvgY2+F3IBW9kqw8B5XCVR3I3Zew1jtSQRx7E0XNrMQqp2mPl5rWEy1SenOdi0X qg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumj914t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:08:00 -0800 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.18; Tue, 23 Nov 2021 03:07:59 -0800 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; Tue, 23 Nov 2021 03:07:59 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 63D4D3F7081; Tue, 23 Nov 2021 03:07:56 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 04/10] doc: update eventdev feature matrix for cnxk Date: Tue, 23 Nov 2021 16:37:37 +0530 Message-ID: <20211123110743.2002557-4-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: EvV4IFyDxEdGHofYT8Hs0B3pywt9A9NE X-Proofpoint-ORIG-GUID: EvV4IFyDxEdGHofYT8Hs0B3pywt9A9NE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for cnxk platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/cnxk.ini | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/guides/eventdevs/features/cnxk.ini b/doc/guides/eventdevs/features/cnxk.ini index 480b5d03c6..7633c6e3a2 100644 --- a/doc/guides/eventdevs/features/cnxk.ini +++ b/doc/guides/eventdevs/features/cnxk.ini @@ -4,11 +4,28 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +queue_qos = Y +distributed_sched = Y +queue_all_types = Y +nonseq_mode = Y +runtime_port_link = Y +multiple_queue_port = Y +carry_flow_id = Y +maintenance_free = Y [Eth Rx adapter Features] +internal_port = Y +multi_eventq = Y +override_flow_id = Y +event_vector = Y [Eth Tx adapter Features] +internal_port = Y +event_vector = Y [Crypto adapter Features] +internal_port_op_fwd = Y +session_private_data = Y [Timer adapter Features] +internal_port = Y From patchwork Tue Nov 23 11:07:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104604 X-Patchwork-Delegate: jerinj@marvell.com 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 D0233A0C52; Tue, 23 Nov 2021 12:08:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E13014114F; Tue, 23 Nov 2021 12:08:05 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7E7EC4114F for ; Tue, 23 Nov 2021 12:08:04 +0100 (CET) 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 ESMTP id 1ANANGQ0005869; Tue, 23 Nov 2021 03:08:04 -0800 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=aa5eWlxGOxjgvAa2COBKIsf0rxiuqqwTH3RQBYbCMso=; b=C1UleCwpgjNJZsl8lWK9JXwnFz8ug8QF9ihiujNMLYYm56ilrQyf2lD9FL1Ht/jj/oBY LZnPOPpUmefousoDixRJXZlwGcGSGI0A+NMVtDw+iWAR4Zxzk9yOhb1JXewEPZY12LQA zB7We0QoUkVT9Pe1ec8xseWzPs8ZvI3ajjz0LrMBqoFKAAsDW8jBZOBcodTT4kzj3+k4 FgWvIuYza0CWCku0x3TxcrV1dsCkT9wqx9zaw2ThriSAqGa0JPzOOxrl1nTe4EpxwzsW 6H0wSEPPxbJyxw5TnmIoaSHtms4meVo49PpCpvppN3i86mC0obR09tSjS3KIZTpcJ3fL XA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cgug50xkr-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:08:03 -0800 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.2; Tue, 23 Nov 2021 03:08:02 -0800 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; Tue, 23 Nov 2021 03:08:02 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id C06203F7078; Tue, 23 Nov 2021 03:07:59 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 05/10] doc: update eventdev feature matrix for dpaa Date: Tue, 23 Nov 2021 16:37:38 +0530 Message-ID: <20211123110743.2002557-5-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: pgn4yYn14xDA8OjJ_y5uGjiACQLufonB X-Proofpoint-ORIG-GUID: pgn4yYn14xDA8OjJ_y5uGjiACQLufonB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for dpaa platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/dpaa.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/eventdevs/features/dpaa.ini b/doc/guides/eventdevs/features/dpaa.ini index 2a88b81e05..b73bfa02e5 100644 --- a/doc/guides/eventdevs/features/dpaa.ini +++ b/doc/guides/eventdevs/features/dpaa.ini @@ -4,11 +4,24 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +distributed_sched = Y +burst_mode = Y +nonseq_mode = Y +multiple_queue_port = Y +carry_flow_id = Y +maintenance_free = Y [Eth Rx adapter Features] +internal_port = Y +multi_eventq = Y +override_flow_id = Y [Eth Tx adapter Features] +internal_port = Y [Crypto adapter Features] +internal_port_op_new = Y +internal_port_qp_ev_bind = Y +session_private_data = Y [Timer adapter Features] From patchwork Tue Nov 23 11:07:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104603 X-Patchwork-Delegate: jerinj@marvell.com 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 D027BA0C53; Tue, 23 Nov 2021 12:08:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2586841157; Tue, 23 Nov 2021 12:08:10 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 96E9E40F35 for ; Tue, 23 Nov 2021 12:08:08 +0100 (CET) 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 ESMTP id 1ANAKt0X032464; Tue, 23 Nov 2021 03:08:08 -0800 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=FmfIIv7MEywLCyPIjUx0g/kJH+j7+N0++qU3g31NHdM=; b=JxTYufF3+FYNI3XWGjPoPNUqHgPz3u5NGK396+VGxtOPGTwr8XLNpdyfBSya8kV3VK6c b/YRHW2YDUnRBLiRFbsNgO7A57HptbHzLgt9UOtNjTTB8b+C0kSnFes9Qb2LLJ44sOGm CsriCWstpF6Q049J7mH1LUFmpIoPcc40rCMTzE20B4OEwfRAfbosrn7c2w+58aIgxhfp 9s7RLFuUbUea1wIcIZh4ZMqvLlZjNgGQUmJLtzTq+KqV6tOlPDikaIDbleMYiUxPHwjS rkzxUR2Pqa2nxkV5xUyB7WRp57rl4kSTnsyJQKNJkO4LCiT/gGZsNedLI7FybavpRwju EQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cgug50xm9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:08:07 -0800 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.2; Tue, 23 Nov 2021 03:08:05 -0800 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; Tue, 23 Nov 2021 03:08:06 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 2E0203F7082; Tue, 23 Nov 2021 03:08:02 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 06/10] doc: update eventdev feature matrix for dpaa2 Date: Tue, 23 Nov 2021 16:37:39 +0530 Message-ID: <20211123110743.2002557-6-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: VFlVKp3AufFGha5d9pJZc2y5855LNyOT X-Proofpoint-ORIG-GUID: VFlVKp3AufFGha5d9pJZc2y5855LNyOT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for dpaa2 platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/dpaa2.ini | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/eventdevs/features/dpaa2.ini b/doc/guides/eventdevs/features/dpaa2.ini index 67988af042..c935bd0cfc 100644 --- a/doc/guides/eventdevs/features/dpaa2.ini +++ b/doc/guides/eventdevs/features/dpaa2.ini @@ -4,11 +4,26 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +distributed_sched = Y +queue_all_types = Y +burst_mode = Y +nonseq_mode = Y +runtime_port_link = Y +multiple_queue_port = Y +carry_flow_id = Y +maintenance_free = Y [Eth Rx adapter Features] +internal_port = Y +multi_eventq = Y +override_flow_id = Y [Eth Tx adapter Features] +internal_port = Y [Crypto adapter Features] +internal_port_op_new = Y +internal_port_qp_ev_bind = Y +session_private_data = Y [Timer adapter Features] From patchwork Tue Nov 23 11:07:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104605 X-Patchwork-Delegate: jerinj@marvell.com 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 1E200A0C55; Tue, 23 Nov 2021 12:08:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DC1B410E6; Tue, 23 Nov 2021 12:08:13 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 3C7D040F35 for ; Tue, 23 Nov 2021 12:08:12 +0100 (CET) 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 ESMTP id 1ANAKt0Y032464; Tue, 23 Nov 2021 03:08:11 -0800 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=epHcCWFxJg5eztKuQ3/fmTwZ0TohOL5Jix070Qr8/j0=; b=JZVHnsogJMecxgLvWo6CDPdHCNV5H4860lp1aiTyytMnTTlewY5PQ+BC46D/9PDvA2C/ ZzPkHFvmkJougA+VrjioEWms5flA8q2PVgn5mObBdeEZYD7hOmk7WRZL379U2R0Wx0H2 60oThS80xU5ENQi6GRLluYIZErwuTnBPb7R4McGUL+/OCN9ErwfFxipzON1ENvWQ/0rC pWB6bog92eDciM3yMVUjljinqV8dK4dBAg4hfzhQDmFXTgVTya+HNMU9tc+NaPdP9YZb XsHtf7slsnTR8yMURzsEOEcFEvx7x3cj2oX43iElSKXLhFrGa4cYc+QmDS51QHoiPWQ6 vQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cgug50xmc-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:08:11 -0800 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.2; Tue, 23 Nov 2021 03:08:09 -0800 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; Tue, 23 Nov 2021 03:08:09 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 89C1B3F7078; Tue, 23 Nov 2021 03:08:06 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 07/10] doc: update eventdev feature matrix for SW Date: Tue, 23 Nov 2021 16:37:40 +0530 Message-ID: <20211123110743.2002557-7-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: YS2gKF_NcsYpCfhxng4Y-GZYU74Q3Mt9 X-Proofpoint-ORIG-GUID: YS2gKF_NcsYpCfhxng4Y-GZYU74Q3Mt9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for sw platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/sw.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/eventdevs/features/sw.ini b/doc/guides/eventdevs/features/sw.ini index 5d787a6220..8c89d3b8d2 100644 --- a/doc/guides/eventdevs/features/sw.ini +++ b/doc/guides/eventdevs/features/sw.ini @@ -4,11 +4,24 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +queue_qos = Y +event_qos = Y +burst_mode = Y +implicit_release_disable = Y +nonseq_mode = Y +runtime_port_link = Y +multiple_queue_port = Y +carry_flow_id = Y +maintenance_free = Y [Eth Rx adapter Features] +multi_eventq = Y +override_flow_id = Y +event_vector = Y [Eth Tx adapter Features] [Crypto adapter Features] +session_private_data = Y [Timer adapter Features] From patchwork Tue Nov 23 11:07:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104606 X-Patchwork-Delegate: jerinj@marvell.com 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 DF3D5A0C4C; Tue, 23 Nov 2021 12:08:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE8B64114B; Tue, 23 Nov 2021 12:08:15 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5F10B41141 for ; Tue, 23 Nov 2021 12:08:15 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AN76pkr009911; Tue, 23 Nov 2021 03:08:14 -0800 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=54wnpy28kTS1heVeDhQh12E4Medy9kmFE5YaVyxYm5g=; b=SWCOcwjPwvBcEk7g17dI5/6AFmZ6umk0owtX5AuNSkdkK1GX5Hlg60+IpIl1OIRuArKs dZPIB+5ioeEmOK+jqKeMPfQuJPxI679d+NraGrMKA4aMW7BjTliFGrgc7nFphqPGVCct mts0hoAcLOLqr/4yxsI2Hp7QgFpSwyIUtxOkfl5IMS3V4lbmdQIE4k8YEDixUifHtCSS EMp3EQUe7OfjlAgB8F+PZ10RQb71iD8yR2DgJlLcYN6GqEZrL5xx1diLZSeTN8rimdUe fbm8rOZwpNnCD5gIV/8xiQq3V//OGwod6MSMeXskmQGVVm0/nl/Fo4HTzN+w1SzeC2Nc +Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumj9166-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:08:14 -0800 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.18; Tue, 23 Nov 2021 03:08:12 -0800 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; Tue, 23 Nov 2021 03:08:12 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id E52F53F7081; Tue, 23 Nov 2021 03:08:09 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 08/10] doc: update eventdev feature matrix for opdl Date: Tue, 23 Nov 2021 16:37:41 +0530 Message-ID: <20211123110743.2002557-8-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: mXHPdROGvyytlaGY7DIuGEhPUQX27Jee X-Proofpoint-ORIG-GUID: mXHPdROGvyytlaGY7DIuGEhPUQX27Jee X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for opdl platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/opdl.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guides/eventdevs/features/opdl.ini b/doc/guides/eventdevs/features/opdl.ini index 73922ca79f..5cc35d3c77 100644 --- a/doc/guides/eventdevs/features/opdl.ini +++ b/doc/guides/eventdevs/features/opdl.ini @@ -4,11 +4,15 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +burst_mode = Y +carry_flow_id = Y +maintenance_free = Y [Eth Rx adapter Features] [Eth Tx adapter Features] [Crypto adapter Features] +session_private_data = Y [Timer adapter Features] From patchwork Tue Nov 23 11:07:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104607 X-Patchwork-Delegate: jerinj@marvell.com 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 AEF9DA0C4C; Tue, 23 Nov 2021 12:08:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9D6E41169; Tue, 23 Nov 2021 12:08:20 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9088841169 for ; Tue, 23 Nov 2021 12:08:18 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AN778Rp010084; Tue, 23 Nov 2021 03:08:17 -0800 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=Kww8v8cXu43kH9J1Dh0LQ/5X0yQKoiuhI/rjkLrZh2Y=; b=EaoYZRI9qE6/BCTEBNroRgNPTDuNcd8nYnTRz0x3jb9cgk2LoQFGsvEAd7FO6lx3Abno 6JdE8MCAG/Ql706G4nsQxxX0d67ucnE0ZYbkTirue5o+F14jCEkICtf6JHEWGAqxW7I8 A9qN5wwBJJrI9+TW5Cqe8oZuXOTm3f4XkMUiaMh7/xqLDylTS1q5x4Vb/LWvVeFRxLs9 V+KE3LBgz2Nz/x982lw5Q2+UOBGVo8M0o020JDhUnY5bIlUwfu37pu6Mfdubk5O4fmZd SVCdnKel9kn13Vq9MVg0OaUiD6lwHp6Esm6UIP0uzvGgLoPfO3FMZoVyADP0aDlSfNyg JA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumj916f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:08:17 -0800 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.2; Tue, 23 Nov 2021 03:08:15 -0800 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.2 via Frontend Transport; Tue, 23 Nov 2021 03:08:15 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id 55D343F7085; Tue, 23 Nov 2021 03:08:13 -0800 (PST) From: To: , , , , , , , CC: , Sunil Kumar Kori Subject: [PATCH v8 09/10] doc: update eventdev feature matrix for dsw Date: Tue, 23 Nov 2021 16:37:42 +0530 Message-ID: <20211123110743.2002557-9-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: 6MfRto5KiA0oSkIAVTLbCkxCZTePYKVo X-Proofpoint-ORIG-GUID: 6MfRto5KiA0oSkIAVTLbCkxCZTePYKVo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for dsw platform. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated doc/guides/eventdevs/features/dsw.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/guides/eventdevs/features/dsw.ini b/doc/guides/eventdevs/features/dsw.ini index 7de3f7b91b..c8bc6b3f1d 100644 --- a/doc/guides/eventdevs/features/dsw.ini +++ b/doc/guides/eventdevs/features/dsw.ini @@ -4,11 +4,20 @@ ; Refer to default.ini for the full list of available PMD features. ; [Scheduling Features] +distributed_sched = Y +burst_mode = Y +nonseq_mode = Y +multiple_queue_port = Y +carry_flow_id = Y [Eth Rx adapter Features] +multi_eventq = Y +override_flow_id = Y +event_vector = Y [Eth Tx adapter Features] [Crypto adapter Features] +session_private_data = Y [Timer adapter Features] From patchwork Tue Nov 23 11:07:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil Kumar Kori X-Patchwork-Id: 104608 X-Patchwork-Delegate: thomas@monjalon.net 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 400A4A0C4C; Tue, 23 Nov 2021 12:08:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0740841171; Tue, 23 Nov 2021 12:08:24 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 5D00241171 for ; Tue, 23 Nov 2021 12:08:22 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AN76tgg009970; Tue, 23 Nov 2021 03:08:21 -0800 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=pf/cpO5GqyggpGltJjVhCJB7Pzl/+rAFxvfsR+JJV/E=; b=S+sievtSe8JxAlsgInC6qfWmtsl0QVkRl4K6dH5XrSsHS+xmAR+A6+cvudtdMgK0KNjh 1m+2PQuRYvsZQCJyMOFM/hWkYo5tGQg7GPQIZd/Vp2T8paiuNGVFnxdJz997B1Hb747c DGHfs/ttQpHTVxlRed/sxwHZ5kK3bb9zsnT4C8279fSKDj11rCkpDWsJ0n0Kq07zl72r 2/gwhdr+J01iKx84SFjVftBITSBRI4u71wvMdCKkFZWwsRYj/R85ZY0/9RFW9HI6nV74 dw5OpS9YU/Hrzb3mDsenYePiFmA8nX3uq4wJoUU7wh+bgo+xB4iYToV8RB1nXnX5s7vp uQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3cgumj916t-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 03:08:21 -0800 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.2; Tue, 23 Nov 2021 03:08:19 -0800 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; Tue, 23 Nov 2021 03:08:19 -0800 Received: from localhost.localdomain (unknown [10.28.34.25]) by maili.marvell.com (Postfix) with ESMTP id AE7563F7097; Tue, 23 Nov 2021 03:08:16 -0800 (PST) From: To: , , , , , , , , Thomas Monjalon CC: , Sunil Kumar Kori Subject: [PATCH v8 10/10] devtools: check event device doc tables Date: Tue, 23 Nov 2021 16:37:43 +0530 Message-ID: <20211123110743.2002557-10-skori@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211123110743.2002557-1-skori@marvell.com> References: <20211122075414.1834651-1-skori@marvell.com> <20211123110743.2002557-1-skori@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: qTJzgnTlCbfQCuir80PuY7Y4vHiuMoh_ X-Proofpoint-ORIG-GUID: qTJzgnTlCbfQCuir80PuY7Y4vHiuMoh_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-23_04,2021-11-23_01,2020-04-07_01 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 From: Sunil Kumar Kori In this commit, check is added for event device, Rx, Tx, Crypto and Timer adapters tables for all supported drivers. Signed-off-by: Sunil Kumar Kori --- v8: - Fix script dump for dsw and SW driver - Review comments incorporated v7: - Rebased to 21.11 rc3 - Fix Tx adapter capabilities for SW driver v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix for cnxk. v4: - Rebased to 20.02 v3: - Removed .txt files to generate tables. - Use conf.py script to generate tables. - Add .ini file for all supported PMDs. v2: - Review comments incorporated devtools/check-doc-vs-code.sh | 35 +++++++ devtools/parse-event-support.sh | 165 ++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+) create mode 100755 devtools/parse-event-support.sh diff --git a/devtools/check-doc-vs-code.sh b/devtools/check-doc-vs-code.sh index c58c239c87..608d6e0e2e 100755 --- a/devtools/check-doc-vs-code.sh +++ b/devtools/check-doc-vs-code.sh @@ -66,11 +66,35 @@ check_rte_flow() # fi } +all_event_drivers() +{ + find $rootdir/drivers/event -mindepth 1 -maxdepth 1 -type d | + sed 's,.*/,,' | + sort +} + +check_event_dev() # +{ + code=$rootdir/drivers/event/$1 + doc=$rootdir/doc/guides/eventdevs/features/$1.ini + [ -d $code ] || return 0 + [ -f $doc ] || return 0 + report=$($selfdir/parse-event-support.sh $code $doc) + if [ -n "$report" ]; then + error "doc out of sync for $1" + echo "$report" | sed 's,^,\t,' + fi +} + if [ -z "$trusted_commit" ]; then # check all for driver in $(all_net_drivers); do check_rte_flow $driver done + + for driver in $(all_event_drivers); do + check_event_dev $driver + done exit $result fi @@ -81,4 +105,15 @@ if has_code_change 'RTE_FLOW_.*_TYPE_' || check_rte_flow $driver done fi + +if has_code_change 'RTE_EVENT_DEV_CAP_*' || + has_code_change 'RTE_EVENT_ETH_RX_ADAPTER_CAP_*' || + has_code_change 'RTE_EVENT_ETH_TX_ADAPTER_CAP_*' || + has_code_change 'RTE_EVENT_CRYPTO_ADAPTER_CAP_*' || + has_code_change 'RTE_EVENT_TIMER_ADAPTER_CAP_*' || + has_file_change 'doc/guides/eventdevs/features'; then + for driver in $(all_event_drivers); do + check_event_dev $driver + done +fi exit $result diff --git a/devtools/parse-event-support.sh b/devtools/parse-event-support.sh new file mode 100755 index 0000000000..f0f6b2392a --- /dev/null +++ b/devtools/parse-event-support.sh @@ -0,0 +1,165 @@ +#! /bin/sh -e +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(C) 2021 Marvell. + +# Parse event dev support of a driver directory, +# and optionally show difference with a doc file in .ini format. + +dir=$1 # drivers/event/foo +ref=$2 # doc/guides/eventdevs/features/foo.ini + +if [ -z "$dir" ]; then + echo "directory argument is required" >&2 + exit 1 +fi + +# sorting order +export LC_COLLATE=C + +check_rx_adptr_sw_capa() +{ + driver=$(echo "$dir" | cut -d / -f 3) + if [ "$driver" = "dsw" ] || [ "$driver" = "sw" ] ; then + return 1 + else + return 0 + fi +} + +# generate INI section +list() # <pattern> <extra_patterns> +{ + echo "[$1]" + word0=$(git grep -who "$2[[:alnum:]_]*" $dir) + word1=$(echo "$3") + words="$word0""$word1" + echo "$words" | sort -u | + awk 'sub(/'$2'/, "") {printf "%-20s = Y\n", tolower($0)}' +} + +event_dev_sched_support() +{ + title="Scheduling Features" + pattern=$(echo "RTE_EVENT_DEV_CAP_" | awk '{print toupper($0)}') + list "$title" "$pattern" "" +} + +event_dev_rx_adptr_support() +{ + title="Eth Rx adapter Features" + pattern=$(echo "RTE_EVENT_ETH_RX_ADAPTER_CAP_" | + awk '{print toupper($0)}') + check_rx_adptr_sw_capa || extra='RTE_EVENT_ETH_RX_ADAPTER_CAP_OVERRIDE_FLOW_ID + RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ + RTE_EVENT_ETH_RX_ADAPTER_CAP_EVENT_VECTOR' + list "$title" "$pattern" "$extra" +} + +event_dev_tx_adptr_support() +{ + title="Eth Tx adapter Features" + pattern=$(echo "RTE_EVENT_ETH_TX_ADAPTER_CAP_" | + awk '{print toupper($0)}') + list "$title" "$pattern" "" +} + +event_dev_crypto_adptr_support() +{ + title="Crypto adapter Features" + pattern=$(echo "RTE_EVENT_CRYPTO_ADAPTER_CAP_" | + awk '{print toupper($0)}') + list "$title" "$pattern" "" +} + +event_dev_timer_adptr_support() +{ + title="Timer adapter Features" + pattern=$(echo "RTE_EVENT_TIMER_ADAPTER_CAP_" | + awk '{print toupper($0)}') + list "$title" "$pattern" "" +} + +if [ -z "$ref" ]; then # generate full tables + event_dev_sched_support + echo + event_dev_rx_adptr_support + echo + event_dev_tx_adptr_support + echo + event_dev_crypto_adptr_support + echo + event_dev_timer_adptr_support + exit 0 +fi + +# compare with reference input +event_dev_sched_compare() +{ + section="Scheduling Features]" + { + event_dev_sched_support + sed -n "/$section/,/]/p" "$ref" | sed '/^$/d' + } | + sed '/]/d' | # ignore section title + sed 's, *=.*,,' | # ignore value (better in doc than generated one) + sort | uniq -u | # show differences + sed "s,^,Scheduling Features ," # prefix with category name +} + +event_dev_rx_adptr_compare() +{ + section="Eth Rx adapter Features]" + { + event_dev_rx_adptr_support + sed -n "/$section/,/]/p" "$ref" | sed '/^$/d' + } | + sed '/]/d' | # ignore section title + sed 's, *=.*,,' | # ignore value (better in doc than generated one) + sort | uniq -u | # show differences + sed "s,^,Eth Rx adapter Features ," # prefix with category name +} + +event_dev_tx_adptr_compare() +{ + section="Eth Tx adapter Features]" + { + event_dev_tx_adptr_support + sed -n "/$section/,/]/p" "$ref" | sed '/^$/d' + } | + sed '/]/d' | # ignore section title + sed 's, *=.*,,' | # ignore value (better in doc than generated one) + sort | uniq -u | # show differences + sed "s,^,Eth Tx adapter Features ," # prefix with category name +} + +event_dev_crypto_adptr_compare() +{ + section="Crypto adapter Features]" + { + event_dev_crypto_adptr_support + sed -n "/$section/,/]/p" "$ref" | sed '/^$/d' + } | + sed '/]/d' | # ignore section title + sed 's, *=.*,,' | # ignore value (better in doc than generated one) + sort | uniq -u | # show differences + sed "s,^,Crypto adapter Features ," # prefix with category name +} + +event_dev_timer_adptr_compare() +{ + section="Timer adapter Features]" + { + event_dev_timer_adptr_support + sed -n "/$section/,/]/p" "$ref" | sed '/^$/d' + } | + sed '/]/d' | # ignore section title + sed 's, *=.*,,' | # ignore value (better in doc than generated one) + sort | uniq -u | # show differences + sed "s,^,Timer adapter Features ," # prefix with category name +} + +event_dev_sched_compare +event_dev_rx_adptr_compare +event_dev_tx_adptr_compare +event_dev_crypto_adptr_compare +event_dev_timer_adptr_compare