Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/90247/?format=api
https://patches.dpdk.org/api/patches/90247/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210401011626.10500-1-alvinx.zhang@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": "<20210401011626.10500-1-alvinx.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210401011626.10500-1-alvinx.zhang@intel.com", "date": "2021-04-01T01:16:26", "name": "net/igc: fix Rx error counter for badlen packets", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "011faf443ae2af8e38c86ecb99c463a59b793e05", "submitter": { "id": 1398, "url": "https://patches.dpdk.org/api/people/1398/?format=api", "name": "Alvin Zhang", "email": "alvinx.zhang@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210401011626.10500-1-alvinx.zhang@intel.com/mbox/", "series": [ { "id": 16019, "url": "https://patches.dpdk.org/api/series/16019/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16019", "date": "2021-04-01T01:16:26", "name": "net/igc: fix Rx error counter for badlen packets", "version": 1, "mbox": "https://patches.dpdk.org/series/16019/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/90247/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/90247/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id AF142A034F;\n\tThu, 1 Apr 2021 03:16:34 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6DECD140F4D;\n\tThu, 1 Apr 2021 03:16:34 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id B3D8D140F57\n for <dev@dpdk.org>; Thu, 1 Apr 2021 03:16:31 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Mar 2021 18:16:30 -0700", "from shwdenpg235.ccr.corp.intel.com ([10.240.182.60])\n by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Mar 2021 18:16:28 -0700" ], "IronPort-SDR": [ "\n 5MQwN6BDU6T38/d4PCi8Qya9AVu85N3tuI3jtZiu5QaR7jM9qux51Eie71wppRUN5TQcFEYlgL\n +eS5TVBf3xrw==", "\n vP/MaxGnFdw1m51q7v2cIhSAIOKCIvYjuQtAbpfypPWdsQfNB1Adg1cBRBYoQGzMZVOLIfQuq6\n XBCj+ZD8d7dw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9940\"; a=\"256111080\"", "E=Sophos;i=\"5.81,295,1610438400\"; d=\"scan'208\";a=\"256111080\"", "E=Sophos;i=\"5.81,295,1610438400\"; d=\"scan'208\";a=\"445988967\"" ], "From": "Alvin Zhang <alvinx.zhang@intel.com>", "To": "haiyue.wang@intel.com,\n\tjia.guo@intel.com", "Cc": "dev@dpdk.org", "Date": "Thu, 1 Apr 2021 09:16:26 +0800", "Message-Id": "<20210401011626.10500-1-alvinx.zhang@intel.com>", "X-Mailer": "git-send-email 2.21.0.windows.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH] net/igc: fix Rx error counter for badlen packets", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "When the size of the packet is less than the minimum or greater\nthan the maximum, the packet will be counted twice in the error\npacket counter.\n\nFixes: e6defdfddc3b (\"net/igc: enable statistics\")\nCc: stable@dpdk.org\n\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\n---\n drivers/net/igc/igc_ethdev.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)", "diff": "diff --git a/drivers/net/igc/igc_ethdev.c b/drivers/net/igc/igc_ethdev.c\nindex 0ea6e2a..c398701 100644\n--- a/drivers/net/igc/igc_ethdev.c\n+++ b/drivers/net/igc/igc_ethdev.c\n@@ -1901,8 +1901,7 @@ static int eth_igc_vlan_tpid_set(struct rte_eth_dev *dev,\n \n \t/* Rx Errors */\n \trte_stats->imissed = stats->mpc;\n-\trte_stats->ierrors = stats->crcerrs +\n-\t\t\tstats->rlec + stats->ruc + stats->roc +\n+\trte_stats->ierrors = stats->crcerrs + stats->rlec +\n \t\t\tstats->rxerrc + stats->algnerrc;\n \n \t/* Tx Errors */\n", "prefixes": [] }{ "id": 90247, "url": "