Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/53628/?format=api
http://patches.dpdk.org/api/patches/53628/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1558575434-57309-1-git-send-email-beilei.xing@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": "<1558575434-57309-1-git-send-email-beilei.xing@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1558575434-57309-1-git-send-email-beilei.xing@intel.com", "date": "2019-05-23T01:37:14", "name": "[v2] net/i40e: allow VF to configure pctype mapping", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "515a2b06adc9b86967b424ced989a1e6b35d31e1", "submitter": { "id": 410, "url": "http://patches.dpdk.org/api/people/410/?format=api", "name": "Xing, Beilei", "email": "beilei.xing@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/1558575434-57309-1-git-send-email-beilei.xing@intel.com/mbox/", "series": [ { "id": 4749, "url": "http://patches.dpdk.org/api/series/4749/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4749", "date": "2019-05-23T01:37:14", "name": "[v2] net/i40e: allow VF to configure pctype mapping", "version": 2, "mbox": "http://patches.dpdk.org/series/4749/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/53628/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/53628/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 B11DC1B13C;\n\tThu, 23 May 2019 03:38:05 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id 53C9B5689\n\tfor <dev@dpdk.org>; Thu, 23 May 2019 03:38:04 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t22 May 2019 18:38:03 -0700", "from unknown (HELO dpdk9.sh.intel.com) ([10.67.118.52])\n\tby fmsmga001.fm.intel.com with ESMTP; 22 May 2019 18:38:03 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Beilei Xing <beilei.xing@intel.com>", "To": "qi.z.zhang@intel.com", "Cc": "dev@dpdk.org", "Date": "Thu, 23 May 2019 09:37:14 +0800", "Message-Id": "<1558575434-57309-1-git-send-email-beilei.xing@intel.com>", "X-Mailer": "git-send-email 2.5.5", "In-Reply-To": "<1558506891-8427-1-git-send-email-beilei.xing@intel.com>", "References": "<1558506891-8427-1-git-send-email-beilei.xing@intel.com>", "Subject": "[dpdk-dev] [PATCH v2] net/i40e: allow VF to configure pctype mapping", "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": "This patch allows VF to get/update/reset pctype\nmapping info.\n\nSigned-off-by: Beilei Xing <beilei.xing@intel.com>\n---\nv2 changes:\n - Allow VF update/reset pctype mapping.\n\n drivers/net/i40e/rte_pmd_i40e.c | 8 --------\n 1 file changed, 8 deletions(-)", "diff": "diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i40e.c\nindex 7ae78e4..b3bdc61 100644\n--- a/drivers/net/i40e/rte_pmd_i40e.c\n+++ b/drivers/net/i40e/rte_pmd_i40e.c\n@@ -2405,8 +2405,6 @@ int rte_pmd_i40e_flow_type_mapping_reset(uint16_t port)\n \n \tdev = &rte_eth_devices[port];\n \n-\tif (!is_i40e_supported(dev))\n-\t\treturn -ENOTSUP;\n \n \ti40e_set_default_pctype_table(dev);\n \n@@ -2425,9 +2423,6 @@ int rte_pmd_i40e_flow_type_mapping_get(\n \n \tdev = &rte_eth_devices[port];\n \n-\tif (!is_i40e_supported(dev))\n-\t\treturn -ENOTSUP;\n-\n \tad = I40E_DEV_PRIVATE_TO_ADAPTER(dev->data->dev_private);\n \n \tfor (i = 0; i < I40E_FLOW_TYPE_MAX; i++) {\n@@ -2453,9 +2448,6 @@ rte_pmd_i40e_flow_type_mapping_update(\n \n \tdev = &rte_eth_devices[port];\n \n-\tif (!is_i40e_supported(dev))\n-\t\treturn -ENOTSUP;\n-\n \tif (count > I40E_FLOW_TYPE_MAX)\n \t\treturn -EINVAL;\n \n", "prefixes": [ "v2" ] }{ "id": 53628, "url": "