Message ID | 1599722646-19188-1-git-send-email-humin29@huawei.com (mailing list archive) |
---|---|
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]) by inbox.dpdk.org (Postfix) with ESMTP id 1F2ABA04B5; Thu, 10 Sep 2020 09:26:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B8261BFA2; Thu, 10 Sep 2020 09:26:37 +0200 (CEST) Received: from huawei.com (szxga04-in.huawei.com [45.249.212.190]) by dpdk.org (Postfix) with ESMTP id B59B91BFA2 for <dev@dpdk.org>; Thu, 10 Sep 2020 09:26:35 +0200 (CEST) Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id EE5BDBD324688977A475; Thu, 10 Sep 2020 15:26:33 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Thu, 10 Sep 2020 15:26:26 +0800 From: "Min Hu (Connor)" <humin29@huawei.com> To: <dev@dpdk.org> CC: <thomas@monjalon.net>, <arybchenko@solarflare.com>, <ferruh.yigit@intel.com>, <linuxarm@huawei.com> Date: Thu, 10 Sep 2020 15:24:03 +0800 Message-ID: <1599722646-19188-1-git-send-email-humin29@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1599534347-20430-1-git-send-email-humin29@huawei.com> References: <1599534347-20430-1-git-send-email-humin29@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 V4 0/3] add FEC support 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>, <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>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
add FEC support
|
|
Message
humin (Q)
Sept. 10, 2020, 7:24 a.m. UTC
This series add FEC support for ethdev. Min Hu (Connor) (3): ethdev: introduce FEC API net/hns3: support FEC app/testpmd: add FEC command app/test-pmd/cmdline.c | 219 +++++++++++++++++++++++++++++++ app/test-pmd/config.c | 54 ++++++++ app/test-pmd/testpmd.h | 2 + drivers/net/hns3/hns3_cmd.h | 19 ++- drivers/net/hns3/hns3_ethdev.c | 156 ++++++++++++++++++++++ drivers/net/hns3/hns3_ethdev.h | 1 + lib/librte_ethdev/rte_ethdev.c | 50 +++++++ lib/librte_ethdev/rte_ethdev.h | 75 +++++++++++ lib/librte_ethdev/rte_ethdev_core.h | 77 +++++++++++ lib/librte_ethdev/rte_ethdev_version.map | 5 + 10 files changed, 657 insertions(+), 1 deletion(-)
Comments
On Thu, Sep 10, 2020 at 12:26 AM Min Hu (Connor) <humin29@huawei.com> wrote: > This series add FEC support for ethdev. > Can you tell why DPDK applications need this info? > > Min Hu (Connor) (3): > ethdev: introduce FEC API > net/hns3: support FEC > app/testpmd: add FEC command > > app/test-pmd/cmdline.c | 219 > +++++++++++++++++++++++++++++++ > app/test-pmd/config.c | 54 ++++++++ > app/test-pmd/testpmd.h | 2 + > drivers/net/hns3/hns3_cmd.h | 19 ++- > drivers/net/hns3/hns3_ethdev.c | 156 ++++++++++++++++++++++ > drivers/net/hns3/hns3_ethdev.h | 1 + > lib/librte_ethdev/rte_ethdev.c | 50 +++++++ > lib/librte_ethdev/rte_ethdev.h | 75 +++++++++++ > lib/librte_ethdev/rte_ethdev_core.h | 77 +++++++++++ > lib/librte_ethdev/rte_ethdev_version.map | 5 + > 10 files changed, 657 insertions(+), 1 deletion(-) > > -- > 2.7.4 > >
Hi, Ajit Khaparde: Forward error correction (FEC) is a bit error correction mode. It adds error correction information to data packets at the transmit end, and uses the error correction information to correct the bit errors generated during data packet transmission at the receive end. This improves signal quality. FEC ensures signal transmission quality in high-speed networks. DPDK application needs FEC information from device if user want to set FEC mode to ensures signal transmission quality. For example, if user wants to set FEC mode for device by "rte_eth_fec_set",FEC capability of device getting from "rte_eth_fec_get_capability" is needed by user. AS FEC mode should be within the limits of FEC capability of device. 在 2020/9/11 5:02, Ajit Khaparde 写道: > > On Thu, Sep 10, 2020 at 12:26 AM Min Hu (Connor) <humin29@huawei.com > <mailto:humin29@huawei.com>> wrote: > > This series add FEC support for ethdev. > > Can you tell why DPDK applications need this info? > > > Min Hu (Connor) (3): > ethdev: introduce FEC API > net/hns3: support FEC > app/testpmd: add FEC command > > app/test-pmd/cmdline.c | 219 > +++++++++++++++++++++++++++++++ > app/test-pmd/config.c | 54 ++++++++ > app/test-pmd/testpmd.h | 2 + > drivers/net/hns3/hns3_cmd.h | 19 ++- > drivers/net/hns3/hns3_ethdev.c | 156 ++++++++++++++++++++++ > drivers/net/hns3/hns3_ethdev.h | 1 + > lib/librte_ethdev/rte_ethdev.c | 50 +++++++ > lib/librte_ethdev/rte_ethdev.h | 75 +++++++++++ > lib/librte_ethdev/rte_ethdev_core.h | 77 +++++++++++ > lib/librte_ethdev/rte_ethdev_version.map | 5 + > 10 files changed, 657 insertions(+), 1 deletion(-) > > -- > 2.7.4 >
Hi, all Are there any comment? Thanks Connor 在 2020/9/10 15:24, Min Hu (Connor) 写道: > This series add FEC support for ethdev. > > Min Hu (Connor) (3): > ethdev: introduce FEC API > net/hns3: support FEC > app/testpmd: add FEC command > > app/test-pmd/cmdline.c | 219 +++++++++++++++++++++++++++++++ > app/test-pmd/config.c | 54 ++++++++ > app/test-pmd/testpmd.h | 2 + > drivers/net/hns3/hns3_cmd.h | 19 ++- > drivers/net/hns3/hns3_ethdev.c | 156 ++++++++++++++++++++++ > drivers/net/hns3/hns3_ethdev.h | 1 + > lib/librte_ethdev/rte_ethdev.c | 50 +++++++ > lib/librte_ethdev/rte_ethdev.h | 75 +++++++++++ > lib/librte_ethdev/rte_ethdev_core.h | 77 +++++++++++ > lib/librte_ethdev/rte_ethdev_version.map | 5 + > 10 files changed, 657 insertions(+), 1 deletion(-) >