Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63785/?format=api
https://patches.dpdk.org/api/patches/63785/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191212134947.79096-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": "<20191212134947.79096-1-jiaqix.min@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191212134947.79096-1-jiaqix.min@intel.com", "date": "2019-12-12T13:49:47", "name": "net/iavf: fix Rx total stats", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "0ec489b4720f308fd9ef7fbebeffa130b47a26c3", "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/20191212134947.79096-1-jiaqix.min@intel.com/mbox/", "series": [ { "id": 7807, "url": "https://patches.dpdk.org/api/series/7807/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7807", "date": "2019-12-12T13:49:47", "name": "net/iavf: fix Rx total stats", "version": 1, "mbox": "https://patches.dpdk.org/series/7807/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/63785/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/63785/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 D15F8A04F5;\n\tThu, 12 Dec 2019 06:55:35 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A453C374C;\n\tThu, 12 Dec 2019 06:55:34 +0100 (CET)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 232322BC8;\n Thu, 12 Dec 2019 06:55:32 +0100 (CET)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 11 Dec 2019 21:55:31 -0800", "from intel.sh.intel.com ([10.239.255.32])\n by fmsmga002.fm.intel.com with ESMTP; 11 Dec 2019 21:55:29 -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,304,1571727600\"; d=\"scan'208\";a=\"245575780\"", "From": "Jiaqi Min <jiaqix.min@intel.com>", "To": "dev@dpdk.org", "Cc": "Jingjing Wu <jingjing.wu@intel.com>, Wenzhuo Lu <wenzhuo.lu@intel.com>,\n Qiming Yang <qiming.yang@intel.com>, Jiaqi Min <jiaqix.min@intel.com>,\n stable@dpdk.org", "Date": "Thu, 12 Dec 2019 13:49:47 +0000", "Message-Id": "<20191212134947.79096-1-jiaqix.min@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH] 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 statistics error when packets above\nthe jumbo frame. The patch fixed the issue.\n\nFixes: f4a41a6953af (\"net/avf: support stats\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jiaqi Min <jiaqix.min@intel.com>\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..867843205 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\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": [] }{ "id": 63785, "url": "