get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/52691/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 52691,
    "url": "http://patches.dpdk.org/api/patches/52691/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190412105105.24351-8-g.singh@nxp.com/",
    "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": "<20190412105105.24351-8-g.singh@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190412105105.24351-8-g.singh@nxp.com",
    "date": "2019-04-12T11:01:36",
    "name": "[v3,07/13] net/enetc: remove forward declarations",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "55cc56b7f7ebaa54db6d2e9d65022050c656a4a1",
    "submitter": {
        "id": 1068,
        "url": "http://patches.dpdk.org/api/people/1068/?format=api",
        "name": "Gagandeep Singh",
        "email": "g.singh@nxp.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190412105105.24351-8-g.singh@nxp.com/mbox/",
    "series": [
        {
            "id": 4280,
            "url": "http://patches.dpdk.org/api/series/4280/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4280",
            "date": "2019-04-12T11:01:11",
            "name": "ENETC PMD basic features and bug fixes",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/4280/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52691/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/52691/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "X-BeenThere": "dev@dpdk.org",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "MIME-Version": "1.0",
        "X-MS-TNEF-Correlator": "",
        "Subject": "[dpdk-dev] [PATCH v3 07/13] net/enetc: remove forward declarations",
        "Message-ID": "<20190412105105.24351-8-g.singh@nxp.com>",
        "Accept-Language": "en-US",
        "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "References": "<1555075598-4988-1-git-send-email-g.singh@nxp.com>\n\t<20190412105105.24351-1-g.singh@nxp.com>",
        "In-Reply-To": "<20190412105105.24351-1-g.singh@nxp.com>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "VE1PR04MB6462",
        "X-MS-Exchange-CrossTenant-id": "686ea1d3-bc2b-4c6f-a92c-d99c5c301635",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "CC": "Gagandeep Singh <G.Singh@nxp.com>",
        "X-MS-Exchange-CrossTenant-fromentityheader": "Hosted",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(136003)(376002)(366004)(396003)(346002)(39860400002)(189003)(199004)(14444005)(2501003)(186003)(97736004)(7736002)(3846002)(110136005)(99286004)(6116002)(102836004)(86362001)(316002)(2616005)(11346002)(476003)(6506007)(446003)(76176011)(305945005)(26005)(1076003)(106356001)(66066001)(486006)(4326008)(105586002)(386003)(478600001)(52116002)(72206003)(50226002)(5660300002)(6436002)(81156014)(6512007)(71200400001)(8936002)(71190400001)(6486002)(68736007)(53936002)(256004)(25786009)(8676002)(81166006)(36756003)(14454004)(2906002);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6462;\n\tH:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ",
        "Content-Transfer-Encoding": "base64",
        "Thread-Index": "AQHU8R8Ys9R9u3r9mkWgzBWZ0oXYqg==",
        "X-OriginatorOrg": "nxp.com",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "c1ee1d2a-a161-494f-ea64-08d6bf363b0d",
        "Date": "Fri, 12 Apr 2019 11:01:36 +0000",
        "From": "Gagandeep Singh <G.Singh@nxp.com>",
        "x-ms-exchange-messagesentrepresentingtype": "1",
        "X-MS-Exchange-CrossTenant-originalarrivaltime": "12 Apr 2019 11:01:36.4444\n\t(UTC)",
        "X-Mailman-Version": "2.1.15",
        "List-Post": "<mailto:dev@dpdk.org>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=9TMPQPbW5mYIjPdh23PDablmzdyM0KnVEyOSGaEnCAU=;\n\tb=XK/cXaiqhqvB8aGUPaNpXL8qoMerKM3II0xHTWwmYzl6iQzU3yN8t6lqifGYaplY12G6H84OFtFEYedAXlBaLbt7eSeYwdwb9PMEtzgt/Fv2kTqSOEE0dbv6SU/lhtosMjMZgmrz12sUuM9RJcX+kj8jjnTjxBIyIFCXZNBHrQk=",
        "x-ms-exchange-senderadcheck": "1",
        "To": "\"dev@dpdk.org\" <dev@dpdk.org>, \"ferruh.yigit@intel.com\"\n\t<ferruh.yigit@intel.com>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 011881B10D;\n\tFri, 12 Apr 2019 13:01:45 +0200 (CEST)",
            "from EUR01-VE1-obe.outbound.protection.outlook.com\n\t(mail-eopbgr140077.outbound.protection.outlook.com [40.107.14.77])\n\tby dpdk.org (Postfix) with ESMTP id BE5F01B0FB\n\tfor <dev@dpdk.org>; Fri, 12 Apr 2019 13:01:37 +0200 (CEST)",
            "from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by\n\tVE1PR04MB6462.eurprd04.prod.outlook.com (20.179.233.19) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1771.21; Fri, 12 Apr 2019 11:01:36 +0000",
            "from VE1PR04MB6365.eurprd04.prod.outlook.com\n\t([fe80::f5ad:f178:4c55:13e0]) by\n\tVE1PR04MB6365.eurprd04.prod.outlook.com\n\t([fe80::f5ad:f178:4c55:13e0%3]) with mapi id 15.20.1792.016;\n\tFri, 12 Apr 2019 11:01:36 +0000"
        ],
        "X-MS-Has-Attach": "",
        "x-microsoft-antispam-message-info": "ysUOULu/SzknGgLad1i5LpPRxGxzbw5ZJnDzTzqzoKuGZ/oV+zDQALuuM/1/GAt03LjGRtxRgx2FKrW9BvEVNEpbDA3Q02lKA81Kw/eLatwhOSYi1/CAHttfzo73YtbrxnN+yJU7ne7FfSPCHwJTT2v7XkfsUqzqE0tJjrkeL9AMWYeomYdbcyb0W+92aK4CeKg38Fd0EBVOnJUrjXSCIsfexwm3cqMY6c24kOLe1wqf6tOpT3DhxNEmCWlkYydjmhm4zJy2KBaTMQf1glpFTvY67u5eu0OGrYCFqExTFiIInoh5klMaiRDkidSAD+lAhbhf59+0Tr9y02JYKDyYFVl712Op1SGUM5LJ5BYc8ZpZHlQ2IVmzC1GL33iZKyjraxE3edgCZj+P4g1TJCUvX07hc9SNAX+x23vDCwNgq3w=",
        "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);\n\tSRVR:VE1PR04MB6462; ",
        "Errors-To": "dev-bounces@dpdk.org",
        "x-clientproxiedby": "TYAPR01CA0204.jpnprd01.prod.outlook.com\n\t(2603:1096:404:29::24) To VE1PR04MB6365.eurprd04.prod.outlook.com\n\t(2603:10a6:803:12a::14)",
        "x-ms-traffictypediagnostic": "VE1PR04MB6462:",
        "x-originating-ip": "[92.120.1.68]",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Original-To": "patchwork@dpdk.org",
        "x-forefront-prvs": "0005B05917",
        "x-ms-office365-filtering-ht": "Tenant",
        "x-ms-publictraffictype": "Email",
        "x-microsoft-antispam-prvs": "<VE1PR04MB64623DA17CED6A9575F3F44BE1280@VE1PR04MB6462.eurprd04.prod.outlook.com>",
        "X-MS-Exchange-CrossTenant-mailboxtype": "HOSTED",
        "x-mailer": "git-send-email 2.17.1",
        "authentication-results": "spf=none (sender IP is )\n\tsmtp.mailfrom=G.Singh@nxp.com; ",
        "Thread-Topic": "[PATCH v3 07/13] net/enetc: remove forward declarations",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Content-Language": "en-US",
        "x-ms-office365-filtering-correlation-id": "c1ee1d2a-a161-494f-ea64-08d6bf363b0d",
        "Precedence": "list"
    },
    "content": "Remove unneeded forward declarations and re-order the code.\n\nSigned-off-by: Gagandeep Singh <g.singh@nxp.com>\n---\n drivers/net/enetc/enetc_ethdev.c | 237 ++++++++++++++++++---------------------\n 1 file changed, 107 insertions(+), 130 deletions(-)",
    "diff": "diff --git a/drivers/net/enetc/enetc_ethdev.c b/drivers/net/enetc/enetc_ethdev.c\r\nindex 2d8c4e6..d0f9e2b 100644\r\n--- a/drivers/net/enetc/enetc_ethdev.c\r\n+++ b/drivers/net/enetc/enetc_ethdev.c\r\n@@ -10,115 +10,6 @@\r\n \r\n int enetc_logtype_pmd;\r\n \r\n-/* Functions Prototypes */\r\n-static int enetc_dev_configure(struct rte_eth_dev *dev);\r\n-static int enetc_dev_start(struct rte_eth_dev *dev);\r\n-static void enetc_dev_stop(struct rte_eth_dev *dev);\r\n-static void enetc_dev_close(struct rte_eth_dev *dev);\r\n-static void enetc_dev_infos_get(struct rte_eth_dev *dev,\r\n-\t\t\t\tstruct rte_eth_dev_info *dev_info);\r\n-static int enetc_link_update(struct rte_eth_dev *dev, int wait_to_complete);\r\n-static int enetc_hardware_init(struct enetc_eth_hw *hw);\r\n-static int enetc_rx_queue_setup(struct rte_eth_dev *dev, uint16_t rx_queue_id,\r\n-\t\tuint16_t nb_rx_desc, unsigned int socket_id,\r\n-\t\tconst struct rte_eth_rxconf *rx_conf,\r\n-\t\tstruct rte_mempool *mb_pool);\r\n-static void enetc_rx_queue_release(void *rxq);\r\n-static int enetc_tx_queue_setup(struct rte_eth_dev *dev, uint16_t tx_queue_id,\r\n-\t\tuint16_t nb_tx_desc, unsigned int socket_id,\r\n-\t\tconst struct rte_eth_txconf *tx_conf);\r\n-static void enetc_tx_queue_release(void *txq);\r\n-static const uint32_t *enetc_supported_ptypes_get(struct rte_eth_dev *dev);\r\n-static int enetc_stats_get(struct rte_eth_dev *dev,\r\n-\t\tstruct rte_eth_stats *stats);\r\n-static void enetc_stats_reset(struct rte_eth_dev *dev);\r\n-\r\n-/*\r\n- * The set of PCI devices this driver supports\r\n- */\r\n-static const struct rte_pci_id pci_id_enetc_map[] = {\r\n-\t{ RTE_PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, ENETC_DEV_ID) },\r\n-\t{ RTE_PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, ENETC_DEV_ID_VF) },\r\n-\t{ .vendor_id = 0, /* sentinel */ },\r\n-};\r\n-\r\n-/* Features supported by this driver */\r\n-static const struct eth_dev_ops enetc_ops = {\r\n-\t.dev_configure        = enetc_dev_configure,\r\n-\t.dev_start            = enetc_dev_start,\r\n-\t.dev_stop             = enetc_dev_stop,\r\n-\t.dev_close            = enetc_dev_close,\r\n-\t.link_update          = enetc_link_update,\r\n-\t.stats_get            = enetc_stats_get,\r\n-\t.stats_reset          = enetc_stats_reset,\r\n-\t.dev_infos_get        = enetc_dev_infos_get,\r\n-\t.rx_queue_setup       = enetc_rx_queue_setup,\r\n-\t.rx_queue_release     = enetc_rx_queue_release,\r\n-\t.tx_queue_setup       = enetc_tx_queue_setup,\r\n-\t.tx_queue_release     = enetc_tx_queue_release,\r\n-\t.dev_supported_ptypes_get = enetc_supported_ptypes_get,\r\n-};\r\n-\r\n-/**\r\n- * Initialisation of the enetc device\r\n- *\r\n- * @param eth_dev\r\n- *   - Pointer to the structure rte_eth_dev\r\n- *\r\n- * @return\r\n- *   - On success, zero.\r\n- *   - On failure, negative value.\r\n- */\r\n-static int\r\n-enetc_dev_init(struct rte_eth_dev *eth_dev)\r\n-{\r\n-\tint error = 0;\r\n-\tstruct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);\r\n-\tstruct enetc_eth_hw *hw =\r\n-\t\tENETC_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);\r\n-\r\n-\tPMD_INIT_FUNC_TRACE();\r\n-\teth_dev->dev_ops = &enetc_ops;\r\n-\teth_dev->rx_pkt_burst = &enetc_recv_pkts;\r\n-\teth_dev->tx_pkt_burst = &enetc_xmit_pkts;\r\n-\r\n-\t/* Retrieving and storing the HW base address of device */\r\n-\thw->hw.reg = (void *)pci_dev->mem_resource[0].addr;\r\n-\thw->device_id = pci_dev->id.device_id;\r\n-\r\n-\terror = enetc_hardware_init(hw);\r\n-\tif (error != 0) {\r\n-\t\tENETC_PMD_ERR(\"Hardware initialization failed\");\r\n-\t\treturn -1;\r\n-\t}\r\n-\r\n-\t/* Allocate memory for storing MAC addresses */\r\n-\teth_dev->data->mac_addrs = rte_zmalloc(\"enetc_eth\", ETHER_ADDR_LEN, 0);\r\n-\tif (!eth_dev->data->mac_addrs) {\r\n-\t\tENETC_PMD_ERR(\"Failed to allocate %d bytes needed to \"\r\n-\t\t\t      \"store MAC addresses\",\r\n-\t\t\t      ETHER_ADDR_LEN * 1);\r\n-\t\terror = -ENOMEM;\r\n-\t\treturn -1;\r\n-\t}\r\n-\r\n-\t/* Copy the permanent MAC address */\r\n-\tether_addr_copy((struct ether_addr *)hw->mac.addr,\r\n-\t\t\t&eth_dev->data->mac_addrs[0]);\r\n-\r\n-\tENETC_PMD_DEBUG(\"port_id %d vendorID=0x%x deviceID=0x%x\",\r\n-\t\t\teth_dev->data->port_id, pci_dev->id.vendor_id,\r\n-\t\t\tpci_dev->id.device_id);\r\n-\treturn 0;\r\n-}\r\n-\r\n-static int\r\n-enetc_dev_uninit(struct rte_eth_dev *eth_dev __rte_unused)\r\n-{\r\n-\tPMD_INIT_FUNC_TRACE();\r\n-\treturn 0;\r\n-}\r\n-\r\n static int\r\n enetc_dev_configure(struct rte_eth_dev *dev __rte_unused)\r\n {\r\n@@ -179,27 +70,6 @@ static int enetc_stats_get(struct rte_eth_dev *dev,\r\n \t\t      val & (~(ENETC_PM0_TX_EN | ENETC_PM0_RX_EN)));\r\n }\r\n \r\n-static void\r\n-enetc_dev_close(struct rte_eth_dev *dev)\r\n-{\r\n-\tuint16_t i;\r\n-\r\n-\tPMD_INIT_FUNC_TRACE();\r\n-\tenetc_dev_stop(dev);\r\n-\r\n-\tfor (i = 0; i < dev->data->nb_rx_queues; i++) {\r\n-\t\tenetc_rx_queue_release(dev->data->rx_queues[i]);\r\n-\t\tdev->data->rx_queues[i] = NULL;\r\n-\t}\r\n-\tdev->data->nb_rx_queues = 0;\r\n-\r\n-\tfor (i = 0; i < dev->data->nb_tx_queues; i++) {\r\n-\t\tenetc_tx_queue_release(dev->data->tx_queues[i]);\r\n-\t\tdev->data->tx_queues[i] = NULL;\r\n-\t}\r\n-\tdev->data->nb_tx_queues = 0;\r\n-}\r\n-\r\n static const uint32_t *\r\n enetc_supported_ptypes_get(struct rte_eth_dev *dev __rte_unused)\r\n {\r\n@@ -648,6 +518,113 @@ int enetc_stats_get(struct rte_eth_dev *dev,\r\n \tenetc_port_wr(enetc_hw, ENETC_PM0_STAT_CONFIG, ENETC_CLEAR_STATS);\r\n }\r\n \r\n+static void\r\n+enetc_dev_close(struct rte_eth_dev *dev)\r\n+{\r\n+\tuint16_t i;\r\n+\r\n+\tPMD_INIT_FUNC_TRACE();\r\n+\tenetc_dev_stop(dev);\r\n+\r\n+\tfor (i = 0; i < dev->data->nb_rx_queues; i++) {\r\n+\t\tenetc_rx_queue_release(dev->data->rx_queues[i]);\r\n+\t\tdev->data->rx_queues[i] = NULL;\r\n+\t}\r\n+\tdev->data->nb_rx_queues = 0;\r\n+\r\n+\tfor (i = 0; i < dev->data->nb_tx_queues; i++) {\r\n+\t\tenetc_tx_queue_release(dev->data->tx_queues[i]);\r\n+\t\tdev->data->tx_queues[i] = NULL;\r\n+\t}\r\n+\tdev->data->nb_tx_queues = 0;\r\n+}\r\n+\r\n+/*\r\n+ * The set of PCI devices this driver supports\r\n+ */\r\n+static const struct rte_pci_id pci_id_enetc_map[] = {\r\n+\t{ RTE_PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, ENETC_DEV_ID) },\r\n+\t{ RTE_PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, ENETC_DEV_ID_VF) },\r\n+\t{ .vendor_id = 0, /* sentinel */ },\r\n+};\r\n+\r\n+/* Features supported by this driver */\r\n+static const struct eth_dev_ops enetc_ops = {\r\n+\t.dev_configure        = enetc_dev_configure,\r\n+\t.dev_start            = enetc_dev_start,\r\n+\t.dev_stop             = enetc_dev_stop,\r\n+\t.dev_close            = enetc_dev_close,\r\n+\t.link_update          = enetc_link_update,\r\n+\t.stats_get            = enetc_stats_get,\r\n+\t.stats_reset          = enetc_stats_reset,\r\n+\t.dev_infos_get        = enetc_dev_infos_get,\r\n+\t.rx_queue_setup       = enetc_rx_queue_setup,\r\n+\t.rx_queue_release     = enetc_rx_queue_release,\r\n+\t.tx_queue_setup       = enetc_tx_queue_setup,\r\n+\t.tx_queue_release     = enetc_tx_queue_release,\r\n+\t.dev_supported_ptypes_get = enetc_supported_ptypes_get,\r\n+};\r\n+\r\n+/**\r\n+ * Initialisation of the enetc device\r\n+ *\r\n+ * @param eth_dev\r\n+ *   - Pointer to the structure rte_eth_dev\r\n+ *\r\n+ * @return\r\n+ *   - On success, zero.\r\n+ *   - On failure, negative value.\r\n+ */\r\n+static int\r\n+enetc_dev_init(struct rte_eth_dev *eth_dev)\r\n+{\r\n+\tint error = 0;\r\n+\tstruct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);\r\n+\tstruct enetc_eth_hw *hw =\r\n+\t\tENETC_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);\r\n+\r\n+\tPMD_INIT_FUNC_TRACE();\r\n+\teth_dev->dev_ops = &enetc_ops;\r\n+\teth_dev->rx_pkt_burst = &enetc_recv_pkts;\r\n+\teth_dev->tx_pkt_burst = &enetc_xmit_pkts;\r\n+\r\n+\t/* Retrieving and storing the HW base address of device */\r\n+\thw->hw.reg = (void *)pci_dev->mem_resource[0].addr;\r\n+\thw->device_id = pci_dev->id.device_id;\r\n+\r\n+\terror = enetc_hardware_init(hw);\r\n+\tif (error != 0) {\r\n+\t\tENETC_PMD_ERR(\"Hardware initialization failed\");\r\n+\t\treturn -1;\r\n+\t}\r\n+\r\n+\t/* Allocate memory for storing MAC addresses */\r\n+\teth_dev->data->mac_addrs = rte_zmalloc(\"enetc_eth\", ETHER_ADDR_LEN, 0);\r\n+\tif (!eth_dev->data->mac_addrs) {\r\n+\t\tENETC_PMD_ERR(\"Failed to allocate %d bytes needed to \"\r\n+\t\t\t      \"store MAC addresses\",\r\n+\t\t\t      ETHER_ADDR_LEN * 1);\r\n+\t\terror = -ENOMEM;\r\n+\t\treturn -1;\r\n+\t}\r\n+\r\n+\t/* Copy the permanent MAC address */\r\n+\tether_addr_copy((struct ether_addr *)hw->mac.addr,\r\n+\t\t\t&eth_dev->data->mac_addrs[0]);\r\n+\r\n+\tENETC_PMD_DEBUG(\"port_id %d vendorID=0x%x deviceID=0x%x\",\r\n+\t\t\teth_dev->data->port_id, pci_dev->id.vendor_id,\r\n+\t\t\tpci_dev->id.device_id);\r\n+\treturn 0;\r\n+}\r\n+\r\n+static int\r\n+enetc_dev_uninit(struct rte_eth_dev *eth_dev __rte_unused)\r\n+{\r\n+\tPMD_INIT_FUNC_TRACE();\r\n+\treturn 0;\r\n+}\r\n+\r\n static int\r\n enetc_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,\r\n \t\t\t   struct rte_pci_device *pci_dev)\r\n",
    "prefixes": [
        "v3",
        "07/13"
    ]
}