Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/40682/?format=api
http://patchwork.dpdk.org/api/patches/40682/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20180606203125.90711-1-damarion@cisco.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20180606203125.90711-1-damarion@cisco.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180606203125.90711-1-damarion@cisco.com", "date": "2018-06-06T20:31:25", "name": "[dpdk-dev] i40evf: don't reset device_info data", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "685290c1959c16951b5427d8c208616ccaf1ded9", "submitter": { "id": 68, "url": "http://patchwork.dpdk.org/api/people/68/?format=api", "name": "Damjan Marion (damarion)", "email": "damarion@cisco.com" }, "delegate": { "id": 1540, "url": "http://patchwork.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20180606203125.90711-1-damarion@cisco.com/mbox/", "series": [ { "id": 15, "url": "http://patchwork.dpdk.org/api/series/15/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=15", "date": "2018-06-06T20:31:25", "name": "[dpdk-dev] i40evf: don't reset device_info data", "version": 1, "mbox": "http://patchwork.dpdk.org/series/15/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/40682/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/40682/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 B670E1B3ED;\n\tWed, 6 Jun 2018 22:31:28 +0200 (CEST)", "from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51])\n\tby dpdk.org (Postfix) with ESMTP id EC8561B3E6\n\tfor <dev@dpdk.org>; Wed, 6 Jun 2018 22:31:27 +0200 (CEST)", "from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com)\n\t([173.38.203.22])\n\tby aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 Jun 2018 20:31:27 +0000", "from DAMARION-M-M1XC.cisco.com (ams-damarion-nitro2.cisco.com\n\t[10.55.252.51])\n\tby aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id w56KVQbd020083; \n\tWed, 6 Jun 2018 20:31:27 GMT" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=885; q=dns/txt; s=iport;\n\tt=1528317087; x=1529526687;\n\th=from:to:cc:subject:date:message-id;\n\tbh=KI93RzASFub/uee6Af+PPVHtSlH2HwwbNKyu2DM9XrY=;\n\tb=hhzK0S8uQx8YfIdXek+ouBYVSnjq9jxeqjWqOfwNMpQoa2324wetmRRJ\n\tbJHLwnaL/Mg9WijLdKMhln2RXc6EDB0vau6agtriHiKMKE35omVroDTt4\n\tUezxFTCN8+b5RtvNQ4ygGLo/PKEvqj1x11Yr/RAiK9QApqdK9Bq0MrAFW w=;", "X-IronPort-AV": "E=Sophos;i=\"5.49,484,1520899200\"; d=\"scan'208\";a=\"4374635\"", "From": "Damjan Marion <damarion@cisco.com>", "To": "dev@dpdk.org", "Cc": "Damjan Marion <damarion@cisco.com>", "Date": "Wed, 6 Jun 2018 22:31:25 +0200", "Message-Id": "<20180606203125.90711-1-damarion@cisco.com>", "X-Mailer": "git-send-email 2.17.0", "Subject": "[dpdk-dev] [PATCH] i40evf: don't reset device_info data", "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "At this point valid data is already set by rte_eth_get_device_info.\ndevice field becomes zero and consumer is not able to retrieve pci data.\n\nSigned-off-by: Damjan Marion <damarion@cisco.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 1 -\n 1 file changed, 1 deletion(-)", "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex 804e44530..86b38d202 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -2182,7 +2182,6 @@ i40evf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)\n {\n \tstruct i40e_vf *vf = I40EVF_DEV_PRIVATE_TO_VF(dev->data->dev_private);\n \n-\tmemset(dev_info, 0, sizeof(*dev_info));\n \tdev_info->max_rx_queues = vf->vsi_res->num_queue_pairs;\n \tdev_info->max_tx_queues = vf->vsi_res->num_queue_pairs;\n \tdev_info->min_rx_bufsize = I40E_BUF_SIZE_MIN;\n", "prefixes": [ "dpdk-dev" ] }{ "id": 40682, "url": "