Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63832/?format=api
https://patches.dpdk.org/api/patches/63832/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191213012329.3935-1-jiaqix.min@intel.com/", "project": { "id": 1, "url": "https://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": "<20191213012329.3935-1-jiaqix.min@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191213012329.3935-1-jiaqix.min@intel.com", "date": "2019-12-13T01:23:29", "name": "[v2] net/iavf: fix Rx total stats", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c8f174ddb94026ab65b4cddc7042119c82808091", "submitter": { "id": 1374, "url": "https://patches.dpdk.org/api/people/1374/?format=api", "name": "Min, JiaqiX", "email": "jiaqix.min@intel.com" }, "delegate": { "id": 31221, "url": "https://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191213012329.3935-1-jiaqix.min@intel.com/mbox/", "series": [ { "id": 7817, "url": "https://patches.dpdk.org/api/series/7817/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7817", "date": "2019-12-13T01:23:29", "name": "[v2] net/iavf: fix Rx total stats", "version": 2, "mbox": "https://patches.dpdk.org/series/7817/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/63832/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/63832/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 B835AA04F5;\n\tFri, 13 Dec 2019 02:27:36 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 80F3B1BF96;\n\tFri, 13 Dec 2019 02:27:36 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by dpdk.org (Postfix) with ESMTP id 536BC1BF90;\n Fri, 13 Dec 2019 02:27:34 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 12 Dec 2019 17:27:33 -0800", "from intel.sh.intel.com ([10.239.255.32])\n by fmsmga001.fm.intel.com with ESMTP; 12 Dec 2019 17:27:32 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.69,307,1571727600\"; d=\"scan'208\";a=\"220816134\"", "From": "Jiaqi Min <jiaqix.min@intel.com>", "To": "dev@dpdk.org", "Cc": "Jingjing Wu <jingjing.wu@intel.com>, Qiming Yang <qiming.yang@intel.com>,\n Jiaqi Min <jiaqix.min@intel.com>, stable@dpdk.org", "Date": "Fri, 13 Dec 2019 01:23:29 +0000", "Message-Id": "<20191213012329.3935-1-jiaqix.min@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20191212134947.79096-1-jiaqix.min@intel.com>", "References": "<20191212134947.79096-1-jiaqix.min@intel.com>", "Subject": "[dpdk-dev] [PATCH v2] net/iavf: fix Rx total stats", "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": "Rx total stats is the total number of successfully received packets,\nso exclude the number of rx_discards for Rx total stats.\n\nFixes: f4a41a6953af (\"net/avf: support stats\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jiaqi Min <jiaqix.min@intel.com>\n---\nv2:\n* Changed commit message.\n---\n drivers/net/iavf/iavf_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c\nindex a39ba1466..f544303c0 100644\n--- a/drivers/net/iavf/iavf_ethdev.c\n+++ b/drivers/net/iavf/iavf_ethdev.c\n@@ -1068,7 +1068,7 @@ iavf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)\n \tif (ret == 0) {\n \t\tiavf_update_stats(vsi, pstats);\n \t\tstats->ipackets = pstats->rx_unicast + pstats->rx_multicast +\n-\t\t\t\t\t\tpstats->rx_broadcast;\n+\t\t\t\tpstats->rx_broadcast - pstats->rx_discards;\n \t\tstats->opackets = pstats->tx_broadcast + pstats->tx_multicast +\n \t\t\t\t\t\tpstats->tx_unicast;\n \t\tstats->imissed = pstats->rx_discards;\n", "prefixes": [ "v2" ] }{ "id": 63832, "url": "