Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131005/?format=api
http://patchwork.dpdk.org/api/patches/131005/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230901023050.40893-2-caowenbo@mucse.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230901023050.40893-2-caowenbo@mucse.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230901023050.40893-2-caowenbo@mucse.com", "date": "2023-09-01T02:30:43", "name": "[v6,1/8] net/rnp: add skeleton", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "0360deb77d0cb55b4af045b03b9f80cf1a08b5ce", "submitter": { "id": 2142, "url": "http://patchwork.dpdk.org/api/people/2142/?format=api", "name": "11", "email": "caowenbo@mucse.com" }, "delegate": { "id": 319, "url": "http://patchwork.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230901023050.40893-2-caowenbo@mucse.com/mbox/", "series": [ { "id": 29398, "url": "http://patchwork.dpdk.org/api/series/29398/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29398", "date": "2023-09-01T02:30:42", "name": "drivers/net Add Support mucse N10 Pmd Driver", "version": 6, "mbox": "http://patchwork.dpdk.org/series/29398/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/131005/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/131005/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3AF2642219;\n\tFri, 1 Sep 2023 04:31:22 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 19541402A7;\n\tFri, 1 Sep 2023 04:31:14 +0200 (CEST)", "from smtpbguseast3.qq.com (smtpbguseast3.qq.com [54.243.244.52])\n by mails.dpdk.org (Postfix) with ESMTP id 0942240298\n for <dev@dpdk.org>; Fri, 1 Sep 2023 04:31:10 +0200 (CEST)", "from steven.localdomain ( [183.81.182.182])\n by bizesmtp.qq.com (ESMTP) with\n id ; Fri, 01 Sep 2023 10:30:59 +0800 (CST)" ], "X-QQ-mid": "bizesmtp81t1693535460tj2fyfm7", "X-QQ-SSF": "01400000000000D0F000000A0000000", "X-QQ-FEAT": "3M0okmaRx3i3UKUPPWvztR7Qa2WfdQ4XpNMnHVswANDis6E1Oe++jyZdtPe7E\n M7vKlL/HO1n0YQL90lw4LFHdiwY/2m6ekqC/JTdqewh89qVV9IqnIuYtKmjwINx5Bve6BGQ\n GIByE5oqI26hRudsGzFAF821aByWr8UxZFp3Tq6cMqpYthBeSZPNbBeVd/7HWuJjnzfUIUg\n +rODcqcsu4UFX4VPzBbzLxuyyP5hgNA17EXnOSD5gmPEkhTJVPse+KLlcRErz+IBuhiqdc7\n BUB66/Yq5FlXILb0yfS01CdINfl30STBT139orHgKYj5P29XkF4ndNYVCF5pcxkjMChQBHX\n 2//OjXRIsulOwF0I+F2Ej8Zugx94XEDuhvZEa2pmDLjWZyoBQwXDCGKwUKg3gDPbX6Weu4d\n wbixcwV1SR8=", "X-QQ-GoodBg": "2", "X-BIZMAIL-ID": "17402284158496476058", "From": "Wenbo Cao <caowenbo@mucse.com>", "To": "Thomas Monjalon <thomas@monjalon.net>,\n\tWenbo Cao <caowenbo@mucse.com>", "Cc": "dev@dpdk.org, ferruh.yigit@amd.com, andrew.rybchenko@oktetlabs.ru,\n yaojun@mucse.com", "Subject": "[PATCH v6 1/8] net/rnp: add skeleton", "Date": "Fri, 1 Sep 2023 02:30:43 +0000", "Message-Id": "<20230901023050.40893-2-caowenbo@mucse.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20230901023050.40893-1-caowenbo@mucse.com>", "References": "<20230901023050.40893-1-caowenbo@mucse.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-QQ-SENDSIZE": "520", "Feedback-ID": "bizesmtp:mucse.com:qybglogicsvrgz:qybglogicsvrgz5a-0", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Add Basic PMD library and doc build infrastructure\nUpdate maintainers file to claim responsibility.\n\nSigned-off-by: Wenbo Cao <caowenbo@mucse.com>\n---\n MAINTAINERS | 6 +++++\n doc/guides/nics/features/rnp.ini | 8 +++++++\n doc/guides/nics/index.rst | 1 +\n doc/guides/nics/rnp.rst | 38 ++++++++++++++++++++++++++++++++\n drivers/net/meson.build | 1 +\n drivers/net/rnp/meson.build | 11 +++++++++\n drivers/net/rnp/rnp_ethdev.c | 3 +++\n 7 files changed, 68 insertions(+)\n create mode 100644 doc/guides/nics/features/rnp.ini\n create mode 100644 doc/guides/nics/rnp.rst\n create mode 100644 drivers/net/rnp/meson.build\n create mode 100644 drivers/net/rnp/rnp_ethdev.c", "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex a5219926ab..29c130b280 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -955,6 +955,12 @@ F: drivers/net/qede/\n F: doc/guides/nics/qede.rst\n F: doc/guides/nics/features/qede*.ini\n \n+Mucse rnp\n+M: Wenbo Cao <caowenbo@mucse.com>\n+F: drivers/net/rnp\n+F: doc/guides/nics/rnp.rst\n+F: doc/guides/nics/features/rnp.ini\n+\n Solarflare sfc_efx\n M: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>\n F: drivers/common/sfc_efx/\ndiff --git a/doc/guides/nics/features/rnp.ini b/doc/guides/nics/features/rnp.ini\nnew file mode 100644\nindex 0000000000..2ad04ee330\n--- /dev/null\n+++ b/doc/guides/nics/features/rnp.ini\n@@ -0,0 +1,8 @@\n+;\n+; Supported features of the 'rnp' network poll mode driver.\n+;\n+; Refer to default.ini for the full list of available PMD features.\n+;\n+[Features]\n+Linux = Y\n+x86-64 = Y\ndiff --git a/doc/guides/nics/index.rst b/doc/guides/nics/index.rst\nindex 5c9d1edf5e..cc89d3154a 100644\n--- a/doc/guides/nics/index.rst\n+++ b/doc/guides/nics/index.rst\n@@ -61,6 +61,7 @@ Network Interface Controller Drivers\n pcap_ring\n pfe\n qede\n+ rnp\n sfc_efx\n softnic\n tap\ndiff --git a/doc/guides/nics/rnp.rst b/doc/guides/nics/rnp.rst\nnew file mode 100644\nindex 0000000000..0eb8f2d415\n--- /dev/null\n+++ b/doc/guides/nics/rnp.rst\n@@ -0,0 +1,38 @@\n+.. SPADIX-License-Identifier: BSD-3-Clause\n+ Copyright(c) 2023 Mucse IC Design Ltd.\n+\n+RNP Poll Mode driver\n+====================\n+\n+The RNP ETHDEV PMD (**librte_net_rnp**) provides poll mode ethdev\n+driver support for the inbuilt network device found in the **Mucse RNP**\n+\n+Prerequisites\n+-------------\n+More information can be found at `Mucse, Official Website\n+<https://mucse.com/productDetail>`_.\n+\n+Supported Chipsets and NICs\n+---------------------------\n+\n+- MUCSE Ethernet Controller N10 Series for 10GbE or 40GbE (Dual-port)\n+\n+Limitations or Known issues\n+---------------------------\n+\n+Build with ICC is not supported yet.\n+BSD are not supported yet.\n+\n+CRC stripping\n+~~~~~~~~~~~~~\n+\n+The RNP Soc family Nic strip the CRC for every packets coming into the\n+host interface irrespective of the offload configuration.\n+When you want to disable CRC_OFFLOAD the operate will influence the rxCksum offload.\n+\n+VLAN Strip/Filter\n+~~~~~~~~~~~~~~~~~\n+\n+For VLAN strip/filter, RNP just support vlan is CVLAN(0x8100).If the outvlan type is SVLAN(0X88a8)\n+VLAN filter or strip will not effort for this packet.It will bypass filter to the host default queue,\n+whatever the other filter rule is.\ndiff --git a/drivers/net/meson.build b/drivers/net/meson.build\nindex b1df17ce8c..f9e013d38e 100644\n--- a/drivers/net/meson.build\n+++ b/drivers/net/meson.build\n@@ -54,6 +54,7 @@ drivers = [\n 'pfe',\n 'qede',\n 'ring',\n+ 'rnp',\n 'sfc',\n 'softnic',\n 'tap',\ndiff --git a/drivers/net/rnp/meson.build b/drivers/net/rnp/meson.build\nnew file mode 100644\nindex 0000000000..4f37c6b456\n--- /dev/null\n+++ b/drivers/net/rnp/meson.build\n@@ -0,0 +1,11 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(C) 2023 Mucse IC Design Ltd.\n+#\n+if not is_linux\n+ build = false\n+ reason = 'only supported on Linux'\n+endif\n+\n+sources = files(\n+\t\t'rnp_ethdev.c',\n+)\ndiff --git a/drivers/net/rnp/rnp_ethdev.c b/drivers/net/rnp/rnp_ethdev.c\nnew file mode 100644\nindex 0000000000..9ce3c0b497\n--- /dev/null\n+++ b/drivers/net/rnp/rnp_ethdev.c\n@@ -0,0 +1,3 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright(C) 2023 Mucse IC Design Ltd.\n+ */\n", "prefixes": [ "v6", "1/8" ] }{ "id": 131005, "url": "