From: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, kumaras@chelsio.com, ganeshgr@chelsio.com,
nirranjan@chelsio.com, indranil@chelsio.com,
Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Subject: [PATCH net-next 0/8] cxgb4: enable more tc flower offload matches and actions
Date: Wed, 18 Oct 2017 20:49:06 +0530 [thread overview]
Message-ID: <cover.1508312071.git.rahul.lakkireddy@chelsio.com> (raw)
This patch series enable more matches and actions for TC Flower
Offload support on Chelsio adapters.
Patch 1 enables matching on IP TOS.
Patch 2 enables matching on VLAN TCI.
Patch 3 adds support for action PASS.
Patch 4 adds support for ETH-DMAC rewrite via TC-PEDIT action. Also,
adds a check to assert that vlan/eth-dmac rewrite actions are valid
only in combination with action egress redirect.
Patch 5 introduces SMT ops for adding/removing entries from SMAC Table
in HW in preparation for patch 6.
Patch 6 adds support for ETH-SMAC rewrite via TC-PEDIT action.
Patch 7 introduces fw_filter2_wr to support L3/L4 header rewrites
in preparation for patch 8.
Patch 8 adds support for rewrite on L3/L4 header fields via TC-PEDIT
action. Supported fields for rewrite are:
IPv4 src/dst address, IPv6 src/dst address, TCP/UDP sport/dport.
Thanks,
Rahul
Kumar Sanghvi (8):
cxgb4: add tc flower match support for TOS
cxgb4: add tc flower match support for vlan
cxgb4: add tc flower support for action PASS
cxgb4: add tc flower support for ETH-DMAC rewrite
cxgb4: introduce SMT ops to prepare for SMAC rewrite support
cxgb4: add tc flower support for ETH-SMAC rewrite
cxgb4: introduce fw_filter2_wr to prepare for L3/L4 rewrite support
cxgb4: add tc flower support for L3/L4 rewrite
drivers/net/ethernet/chelsio/cxgb4/Makefile | 2 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 17 +-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 126 ++++++-
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 22 ++
.../net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 385 ++++++++++++++++++++-
.../net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h | 54 +++
drivers/net/ethernet/chelsio/cxgb4/smt.c | 247 +++++++++++++
drivers/net/ethernet/chelsio/cxgb4/smt.h | 76 ++++
drivers/net/ethernet/chelsio/cxgb4/t4_msg.h | 44 ++-
drivers/net/ethernet/chelsio/cxgb4/t4_tcb.h | 47 +++
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 75 +++-
11 files changed, 1068 insertions(+), 27 deletions(-)
create mode 100644 drivers/net/ethernet/chelsio/cxgb4/smt.c
create mode 100644 drivers/net/ethernet/chelsio/cxgb4/smt.h
create mode 100644 drivers/net/ethernet/chelsio/cxgb4/t4_tcb.h
--
2.14.1
next reply other threads:[~2017-10-18 15:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-18 15:19 Rahul Lakkireddy [this message]
2017-10-18 15:19 ` [PATCH net-next 1/8] cxgb4: add tc flower match support for TOS Rahul Lakkireddy
2017-10-18 15:19 ` [PATCH net-next 2/8] cxgb4: add tc flower match support for vlan Rahul Lakkireddy
2017-10-18 15:19 ` [PATCH net-next 3/8] cxgb4: add tc flower support for action PASS Rahul Lakkireddy
2017-10-18 15:19 ` [PATCH net-next 4/8] cxgb4: add tc flower support for ETH-DMAC rewrite Rahul Lakkireddy
2017-10-18 15:19 ` [PATCH net-next 5/8] cxgb4: introduce SMT ops to prepare for SMAC rewrite support Rahul Lakkireddy
2017-10-18 15:19 ` [PATCH net-next 6/8] cxgb4: add tc flower support for ETH-SMAC rewrite Rahul Lakkireddy
2017-10-18 15:19 ` [PATCH net-next 7/8] cxgb4: introduce fw_filter2_wr to prepare for L3/L4 rewrite support Rahul Lakkireddy
2017-10-18 15:19 ` [PATCH net-next 8/8] cxgb4: add tc flower support for L3/L4 rewrite Rahul Lakkireddy
2017-10-20 12:07 ` [PATCH net-next 0/8] cxgb4: enable more tc flower offload matches and actions David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1508312071.git.rahul.lakkireddy@chelsio.com \
--to=rahul.lakkireddy@chelsio.com \
--cc=davem@davemloft.net \
--cc=ganeshgr@chelsio.com \
--cc=indranil@chelsio.com \
--cc=kumaras@chelsio.com \
--cc=netdev@vger.kernel.org \
--cc=nirranjan@chelsio.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).