Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/50784/?format=api
http://patches.dpdk.org/api/patches/50784/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1551698315-2611-2-git-send-email-david.marchand@redhat.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": "<1551698315-2611-2-git-send-email-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1551698315-2611-2-git-send-email-david.marchand@redhat.com", "date": "2019-03-04T11:18:24", "name": "[01/12] net/af_packet: fix incorrect rxq errors stat", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "13a76181808a0d946d35ef52c7673834e04705f7", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1551698315-2611-2-git-send-email-david.marchand@redhat.com/mbox/", "series": [ { "id": 3619, "url": "http://patches.dpdk.org/api/series/3619/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3619", "date": "2019-03-04T11:18:23", "name": "rxq q_errors[] statistics fixes", "version": 1, "mbox": "http://patches.dpdk.org/series/3619/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/50784/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/50784/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 E12C74C90;\n\tMon, 4 Mar 2019 12:19:02 +0100 (CET)", "from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\n\tby dpdk.org (Postfix) with ESMTP id 704ED4C8E;\n\tMon, 4 Mar 2019 12:19:01 +0100 (CET)", "from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id AC9EA37E8B;\n\tMon, 4 Mar 2019 11:19:00 +0000 (UTC)", "from dmarchan.remote.csb (ovpn-204-16.brq.redhat.com\n\t[10.40.204.16])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 91DA85BBA5;\n\tMon, 4 Mar 2019 11:18:58 +0000 (UTC)" ], "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org,\n\t\"John W. Linville\" <linville@tuxdriver.com>", "Date": "Mon, 4 Mar 2019 12:18:24 +0100", "Message-Id": "<1551698315-2611-2-git-send-email-david.marchand@redhat.com>", "In-Reply-To": "<1551698315-2611-1-git-send-email-david.marchand@redhat.com>", "References": "<1551698315-2611-1-git-send-email-david.marchand@redhat.com>", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.14", "X-Greylist": "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.29]); Mon, 04 Mar 2019 11:19:00 +0000 (UTC)", "Subject": "[dpdk-dev] [PATCH 01/12] net/af_packet: fix incorrect rxq errors\n\tstat", "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": "Transmit errors must not be reported in q_errors[] which is for\nreception.\n\nFixes: 364e08f2bbc0 (\"af_packet: add PMD for AF_PACKET-based virtual devices\")\nCc: stable@dpdk.org\nCc: John W. Linville <linville@tuxdriver.com>\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n drivers/net/af_packet/rte_eth_af_packet.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c\nindex 264cfc0..ec90cc0 100644\n--- a/drivers/net/af_packet/rte_eth_af_packet.c\n+++ b/drivers/net/af_packet/rte_eth_af_packet.c\n@@ -328,10 +328,9 @@ struct pmd_internals {\n \t internal->nb_queues : RTE_ETHDEV_QUEUE_STAT_CNTRS);\n \tfor (i = 0; i < imax; i++) {\n \t\tigb_stats->q_opackets[i] = internal->tx_queue[i].tx_pkts;\n-\t\tigb_stats->q_errors[i] = internal->tx_queue[i].err_pkts;\n \t\tigb_stats->q_obytes[i] = internal->tx_queue[i].tx_bytes;\n \t\ttx_total += igb_stats->q_opackets[i];\n-\t\ttx_err_total += igb_stats->q_errors[i];\n+\t\ttx_err_total += internal->tx_queue[i].err_pkts;\n \t\ttx_bytes_total += igb_stats->q_obytes[i];\n \t}\n \n", "prefixes": [ "01/12" ] }{ "id": 50784, "url": "