From patchwork Sun Dec 20 22:47:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Lakkireddy X-Patchwork-Id: 85568 Return-Path: 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 5262BA09FD; Mon, 21 Dec 2020 00:04:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 31654CB93; Mon, 21 Dec 2020 00:04:02 +0100 (CET) Received: from stargate.chelsio.com (stargate.chelsio.com [12.32.117.8]) by dpdk.org (Postfix) with ESMTP id C288DCB7B for ; Mon, 21 Dec 2020 00:03:59 +0100 (CET) Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id 0BKN3tUC011882; Sun, 20 Dec 2020 15:03:56 -0800 From: Rahul Lakkireddy To: dev@dpdk.org Cc: kaara.satwik@chelsio.com Date: Mon, 21 Dec 2020 04:17:39 +0530 Message-Id: X-Mailer: git-send-email 2.5.3 Subject: [dpdk-dev] [PATCH 0/3] net/cxgbe: rework link config and add FEC support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" This series of patches rework link handling and add support to configure Forward Error Correction (FEC) capability. Patch 1 removes legacy 16-bit link capabilities infrastructure and always enables 32-bit link capabilities in firmware. Patch 2 simplifies link handling in preparation for FEC support. Patch 3 adds support to configure link FEC when supported. Thanks, Rahul Karra Satwik (3): net/cxgbe: remove legacy 16-bit link capabilities net/cxgbe: rework and simplify link handling code net/cxgbe: implement ethdev ops to configure link FEC doc/guides/nics/cxgbe.rst | 14 +- drivers/net/cxgbe/base/adapter.h | 10 - drivers/net/cxgbe/base/common.h | 71 +-- drivers/net/cxgbe/base/t4_hw.c | 648 +++++++++++------------- drivers/net/cxgbe/base/t4fw_interface.h | 87 +--- drivers/net/cxgbe/base/t4vf_hw.c | 86 +--- drivers/net/cxgbe/cxgbe_ethdev.c | 201 +++++++- drivers/net/cxgbe/cxgbe_main.c | 21 +- 8 files changed, 565 insertions(+), 573 deletions(-)