Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/60991/?format=api
https://patches.dpdk.org/api/patches/60991/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/157083999181.11524.14412618767163406859.stgit@devele/", "project": { "id": 1, "url": "https://patches.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": "<157083999181.11524.14412618767163406859.stgit@devele>", "list_archive_url": "https://inbox.dpdk.org/dev/157083999181.11524.14412618767163406859.stgit@devele", "date": "2019-10-12T00:26:31", "name": "[01/17] net/ionic: add skeleton", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "71b76d170a75e730dfbce20d6a45e562f9e84b3f", "submitter": { "id": 1465, "url": "https://patches.dpdk.org/api/people/1465/?format=api", "name": "Alfredo Cardigliano", "email": "cardigliano@ntop.org" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/157083999181.11524.14412618767163406859.stgit@devele/mbox/", "series": [ { "id": 6811, "url": "https://patches.dpdk.org/api/series/6811/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6811", "date": "2019-10-12T00:26:26", "name": "Series short description", "version": 1, "mbox": "https://patches.dpdk.org/series/6811/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/60991/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/60991/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7088C1EB53;\n\tSat, 12 Oct 2019 02:26:33 +0200 (CEST)", "from devele.ntop.org (net-93-145-196-230.cust.vodafonedsl.it\n\t[93.145.196.230]) by dpdk.org (Postfix) with ESMTP id 067031EB51\n\tfor <dev@dpdk.org>; Sat, 12 Oct 2019 02:26:32 +0200 (CEST)", "from [192.168.2.134] (localhost6.localdomain6 [IPv6:::1])\n\tby devele.ntop.org (Postfix) with ESMTP id D117A6C003C\n\tfor <dev@dpdk.org>; Sat, 12 Oct 2019 02:26:31 +0200 (CEST)" ], "From": "Alfredo Cardigliano <cardigliano@ntop.org>", "To": "dev@dpdk.org", "Date": "Sat, 12 Oct 2019 02:26:31 +0200", "Message-ID": "<157083999181.11524.14412618767163406859.stgit@devele>", "In-Reply-To": "<157083994018.11524.11276616720287263690.stgit@devele>", "References": "<157083994018.11524.11276616720287263690.stgit@devele>", "User-Agent": "StGit/0.17.1-dirty", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Subject": "[dpdk-dev] [PATCH 01/17] net/ionic: add skeleton", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Add makefile and config file options to compile the Pensando ionic PMD.\nAdd feature and version map file.\nUpdate maintainers file.\n\nSigned-off-by: Alfredo Cardigliano <cardigliano@ntop.org>\nReviewed-by: Shannon Nelson <snelson@pensando.io>\n---\n MAINTAINERS | 6 +++\n config/common_base | 5 ++\n doc/guides/nics/features/ionic.ini | 8 ++++\n doc/guides/nics/index.rst | 1 \n doc/guides/nics/ionic.rst | 45 +++++++++++++++++++++\n drivers/net/Makefile | 1 \n drivers/net/ionic/Makefile | 57 +++++++++++++++++++++++++++\n drivers/net/ionic/meson.build | 8 ++++\n drivers/net/ionic/rte_pmd_ionic_version.map | 5 ++\n mk/rte.app.mk | 1 \n 10 files changed, 137 insertions(+)\n create mode 100644 doc/guides/nics/features/ionic.ini\n create mode 100644 doc/guides/nics/ionic.rst\n create mode 100644 drivers/net/ionic/Makefile\n create mode 100644 drivers/net/ionic/meson.build\n create mode 100644 drivers/net/ionic/rte_pmd_ionic_version.map", "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex 6adf20107..ff1fee06a 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -787,6 +787,12 @@ F: drivers/net/enetc/\n F: doc/guides/nics/enetc.rst\n F: doc/guides/nics/features/enetc.ini\n \n+Pensando ionic\n+M: Alfredo Cardigliano <cardigliano@ntop.org>\n+F: drivers/net/ionic/\n+F: doc/guides/nics/ionic.rst\n+F: doc/guides/nics/features/ionic.ini\n+\n QLogic bnx2x\n M: Rasesh Mody <rmody@marvell.com>\n M: Shahed Shaikh <shshaikh@marvell.com>\ndiff --git a/config/common_base b/config/common_base\nindex 6a7e00d75..1c11fcae6 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -270,6 +270,11 @@ CONFIG_RTE_LIBRTE_E1000_DEBUG_TX=n\n CONFIG_RTE_LIBRTE_E1000_DEBUG_TX_FREE=n\n CONFIG_RTE_LIBRTE_E1000_PF_DISABLE_STRIP_CRC=n\n \n+#\n+# Compile Pensando IONIC PMD driver\n+#\n+CONFIG_RTE_LIBRTE_IONIC_PMD=y\n+\n #\n # Compile burst-oriented HINIC PMD driver\n #\ndiff --git a/doc/guides/nics/features/ionic.ini b/doc/guides/nics/features/ionic.ini\nnew file mode 100644\nindex 000000000..3a92eedc7\n--- /dev/null\n+++ b/doc/guides/nics/features/ionic.ini\n@@ -0,0 +1,8 @@\n+;\n+; Supported features of the 'ionic' network poll mode driver.\n+;\n+; Refer to default.ini for the full list of available PMD features.\n+;\n+[Features]\n+x86-64 = Y\n+Usage doc = Y\ndiff --git a/doc/guides/nics/index.rst b/doc/guides/nics/index.rst\nindex d477001d9..185457325 100644\n--- a/doc/guides/nics/index.rst\n+++ b/doc/guides/nics/index.rst\n@@ -33,6 +33,7 @@ Network Interface Controller Drivers\n ice\n ifc\n igb\n+ ionic\n ipn3ke\n ixgbe\n intel_vf\ndiff --git a/doc/guides/nics/ionic.rst b/doc/guides/nics/ionic.rst\nnew file mode 100644\nindex 000000000..aaf59981f\n--- /dev/null\n+++ b/doc/guides/nics/ionic.rst\n@@ -0,0 +1,45 @@\n+.. SPDX-License-Identifier: GPL-2.0\n+ Copyright(c) 2018-2019 Pensando Systems, Inc. All rights reserved.\n+\n+IONIC Driver\n+============\n+\n+The ionic driver provides support for Pensando server adapters.\n+\n+Identifying the Adapter\n+-----------------------\n+\n+To find if one or more Pensando PCI Ethernet devices are installed \n+on the host, check for the PCI devices:\n+\n+ .. code-block:: console\n+\n+ lspci -d 1dd8:\n+ b5:00.0 Ethernet controller: Device 1dd8:1002\n+ b6:00.0 Ethernet controller: Device 1dd8:1002\n+\n+Pre-Installation Configuration\n+------------------------------\n+\n+The following options can be modified in the ``config`` file.\n+Please note that enabling debugging options may affect system performance.\n+\n+- ``CONFIG_RTE_LIBRTE_IONIC_PMD`` (default ``y``)\n+\n+ Toggle compilation of ionic PMD.\n+\n+- ``CONFIG_RTE_LIBRTE_IONIC_DEBUG_RX`` (default ``n``)\n+\n+ Toggle display of receive fast path run-time messages.\n+\n+- ``CONFIG_RTE_LIBRTE_IONIC_DEBUG_TX`` (default ``n``)\n+\n+ Toggle display of transmit fast path run-time messages.\n+\n+Building DPDK\n+-------------\n+\n+The ionic PMD driver supports UIO and VFIO, please refer to the \n+:ref:`DPDK documentation that comes with the DPDK suite <linux_gsg>`\n+for instructions on how to build DPDK. \n+\ndiff --git a/drivers/net/Makefile b/drivers/net/Makefile\nindex 1770d8b23..cb7921c6f 100644\n--- a/drivers/net/Makefile\n+++ b/drivers/net/Makefile\n@@ -34,6 +34,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_HNS3_PMD) += hns3\n DIRS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += i40e\n DIRS-$(CONFIG_RTE_LIBRTE_IAVF_PMD) += iavf\n DIRS-$(CONFIG_RTE_LIBRTE_ICE_PMD) += ice\n+DIRS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic\n DIRS-$(CONFIG_RTE_LIBRTE_IPN3KE_PMD) += ipn3ke\n DIRS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += ixgbe\n DIRS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += liquidio\ndiff --git a/drivers/net/ionic/Makefile b/drivers/net/ionic/Makefile\nnew file mode 100644\nindex 000000000..3add24087\n--- /dev/null\n+++ b/drivers/net/ionic/Makefile\n@@ -0,0 +1,57 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2018-2019 Pensando Systems, Inc. All rights reserved.\n+\n+include $(RTE_SDK)/mk/rte.vars.mk\n+\n+#\n+# library name\n+#\n+LIB = librte_pmd_ionic.a\n+\n+CFLAGS += -O3\n+CFLAGS += $(WERROR_FLAGS)\n+\n+EXPORT_MAP := rte_pmd_ionic_version.map\n+\n+LIBABIVER := 2\n+\n+ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)\n+#\n+# CFLAGS for icc\n+#\n+CFLAGS += -diag-disable 174 -diag-disable 593 -diag-disable 869\n+CFLAGS += -diag-disable 981 -diag-disable 2259 -diag-disable 3656\n+\n+else ifeq ($(CONFIG_RTE_TOOLCHAIN_CLANG),y)\n+#\n+# CFLAGS for clang\n+#\n+CFLAGS += -Wno-unused-parameter -Wno-unused-value -Wno-strict-aliasing\n+CFLAGS += -Wno-format-extra-args\n+\n+else\n+#\n+# CFLAGS for gcc\n+#\n+ifeq ($(shell test $(GCC_VERSION) -ge 44 && echo 1), 1)\n+CFLAGS += -Wno-deprecated -Wno-unused-parameter -Wno-unused-value\n+CFLAGS += -Wno-strict-aliasing -Wno-format-extra-args\n+CFLAGS += -Wno-missing-field-initializers -Wno-pointer-arith\n+endif\n+\n+ifeq ($(shell test $(GCC_VERSION) -ge 70 && echo 1), 1)\n+CFLAGS += -Wno-implicit-fallthrough\n+endif\n+\n+endif\n+\n+LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring\n+LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_hash\n+LDLIBS += -lrte_bus_pci\n+\n+#\n+# all source are stored in SRCS-y\n+#\n+SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) +=\n+\n+include $(RTE_SDK)/mk/rte.lib.mk\ndiff --git a/drivers/net/ionic/meson.build b/drivers/net/ionic/meson.build\nnew file mode 100644\nindex 000000000..502076e3c\n--- /dev/null\n+++ b/drivers/net/ionic/meson.build\n@@ -0,0 +1,8 @@\n+# SPDX-License-Identifier: BSD-3-Clause\n+# Copyright(c) 2019 Pensando\n+\n+version = 1\n+\n+sources = files(\n+)\n+\ndiff --git a/drivers/net/ionic/rte_pmd_ionic_version.map b/drivers/net/ionic/rte_pmd_ionic_version.map\nnew file mode 100644\nindex 000000000..96f83bd6c\n--- /dev/null\n+++ b/drivers/net/ionic/rte_pmd_ionic_version.map\n@@ -0,0 +1,5 @@\n+DPDK_2.0 {\n+\n+\tlocal: *;\n+};\n+\ndiff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex 17b991604..d324078e3 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -176,6 +176,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_HNS3_PMD) += -lrte_pmd_hns3\n _LDLIBS-$(CONFIG_RTE_LIBRTE_I40E_PMD) += -lrte_pmd_i40e\n _LDLIBS-$(CONFIG_RTE_LIBRTE_IAVF_PMD) += -lrte_pmd_iavf\n _LDLIBS-$(CONFIG_RTE_LIBRTE_ICE_PMD) += -lrte_pmd_ice\n+_LDLIBS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += -lrte_pmd_ionic\n _LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe\n ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)\n _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_KNI) += -lrte_pmd_kni\n", "prefixes": [ "01/17" ] }{ "id": 60991, "url": "