]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17045b82d383b01f72e0fba12ccf951879e1df36
tree9980c96227638e2f6da131fc4abe784164a1438d
parentf9ba0874fe8333aa5f413363141d56b004c355bb
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