Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/76147/?format=api
http://patches.dpdk.org/api/patches/76147/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1598685199-1630-5-git-send-email-tangchengchang@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": "<1598685199-1630-5-git-send-email-tangchengchang@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1598685199-1630-5-git-send-email-tangchengchang@huawei.com", "date": "2020-08-29T07:13:19", "name": "[v3,4/4] net/hns3: add Rx buffer size to Rx qinfo query", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "106e675e52dafee4a54853dea8bce2ec6e3f6231", "submitter": { "id": 1792, "url": "http://patches.dpdk.org/api/people/1792/?format=api", "name": "Chengchang Tang", "email": "tangchengchang@huawei.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/1598685199-1630-5-git-send-email-tangchengchang@huawei.com/mbox/", "series": [ { "id": 11847, "url": "http://patches.dpdk.org/api/series/11847/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11847", "date": "2020-08-29T07:13:15", "name": "add Rx buffer size for rxq info structure", "version": 3, "mbox": "http://patches.dpdk.org/series/11847/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/76147/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/76147/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 62849A04B1;\n\tSat, 29 Aug 2020 09:16:07 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 47A521C05C;\n\tSat, 29 Aug 2020 09:15:53 +0200 (CEST)", "from huawei.com (szxga05-in.huawei.com [45.249.212.191])\n by dpdk.org (Postfix) with ESMTP id 697F51BDF8\n for <dev@dpdk.org>; Sat, 29 Aug 2020 09:15:48 +0200 (CEST)", "from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58])\n by Forcepoint Email with ESMTP id BAEDD93347814C424A6A;\n Sat, 29 Aug 2020 15:15:45 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id\n 14.3.487.0; Sat, 29 Aug 2020 15:15:39 +0800" ], "From": "Chengchang Tang <tangchengchang@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<linuxarm@huawei.com>, <thomas@monjalon.net>, <arybchenko@solarflare.com>,\n <ferruh.yigit@intel.com>, <wenzhuo.lu@intel.com>, <maryam.tahhan@intel.com>", "Date": "Sat, 29 Aug 2020 15:13:19 +0800", "Message-ID": "<1598685199-1630-5-git-send-email-tangchengchang@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1598685199-1630-1-git-send-email-tangchengchang@huawei.com>", "References": "<1592483709-7076-1-git-send-email-tangchengchang@huawei.com>\n <1598685199-1630-1-git-send-email-tangchengchang@huawei.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-Originating-IP": "[10.69.192.56]", "X-CFilter-Loop": "Reflected", "Subject": "[dpdk-dev] [PATCH v3 4/4] net/hns3: add Rx buffer size to Rx qinfo\n\tquery", "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": "Report hns3 PMD configured Rx buffer size in Rx queue information query.\n\nSigned-off-by: Chengchang Tang <tangchengchang@huawei.com>\nReviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\n---\n drivers/net/hns3/hns3_rxtx.c | 2 ++\n 1 file changed, 2 insertions(+)\n\n--\n2.7.4", "diff": "diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c\nindex fc1a256..d67c5ad 100644\n--- a/drivers/net/hns3/hns3_rxtx.c\n+++ b/drivers/net/hns3/hns3_rxtx.c\n@@ -2830,6 +2830,8 @@ hns3_rxq_info_get(struct rte_eth_dev *dev, uint16_t queue_id,\n \tqinfo->mp = rxq->mb_pool;\n \tqinfo->nb_desc = rxq->nb_rx_desc;\n \tqinfo->scattered_rx = dev->data->scattered_rx;\n+\t/* Report the HW Rx buffer length to user */\n+\tqinfo->rx_buf_size = rxq->rx_buf_len;\n\n \t/*\n \t * If there are no available Rx buffer descriptors, incoming packets\n", "prefixes": [ "v3", "4/4" ] }{ "id": 76147, "url": "