Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76611/?format=api
http://patches.dpdk.org/api/patches/76611/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/97580c5c0a88e8aa6982a7fcea6f34829891da07.1599292452.git.wangyunjian@huawei.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": "<97580c5c0a88e8aa6982a7fcea6f34829891da07.1599292452.git.wangyunjian@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/97580c5c0a88e8aa6982a7fcea6f34829891da07.1599292452.git.wangyunjian@huawei.com", "date": "2020-09-05T09:36:53", "name": "[2/2] net/bnxt: fix a wrong use of rte_free when freeing mbuf", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "2289cea9b0781d8a6eb0aefca5a17493b9750ee4", "submitter": { "id": 551, "url": "http://patches.dpdk.org/api/people/551/?format=api", "name": "Yunjian Wang", "email": "wangyunjian@huawei.com" }, "delegate": { "id": 1766, "url": "http://patches.dpdk.org/api/users/1766/?format=api", "username": "ajitkhaparde", "first_name": "Ajit", "last_name": "Khaparde", "email": "ajit.khaparde@broadcom.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/97580c5c0a88e8aa6982a7fcea6f34829891da07.1599292452.git.wangyunjian@huawei.com/mbox/", "series": [ { "id": 11968, "url": "http://patches.dpdk.org/api/series/11968/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11968", "date": "2020-09-05T09:36:07", "name": "fixes for bnxt driver", "version": 1, "mbox": "http://patches.dpdk.org/series/11968/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76611/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/76611/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 D3714A04C5;\n\tSat, 5 Sep 2020 11:37:08 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B14071C0C6;\n\tSat, 5 Sep 2020 11:37:08 +0200 (CEST)", "from huawei.com (szxga07-in.huawei.com [45.249.212.35])\n by dpdk.org (Postfix) with ESMTP id 532DF1C0C0;\n Sat, 5 Sep 2020 11:37:07 +0200 (CEST)", "from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59])\n by Forcepoint Email with ESMTP id 630FA63D58AC723A579C;\n Sat, 5 Sep 2020 17:37:05 +0800 (CST)", "from localhost (10.174.185.168) by DGGEMS414-HUB.china.huawei.com\n (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Sat, 5 Sep 2020\n 17:36:56 +0800" ], "From": "wangyunjian <wangyunjian@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ajit.khaparde@broadcom.com>, <somnath.kotur@broadcom.com>,\n <jerry.lilijun@huawei.com>, <xudingke@huawei.com>, Yunjian Wang\n <wangyunjian@huawei.com>, <stable@dpdk.org>", "Date": "Sat, 5 Sep 2020 17:36:53 +0800", "Message-ID": "\n <97580c5c0a88e8aa6982a7fcea6f34829891da07.1599292452.git.wangyunjian@huawei.com>", "X-Mailer": "git-send-email 1.9.5.msysgit.1", "In-Reply-To": "<cover.1599292452.git.wangyunjian@huawei.com>", "References": "<cover.1599292452.git.wangyunjian@huawei.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.174.185.168]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH 2/2] net/bnxt: fix a wrong use of rte_free when\n\tfreeing mbuf", "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": "From: Yunjian Wang <wangyunjian@huawei.com>\n\nWe should use rte_pktmbuf_free() instead of rte_free() to free the mbuf.\n\nFixes: 6dc83230b43b (\"net/bnxt: support port representor data path\")\nCc: stable@dpdk.org\n\nSigned-off-by: Yunjian Wang <wangyunjian@huawei.com>\n---\n drivers/net/bnxt/bnxt_reps.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/bnxt/bnxt_reps.c b/drivers/net/bnxt/bnxt_reps.c\nindex e924025cf..26bd0f626 100644\n--- a/drivers/net/bnxt/bnxt_reps.c\n+++ b/drivers/net/bnxt/bnxt_reps.c\n@@ -61,7 +61,7 @@ bnxt_vfr_recv(uint16_t port_id, uint16_t queue_id, struct rte_mbuf *mbuf)\n \t} else {\n \t\tvfr_bp->rx_drop_bytes[que] += mbuf->pkt_len;\n \t\tvfr_bp->rx_drop_pkts[que]++;\n-\t\trte_free(mbuf); /* Representor Rx ring full, drop pkt */\n+\t\trte_pktmbuf_free(mbuf); /* Representor Rx ring full, drop pkt */\n \t}\n \n \treturn 0;\n", "prefixes": [ "2/2" ] }{ "id": 76611, "url": "