Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/72609/?format=api
http://patches.dpdk.org/api/patches/72609/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1593604482-47494-8-git-send-email-xavier.huwei@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": "<1593604482-47494-8-git-send-email-xavier.huwei@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1593604482-47494-8-git-send-email-xavier.huwei@huawei.com", "date": "2020-07-01T11:54:39", "name": "[07/10] net/hns3: report Tx descriptor segment limitations", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "2ebb90ddc7898f404c81a644b3e9a37ac3466c75", "submitter": { "id": 1405, "url": "http://patches.dpdk.org/api/people/1405/?format=api", "name": "Wei Hu (Xavier)", "email": "xavier.huwei@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/1593604482-47494-8-git-send-email-xavier.huwei@huawei.com/mbox/", "series": [ { "id": 10710, "url": "http://patches.dpdk.org/api/series/10710/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10710", "date": "2020-07-01T11:54:33", "name": "misc updates for hns3 PMD driver", "version": 1, "mbox": "http://patches.dpdk.org/series/10710/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/72609/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/72609/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 C30D4A0350;\n\tWed, 1 Jul 2020 13:57:35 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 70D111D514;\n\tWed, 1 Jul 2020 13:56:40 +0200 (CEST)", "from huawei.com (szxga07-in.huawei.com [45.249.212.35])\n by dpdk.org (Postfix) with ESMTP id 6238E1D40D\n for <dev@dpdk.org>; Wed, 1 Jul 2020 13:56:34 +0200 (CEST)", "from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60])\n by Forcepoint Email with ESMTP id 3B6D67D64DCBBDBC8705\n for <dev@dpdk.org>; Wed, 1 Jul 2020 19:56:32 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id\n 14.3.487.0; Wed, 1 Jul 2020 19:56:22 +0800" ], "From": "\"Wei Hu (Xavier)\" <xavier.huwei@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<xavier.huwei@huawei.com>", "Date": "Wed, 1 Jul 2020 19:54:39 +0800", "Message-ID": "<1593604482-47494-8-git-send-email-xavier.huwei@huawei.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<1593604482-47494-1-git-send-email-xavier.huwei@huawei.com>", "References": "<1593604482-47494-1-git-send-email-xavier.huwei@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 07/10] net/hns3: report Tx descriptor segment\n\tlimitations", "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: Lijun Ou <oulijun@huawei.com>\n\nAccording to the user manual of Kunpeng920 SoC, the max allowed number of\nsegments per whole packet is 63 and the max number of segments per packet\nis 8 in datapath.\n\nThis patch reports the Two segment parameters of Tx descriptor limitations\nto DPDK framework.\n\nSigned-off-by: Lijun Ou <oulijun@huawei.com>\nSigned-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>\n---\n drivers/net/hns3/hns3_ethdev.c | 2 ++\n drivers/net/hns3/hns3_ethdev_vf.c | 2 ++\n 2 files changed, 4 insertions(+)", "diff": "diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c\nindex 1c234da..7bc9b17 100644\n--- a/drivers/net/hns3/hns3_ethdev.c\n+++ b/drivers/net/hns3/hns3_ethdev.c\n@@ -2494,6 +2494,8 @@ hns3_dev_infos_get(struct rte_eth_dev *eth_dev, struct rte_eth_dev_info *info)\n \t\t.nb_max = HNS3_MAX_RING_DESC,\n \t\t.nb_min = HNS3_MIN_RING_DESC,\n \t\t.nb_align = HNS3_ALIGN_RING_DESC,\n+\t\t.nb_seg_max = HNS3_MAX_TSO_BD_PER_PKT,\n+\t\t.nb_mtu_seg_max = HNS3_MAX_NON_TSO_BD_PER_PKT,\n \t};\n \n \tinfo->vmdq_queue_num = 0;\ndiff --git a/drivers/net/hns3/hns3_ethdev_vf.c b/drivers/net/hns3/hns3_ethdev_vf.c\nindex 04a8364..9c45ffa 100644\n--- a/drivers/net/hns3/hns3_ethdev_vf.c\n+++ b/drivers/net/hns3/hns3_ethdev_vf.c\n@@ -944,6 +944,8 @@ hns3vf_dev_infos_get(struct rte_eth_dev *eth_dev, struct rte_eth_dev_info *info)\n \t\t.nb_max = HNS3_MAX_RING_DESC,\n \t\t.nb_min = HNS3_MIN_RING_DESC,\n \t\t.nb_align = HNS3_ALIGN_RING_DESC,\n+\t\t.nb_seg_max = HNS3_MAX_TSO_BD_PER_PKT,\n+\t\t.nb_mtu_seg_max = HNS3_MAX_NON_TSO_BD_PER_PKT,\n \t};\n \n \tinfo->vmdq_queue_num = 0;\n", "prefixes": [ "07/10" ] }{ "id": 72609, "url": "