diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2020-08-04 00:00:08 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-03 18:17:08 -0700 |
commit | 59b328cf566001fce32c33375ea9bc570625af2f (patch) | |
tree | 9980c96227638e2f6da131fc4abe784164a1438d /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | net: dsa: sja1105: poll for extts events from a timer (diff) | |
download | linux-dev-59b328cf566001fce32c33375ea9bc570625af2f.tar.xz linux-dev-59b328cf566001fce32c33375ea9bc570625af2f.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index adbc0d088070..9cb8b229c1b3 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -1438,6 +1438,8 @@ enum { NAT_MODE_ALL /* NAT on entire 4-tuple */ }; +#define CXGB4_FILTER_TYPE_MAX 2 + /* Host shadow copy of ingress filter entry. This is in host native format * and doesn't match the ordering or bit order, etc. of the hardware of the * firmware command. The use of bit-field structure elements is purely to |