From patchwork Tue Apr 13 13:47:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "humin (Q)" X-Patchwork-Id: 91259 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E3C19A0524; Tue, 13 Apr 2021 15:48:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 65066160FF8; Tue, 13 Apr 2021 15:47:18 +0200 (CEST) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by mails.dpdk.org (Postfix) with ESMTP id 2F8E8160FC5 for ; Tue, 13 Apr 2021 15:47:08 +0200 (CEST) Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FKRgY405dzlXpk for ; Tue, 13 Apr 2021 21:45:13 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.498.0; Tue, 13 Apr 2021 21:46:59 +0800 From: "Min Hu (Connor)" To: CC: Date: Tue, 13 Apr 2021 21:47:10 +0800 Message-ID: <1618321639-57642-1-git-send-email-humin29@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH 0/9] support speed capability and autoneg report X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The patchset has the following functions: 1.report speed capability supported by the current hardware. 2.support link speed autoneg and force link speed for PF. 3.support flow control autoneg for copper port. Huisong Li (9): net/hns3: fix supported speed of copper ports net/hns3: add 1000M speed bit for copper PHYs net/hns3: fix flow control mode net/hns3: fix firmware compatibility configuration net/hns3: obtain the supported speed for fiber port net/hns3: report the speed capability for PF net/hns3: support link speed autoneg for PF net/hns3: support flow control autoneg for copper port net/hns3: add the configuration of fixed speed drivers/net/hns3/hns3_cmd.c | 116 +++++++ drivers/net/hns3/hns3_cmd.h | 45 ++- drivers/net/hns3/hns3_dcb.c | 23 +- drivers/net/hns3/hns3_ethdev.c | 755 +++++++++++++++++++++++++++++++++++------ drivers/net/hns3/hns3_ethdev.h | 37 +- 5 files changed, 832 insertions(+), 144 deletions(-)