From patchwork Fri Sep 6 21:52:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Lakkireddy X-Patchwork-Id: 58901 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A7DF1F487; Fri, 6 Sep 2019 23:59:36 +0200 (CEST) Received: from stargate.chelsio.com (stargate.chelsio.com [12.32.117.8]) by dpdk.org (Postfix) with ESMTP id E3A661F3E4 for ; Fri, 6 Sep 2019 23:59:34 +0200 (CEST) Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id x86LxTUE004187; Fri, 6 Sep 2019 14:59:30 -0700 From: Rahul Lakkireddy To: dev@dpdk.org Cc: nirranjan@chelsio.com Date: Sat, 7 Sep 2019 03:22:21 +0530 Message-Id: X-Mailer: git-send-email 2.5.3 Subject: [dpdk-dev] [PATCH 00/12] net/cxgbe: bug fixes and updates for CXGBE/CXGBEVF PMD 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 contain bug fixes and feature updates for CXGBE and CXGBEVF PMD. Patches 1 to 6 contain bug fixes. Patches 7 to 12 contain updates and new features for CXGBE/CXGBEVF PMD. Patch 1 adds cxgbe_ prefix to some global functions to avoid name collision. Patch 2 fixes NULL dereference when allocating CLIP for IPv6 rte_flow offloads. Patch 3 fixes slot allocation logic for IPv6 rte_flow offloads for T6 NICs. Patch 4 fixes issues with parsing VLAN rte_flow offload actions. Patch 5 prefetches packets for non-coalesced Tx packets. Patch 6 fixes NULL dereference when accessing firmware event queue for link updates before it is created. Patch 7 reworks compilation dependent logs to use dynamic logging. Patch 8 reworks devargs parsing to separate CXGBE VF only arguments. Patch 9 removes compilation dependent flag that controls Tx coalescing throughput vs latency behavior and uses devargs instead. Patch 10 uses new firmware API to fetch the maximum number of packets that can be coalesced in Tx path. Patch 11 adds support for VLAN pattern match item via rte_flow offload. Patch 12 adds support for setting VLAN PCP action item via rte_flow offload. Thanks, Rahul Rahul Lakkireddy (12): net/cxgbe: add cxgbe_ prefix to global functions net/cxgbe: fix NULL access when allocating CLIP entry net/cxgbe: fix slot allocation for IPv6 flows net/cxgbe: fix parsing VLAN ID rewrite action net/cxgbe: fix prefetch for non-coalesced Tx packets net/cxgbe: avoid polling link status before device start net/cxgbe: use dynamic logging for debug prints net/cxgbe: separate VF only devargs net/cxgbe: add devarg to control Tx coalescing net/cxgbe: fetch max Tx coalesce limit from firmware net/cxgbe: add rte_flow support for matching VLAN net/cxgbe: add rte_flow support for setting VLAN PCP config/common_base | 6 - doc/guides/nics/cxgbe.rst | 57 +++--- drivers/net/cxgbe/base/adapter.h | 8 + drivers/net/cxgbe/base/common.h | 1 + drivers/net/cxgbe/base/t4_regs_values.h | 9 + drivers/net/cxgbe/base/t4fw_interface.h | 3 +- drivers/net/cxgbe/cxgbe.h | 10 +- drivers/net/cxgbe/cxgbe_compat.h | 58 ++---- drivers/net/cxgbe/cxgbe_ethdev.c | 40 ++++- drivers/net/cxgbe/cxgbe_filter.c | 230 ++++++++++-------------- drivers/net/cxgbe/cxgbe_filter.h | 22 +-- drivers/net/cxgbe/cxgbe_flow.c | 204 +++++++++++++++++++-- drivers/net/cxgbe/cxgbe_main.c | 137 +++++++------- drivers/net/cxgbe/cxgbe_pfvf.h | 10 ++ drivers/net/cxgbe/cxgbevf_ethdev.c | 7 + drivers/net/cxgbe/cxgbevf_main.c | 12 +- drivers/net/cxgbe/l2t.c | 3 +- drivers/net/cxgbe/l2t.h | 3 +- drivers/net/cxgbe/sge.c | 21 +-- 19 files changed, 520 insertions(+), 321 deletions(-)