Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/61818/?format=api
http://patches.dpdk.org/api/patches/61818/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191024055913.28817-18-somnath.kotur@broadcom.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": "<20191024055913.28817-18-somnath.kotur@broadcom.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191024055913.28817-18-somnath.kotur@broadcom.com", "date": "2019-10-24T05:59:12", "name": "[17/17] net/bnxt: fix mbuf free when clearing Tx queue", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ebfc8cc9d92a0c07a2d7128098cb5adc60025510", "submitter": { "id": 908, "url": "http://patches.dpdk.org/api/people/908/?format=api", "name": "Somnath Kotur", "email": "somnath.kotur@broadcom.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191024055913.28817-18-somnath.kotur@broadcom.com/mbox/", "series": [ { "id": 7030, "url": "http://patches.dpdk.org/api/series/7030/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7030", "date": "2019-10-24T05:58:56", "name": "bnxt patchset with bug fixes", "version": 1, "mbox": "http://patches.dpdk.org/series/7030/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/61818/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/61818/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 948011C2EE;\n\tThu, 24 Oct 2019 08:08:18 +0200 (CEST)", "from relay.smtp.broadcom.com (unknown [192.19.211.62])\n\tby dpdk.org (Postfix) with ESMTP id 0F1BF1C033\n\tfor <dev@dpdk.org>; Thu, 24 Oct 2019 08:07:02 +0200 (CEST)", "from dhcp-10-123-153-55.dhcp.broadcom.net\n\t(bgccx-dev-host-lnx35.bec.broadcom.net [10.123.153.55])\n\tby relay.smtp.broadcom.com (Postfix) with ESMTP id 7F9F528FAD2;\n\tWed, 23 Oct 2019 23:07:01 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com 7F9F528FAD2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n\ts=dkimrelay; t=1571897221;\n\tbh=zPbFlv2PAvKWn3BYenD5OoIxF138g4l4FNkenSz/QGA=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=J/PGOe5TKN0DWhUtwM3pE/3mh6CAYT9pQsf8Z2xb0/JGpoUkw7rvq1rc8Bt0fS1zb\n\t5atSffZspf68tvzvGKU3wJy2bb1JP4upLY14v1xvzSeVBwVGk8Le+8x2XmnigHMLz7\n\t+gt37e6UgwgNn0Y27r89F27V7pPnPnwhq0GHTTxA=", "From": "Somnath Kotur <somnath.kotur@broadcom.com>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com", "Date": "Thu, 24 Oct 2019 11:29:12 +0530", "Message-Id": "<20191024055913.28817-18-somnath.kotur@broadcom.com>", "X-Mailer": "git-send-email 2.10.1.613.g2cc2e70", "In-Reply-To": "<20191024055913.28817-1-somnath.kotur@broadcom.com>", "References": "<20191024055913.28817-1-somnath.kotur@broadcom.com>", "Subject": "[dpdk-dev] [PATCH 17/17] net/bnxt: fix mbuf free when clearing Tx\n\tqueue", "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": "From: Lance Richardson <lance.richardson@broadcom.com>\n\nWhen freeing pending transmit mbufs, use rte_pktmbuf_free_seg()\ninstead of rte_pktmbuf_free(), otherwise linked mbufs may be freed\nmore than once.\n\nFixes: 6eb3cc2294fd (\"net/bnxt: add initial Tx code\")\nReviewed-by: Ajit Kumar Khaparde <ajit.khaparde@broadcom.com>\nReviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>\nSigned-off-by: Somnath Kotur <somnath.kotur@broadcom.com>\n---\n drivers/net/bnxt/bnxt_txq.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/bnxt/bnxt_txq.c b/drivers/net/bnxt/bnxt_txq.c\nindex ebb9199..6b866d4 100644\n--- a/drivers/net/bnxt/bnxt_txq.c\n+++ b/drivers/net/bnxt/bnxt_txq.c\n@@ -34,7 +34,7 @@ static void bnxt_tx_queue_release_mbufs(struct bnxt_tx_queue *txq)\n \tif (sw_ring) {\n \t\tfor (i = 0; i < txq->tx_ring->tx_ring_struct->ring_size; i++) {\n \t\t\tif (sw_ring[i].mbuf) {\n-\t\t\t\trte_pktmbuf_free(sw_ring[i].mbuf);\n+\t\t\t\trte_pktmbuf_free_seg(sw_ring[i].mbuf);\n \t\t\t\tsw_ring[i].mbuf = NULL;\n \t\t\t}\n \t\t}\n", "prefixes": [ "17/17" ] }{ "id": 61818, "url": "