aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
diff options
context:
space:
mode:
authorVishal Kulkarni <vishal@chelsio.com>2020-06-19 19:51:35 +0530
committerDavid S. Miller <davem@davemloft.net>2020-06-19 13:17:31 -0700
commitd915c299f1da68a7dbb43895b8741c7b916c9d08 (patch)
tree81ce6405fb90e069fa2d7c3cb03c1cd848853916 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
parentnet: qos offload add flow status with dropped count (diff)
downloadwireguard-linux-d915c299f1da68a7dbb43895b8741c7b916c9d08.tar.xz
wireguard-linux-d915c299f1da68a7dbb43895b8741c7b916c9d08.zip
cxgb4: add skeleton for ethtool n-tuple filters
Allocate and manage resources required for ethtool n-tuple filters. Also fetch the HASH filter region size and calculate nhash entries. Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: Vishal Kulkarni <vishal@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
index dbce99b209d6..a963fd0b4540 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
@@ -106,6 +106,8 @@ struct tid_info {
unsigned long *stid_bmap;
unsigned int nstids;
unsigned int stid_base;
+
+ unsigned int nhash;
unsigned int hash_base;
union aopen_entry *atid_tab;