Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/99108/?format=api
http://patches.dpdk.org/api/patches/99108/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210917101824.527156-3-robinx.zhang@intel.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": "<20210917101824.527156-3-robinx.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210917101824.527156-3-robinx.zhang@intel.com", "date": "2021-09-17T10:18:23", "name": "[v6,2/3] net/iavf: remove i40evf devargs option", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "53bdbb657d2d223f80943ef6469ad0acc18821f3", "submitter": { "id": 2004, "url": "http://patches.dpdk.org/api/people/2004/?format=api", "name": "Robin Zhang", "email": "robinx.zhang@intel.com" }, "delegate": { "id": 1540, "url": "http://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210917101824.527156-3-robinx.zhang@intel.com/mbox/", "series": [ { "id": 19006, "url": "http://patches.dpdk.org/api/series/19006/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19006", "date": "2021-09-17T10:18:21", "name": "net/i40e: remove i40evf", "version": 6, "mbox": "http://patches.dpdk.org/series/19006/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/99108/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/99108/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 9041CA0C46;\n\tFri, 17 Sep 2021 12:32:01 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 35D61410F8;\n\tFri, 17 Sep 2021 12:31:55 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 4F651410EA\n for <dev@dpdk.org>; Fri, 17 Sep 2021 12:31:52 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Sep 2021 03:31:51 -0700", "from unknown (HELO intel-npg-odc-srv03.cd.intel.com)\n ([10.240.178.145])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Sep 2021 03:31:49 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10109\"; a=\"210001150\"", "E=Sophos;i=\"5.85,301,1624345200\"; d=\"scan'208\";a=\"210001150\"", "E=Sophos;i=\"5.85,301,1624345200\"; d=\"scan'208\";a=\"546283291\"" ], "From": "Robin Zhang <robinx.zhang@intel.com>", "To": "dev@dpdk.org", "Cc": "haiyue.wang@intel.com, beilei.xing@intel.com, mdr@ashroe.eu,\n jingjing.wu@intel.com, anatoly.burakov@intel.com, qi.z.zhang@intel.com,\n junfeng.guo@intel.com, stevex.yang@intel.com,\n Robin Zhang <robinx.zhang@intel.com>", "Date": "Fri, 17 Sep 2021 10:18:23 +0000", "Message-Id": "<20210917101824.527156-3-robinx.zhang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210917101824.527156-1-robinx.zhang@intel.com>", "References": "<20210830031215.557238-1-robinx.zhang@intel.com>\n <20210917101824.527156-1-robinx.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v6 2/3] net/iavf: remove i40evf devargs option", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Due to i40evf will be removed, so there's no need to keep the devargs\noption \"driver=i40evf\" in iavf.\n\nSigned-off-by: Robin Zhang <robinx.zhang@intel.com>\n---\n drivers/net/iavf/iavf_ethdev.c | 52 ++--------------------------------\n 1 file changed, 2 insertions(+), 50 deletions(-)", "diff": "diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c\nindex c131461517..493bc41da9 100644\n--- a/drivers/net/iavf/iavf_ethdev.c\n+++ b/drivers/net/iavf/iavf_ethdev.c\n@@ -2506,58 +2506,10 @@ iavf_dcf_cap_selected(struct rte_devargs *devargs)\n \treturn ret;\n }\n \n-static int\n-iavf_drv_i40evf_check_handler(__rte_unused const char *key,\n-\t\t\t const char *value, __rte_unused void *opaque)\n-{\n-\tif (strcmp(value, \"i40evf\"))\n-\t\treturn -1;\n-\n-\treturn 0;\n-}\n-\n-static int\n-iavf_drv_i40evf_selected(struct rte_devargs *devargs, uint16_t device_id)\n-{\n-\tstruct rte_kvargs *kvlist;\n-\tint ret = 0;\n-\n-\tif (device_id != IAVF_DEV_ID_VF &&\n-\t device_id != IAVF_DEV_ID_VF_HV &&\n-\t device_id != IAVF_DEV_ID_X722_VF &&\n-\t device_id != IAVF_DEV_ID_X722_A0_VF)\n-\t\treturn 0;\n-\n-\tif (devargs == NULL)\n-\t\treturn 0;\n-\n-\tkvlist = rte_kvargs_parse(devargs->args, NULL);\n-\tif (kvlist == NULL)\n-\t\treturn 0;\n-\n-\tif (!rte_kvargs_count(kvlist, RTE_DEVARGS_KEY_DRIVER))\n-\t\tgoto exit;\n-\n-\t/* i40evf driver selected when there's a key-value pair:\n-\t * driver=i40evf\n-\t */\n-\tif (rte_kvargs_process(kvlist, RTE_DEVARGS_KEY_DRIVER,\n-\t\t\t iavf_drv_i40evf_check_handler, NULL) < 0)\n-\t\tgoto exit;\n-\n-\tret = 1;\n-\n-exit:\n-\trte_kvargs_free(kvlist);\n-\treturn ret;\n-}\n-\n static int eth_iavf_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,\n \t\t\t struct rte_pci_device *pci_dev)\n {\n-\tif (iavf_dcf_cap_selected(pci_dev->device.devargs) ||\n-\t iavf_drv_i40evf_selected(pci_dev->device.devargs,\n-\t\t\t\t pci_dev->id.device_id))\n+\tif (iavf_dcf_cap_selected(pci_dev->device.devargs))\n \t\treturn 1;\n \n \treturn rte_eth_dev_pci_generic_probe(pci_dev,\n@@ -2580,7 +2532,7 @@ static struct rte_pci_driver rte_iavf_pmd = {\n RTE_PMD_REGISTER_PCI(net_iavf, rte_iavf_pmd);\n RTE_PMD_REGISTER_PCI_TABLE(net_iavf, pci_id_iavf_map);\n RTE_PMD_REGISTER_KMOD_DEP(net_iavf, \"* igb_uio | vfio-pci\");\n-RTE_PMD_REGISTER_PARAM_STRING(net_iavf, \"cap=dcf driver=i40evf\");\n+RTE_PMD_REGISTER_PARAM_STRING(net_iavf, \"cap=dcf\");\n RTE_LOG_REGISTER_SUFFIX(iavf_logtype_init, init, NOTICE);\n RTE_LOG_REGISTER_SUFFIX(iavf_logtype_driver, driver, NOTICE);\n #ifdef RTE_ETHDEV_DEBUG_RX\n", "prefixes": [ "v6", "2/3" ] }{ "id": 99108, "url": "