Message ID | cover.1535292771.git.rahul.lakkireddy@chelsio.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 428925A6A; Mon, 27 Aug 2018 14:52:54 +0200 (CEST) Received: from stargate.chelsio.com (stargate.chelsio.com [12.32.117.8]) by dpdk.org (Postfix) with ESMTP id 0D6AA58CB for <dev@dpdk.org>; Mon, 27 Aug 2018 14:52:52 +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 w7RCqlic027061; Mon, 27 Aug 2018 05:52:48 -0700 From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> To: dev@dpdk.org Cc: shaguna@chelsio.com, indranil@chelsio.com, nirranjan@chelsio.com Date: Mon, 27 Aug 2018 18:22:28 +0530 Message-Id: <cover.1535292771.git.rahul.lakkireddy@chelsio.com> X-Mailer: git-send-email 2.5.3 Subject: [dpdk-dev] [PATCH 0/4] net/cxgbe: add destination MAC match and VLAN rewrite support for flow API 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 |
net/cxgbe: add destination MAC match and VLAN rewrite support for flow API
|
|
Message
Rahul Lakkireddy
Aug. 27, 2018, 12:52 p.m. UTC
This series of patches add support to offload flows with destination MAC match item and VLAN push/pop/rewrite actions. Patch 1 adds API to program and manage hardware Layer 2 Table (L2T). L2T holds destination node information to be used for VLAN rewrite. Patch 2 implements offloading VLAN push/pop/rewrite actions. Patch 3 adds API to program and manage hardware Multi Port Switch (MPS) table. MPS holds the destination MAC addresses to be matched against incoming packets. Patch 4 implements offloading destination MAC match item. Thanks, Rahul Shagun Agrawal (4): net/cxgbe: add API to program hardware layer 2 table net/cxgbe: add flow operations to offload vlan actions net/cxgbe: add API to program hardware MPS table net/cxgbe: add flow operations to match based on destination MAC address doc/guides/rel_notes/release_18_11.rst | 7 + drivers/net/cxgbe/Makefile | 2 + drivers/net/cxgbe/base/adapter.h | 4 + drivers/net/cxgbe/base/common.h | 7 + drivers/net/cxgbe/base/t4_hw.c | 108 ++++++++++++++ drivers/net/cxgbe/base/t4_msg.h | 40 ++++++ drivers/net/cxgbe/base/t4_regs.h | 8 ++ drivers/net/cxgbe/base/t4_tcb.h | 5 + drivers/net/cxgbe/base/t4fw_interface.h | 26 ++++ drivers/net/cxgbe/cxgbe_ethdev.c | 4 +- drivers/net/cxgbe/cxgbe_filter.c | 71 +++++++++- drivers/net/cxgbe/cxgbe_filter.h | 11 ++ drivers/net/cxgbe/cxgbe_flow.c | 90 +++++++++++- drivers/net/cxgbe/cxgbe_flow.h | 1 + drivers/net/cxgbe/cxgbe_main.c | 43 ++++-- drivers/net/cxgbe/l2t.c | 227 +++++++++++++++++++++++++++++ drivers/net/cxgbe/l2t.h | 57 ++++++++ drivers/net/cxgbe/meson.build | 2 + drivers/net/cxgbe/mps_tcam.c | 243 ++++++++++++++++++++++++++++++++ drivers/net/cxgbe/mps_tcam.h | 52 +++++++ 20 files changed, 987 insertions(+), 21 deletions(-) create mode 100644 drivers/net/cxgbe/l2t.c create mode 100644 drivers/net/cxgbe/l2t.h create mode 100644 drivers/net/cxgbe/mps_tcam.c create mode 100644 drivers/net/cxgbe/mps_tcam.h
Comments
On 8/27/2018 1:52 PM, Rahul Lakkireddy wrote: > This series of patches add support to offload flows with destination MAC > match item and VLAN push/pop/rewrite actions. > > Patch 1 adds API to program and manage hardware Layer 2 Table (L2T). > L2T holds destination node information to be used for VLAN rewrite. > > Patch 2 implements offloading VLAN push/pop/rewrite actions. > > Patch 3 adds API to program and manage hardware Multi Port Switch (MPS) > table. MPS holds the destination MAC addresses to be matched against > incoming packets. > > Patch 4 implements offloading destination MAC match item. > > Thanks, > Rahul > > Shagun Agrawal (4): > net/cxgbe: add API to program hardware layer 2 table > net/cxgbe: add flow operations to offload vlan actions > net/cxgbe: add API to program hardware MPS table > net/cxgbe: add flow operations to match based on destination MAC > address Series applied to dpdk-next-net/master, thanks.