cxgb4: add TC-MATCHALL IPv6 support
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Mon, 3 Aug 2020 18:30:08 +0000 (00:00 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 01:17:08 +0000 (18:17 -0700)
commit59b328cf566001fce32c33375ea9bc570625af2f
tree9980c96227638e2f6da131fc4abe784164a1438d
parentaf9fdd2bf8b135bcef0cd1872ab67124e9e1a3a9
cxgb4: add TC-MATCHALL IPv6 support

Matching IPv6 traffic require allocating their own individual slots
in TCAM. So, fetch additional slots to insert IPv6 rules. Also, fetch
the cumulative stats of all the slots occupied by the Matchall rule.

Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_matchall.h