netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] cxgb4: enable more tc flower offload matches and actions
@ 2017-10-18 15:19 Rahul Lakkireddy
  2017-10-18 15:19 ` [PATCH net-next 1/8] cxgb4: add tc flower match support for TOS Rahul Lakkireddy
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Rahul Lakkireddy @ 2017-10-18 15:19 UTC (permalink / raw)
  To: netdev; +Cc: davem, kumaras, ganeshgr, nirranjan, indranil, Rahul Lakkireddy

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-10-20 12:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 15:19 [PATCH net-next 0/8] cxgb4: enable more tc flower offload matches and actions Rahul Lakkireddy
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

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).