Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64884/?format=api
http://patches.dpdk.org/api/patches/64884/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200119155356.20403-2-cardigliano@ntop.org/", "project": { "id": 1, "url": "http://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": "<20200119155356.20403-2-cardigliano@ntop.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20200119155356.20403-2-cardigliano@ntop.org", "date": "2020-01-19T15:53:39", "name": "[v5,01/17] net/ionic: add skeleton", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "cf2affa1cb2609f824b66b879a3d056f29f8b0e0", "submitter": { "id": 1465, "url": "http://patches.dpdk.org/api/people/1465/?format=api", "name": "Alfredo Cardigliano", "email": "cardigliano@ntop.org" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200119155356.20403-2-cardigliano@ntop.org/mbox/", "series": [ { "id": 8206, "url": "http://patches.dpdk.org/api/series/8206/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8206", "date": "2020-01-19T15:53:38", "name": "Introduces net/ionic PMD", "version": 5, "mbox": "http://patches.dpdk.org/series/8206/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/64884/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/64884/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id EA10CA0520;\n\tSun, 19 Jan 2020 16:54:25 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 84F1A29D6;\n\tSun, 19 Jan 2020 16:54:16 +0100 (CET)", "from mail.ntop.org (mail-digitalocean.ntop.org [167.99.215.164])\n by dpdk.org (Postfix) with ESMTP id AF60B1E34\n for <dev@dpdk.org>; Sun, 19 Jan 2020 16:54:12 +0100 (CET)", "from devele.ntop.org (net-93-145-196-230.cust.vodafonedsl.it\n [93.145.196.230])\n by mail.ntop.org (Postfix) with ESMTPSA id 22FDA4076D;\n Sun, 19 Jan 2020 16:54:12 +0100 (CET)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ntop.org; s=mail;\n t=1579449252; bh=KJjf9x3h0YLEe2VFNI0Lfq4GdIrd04UdvNljGAvSPa8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=XzksrYG00qMJhmscwGdj2MU0xn5XK0vS/vrVIDjOiQYQNZje8VqEuRA+YgW7wPSaY\n 5HG2dX/yog6fHenZQWfblbSdVnf3RfMiN4XlX9hJs+8ET3F21ajtdT5vRMbscjIPue\n rUwulBXXuH3RF1I2d1nXBCxXJVyllr6j584uviVg=", "From": "Alfredo Cardigliano <cardigliano@ntop.org>", "To": "Thomas Monjalon <thomas@monjalon.net>,\n Alfredo Cardigliano <cardigliano@ntop.org>,\n John McNamara <john.mcnamara@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>", "Cc": "dev@dpdk.org", "Date": "Sun, 19 Jan 2020 16:53:39 +0100", "Message-Id": "<20200119155356.20403-2-cardigliano@ntop.org>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200119155356.20403-1-cardigliano@ntop.org>", "References": "<20200119155356.20403-1-cardigliano@ntop.org>", "Subject": "[dpdk-dev] [PATCH v5 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 <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", "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_armv8a_linux | 2 +\n config/common_base | 5 +++\n config/defconfig_arm-armv7a-linuxapp-gcc | 1 +\n config/defconfig_ppc_64-power8-linuxapp-gcc | 1 +\n doc/guides/nics/features/ionic.ini | 8 ++++\n doc/guides/nics/index.rst | 1 +\n doc/guides/nics/ionic.rst | 41 +++++++++++++++++++++\n doc/guides/rel_notes/release_20_02.rst | 4 ++\n drivers/net/Makefile | 1 +\n drivers/net/ionic/Makefile | 25 +++++++++++++\n drivers/net/ionic/meson.build | 6 +++\n drivers/net/ionic/rte_pmd_ionic_version.map | 5 +++\n mk/rte.app.mk | 1 +\n 14 files changed, 107 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 8eda5f811..e9570da4b 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -806,6 +806,12 @@ F: doc/guides/nics/pfe.rst\n F: drivers/net/pfe/\n F: doc/guides/nics/features/pfe.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_armv8a_linux b/config/common_armv8a_linux\nindex 782877bb2..2057d9138 100644\n--- a/config/common_armv8a_linux\n+++ b/config/common_armv8a_linux\n@@ -42,3 +42,5 @@ CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV=n\n CONFIG_RTE_LIBRTE_PFE_PMD=y\n \n CONFIG_RTE_SCHED_VECTOR=n\n+\n+CONFIG_RTE_LIBRTE_IONIC_PMD=n\ndiff --git a/config/common_base b/config/common_base\nindex 7dec7ed45..626c83d05 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -277,6 +277,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/config/defconfig_arm-armv7a-linuxapp-gcc b/config/defconfig_arm-armv7a-linuxapp-gcc\nindex c91423f0e..6ac7f47e4 100644\n--- a/config/defconfig_arm-armv7a-linuxapp-gcc\n+++ b/config/defconfig_arm-armv7a-linuxapp-gcc\n@@ -57,3 +57,4 @@ CONFIG_RTE_LIBRTE_NFP_PMD=n\n CONFIG_RTE_LIBRTE_HINIC_PMD=n\n CONFIG_RTE_LIBRTE_HNS3_PMD=n\n CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV=n\n+CONFIG_RTE_LIBRTE_IONIC_PMD=n\ndiff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc b/config/defconfig_ppc_64-power8-linuxapp-gcc\nindex b7b9d6f48..c917c4774 100644\n--- a/config/defconfig_ppc_64-power8-linuxapp-gcc\n+++ b/config/defconfig_ppc_64-power8-linuxapp-gcc\n@@ -32,3 +32,4 @@ CONFIG_RTE_LIBRTE_AVP_PMD=n\n CONFIG_RTE_LIBRTE_HINIC_PMD=n\n CONFIG_RTE_LIBRTE_HNS3_PMD=n\n CONFIG_RTE_LIBRTE_PMD_IOAT_RAWDEV=n\n+CONFIG_RTE_LIBRTE_IONIC_PMD=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 8c540c0bb..6d88028ef 100644\n--- a/doc/guides/nics/index.rst\n+++ b/doc/guides/nics/index.rst\n@@ -32,6 +32,7 @@ Network Interface Controller Drivers\n i40e\n ice\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..787123df5\n--- /dev/null\n+++ b/doc/guides/nics/ionic.rst\n@@ -0,0 +1,41 @@\n+.. SPDX-License-Identifier: (BSD-3-Clause OR 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+It currently supports the below models:\n+\n+- `Naples DSC-25 <https://pensando.io/assets/documents/Naples-25_ProductBrief_10-2019.pdf>`_\n+- `Naples DSC-100 <https://pensando.io/assets/documents/Naples_100_ProductBrief-10-2019.pdf>`_\n+\n+Please visit https://pensando.io for more information.\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+\n+- ``CONFIG_RTE_LIBRTE_IONIC_PMD`` (default ``y``)\n+\n+ Toggle compilation of ionic PMD.\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.\ndiff --git a/doc/guides/rel_notes/release_20_02.rst b/doc/guides/rel_notes/release_20_02.rst\nindex 1e83e659a..d8328968c 100644\n--- a/doc/guides/rel_notes/release_20_02.rst\n+++ b/doc/guides/rel_notes/release_20_02.rst\n@@ -76,6 +76,10 @@ New Features\n Added support for L2TPv3 over IP rte_flow patterns to the testpmd\n application.\n \n+* **Added IONIC net PMD.**\n+\n+ Added the new ``ionic`` net driver for Pensando Ethernet Network Adapters.\n+ See the :doc:`../nics/ionic` NIC guide for more details on this new driver.\n \n Removed Items\n -------------\ndiff --git a/drivers/net/Makefile b/drivers/net/Makefile\nindex cca3c4474..4a7f155fc 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..9c2f9cf2e\n--- /dev/null\n+++ b/drivers/net/ionic/Makefile\n@@ -0,0 +1,25 @@\n+# SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)\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+LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring\n+LDLIBS += -lrte_ethdev -lrte_net\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..5386e23ca\n--- /dev/null\n+++ b/drivers/net/ionic/meson.build\n@@ -0,0 +1,6 @@\n+# SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)\n+# Copyright(c) 2019 Pensando\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..3fb4ff7eb\n--- /dev/null\n+++ b/drivers/net/ionic/rte_pmd_ionic_version.map\n@@ -0,0 +1,5 @@\n+DPDK_20.0 {\n+\n+\tlocal: *;\n+};\n+\ndiff --git a/mk/rte.app.mk b/mk/rte.app.mk\nindex 597d6f6e9..989627d90 100644\n--- a/mk/rte.app.mk\n+++ b/mk/rte.app.mk\n@@ -183,6 +183,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 IAVF-y := $(CONFIG_RTE_LIBRTE_IAVF_PMD)\n ifeq ($(findstring y,$(IAVF-y)),y)\n _LDLIBS-y += -lrte_common_iavf\n", "prefixes": [ "v5", "01/17" ] }{ "id": 64884, "url": "