diff options
author | Shahjada Abul Husain <shahjada@chelsio.com> | 2019-12-10 16:25:33 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-10 17:52:41 -0800 |
commit | c21939998802b48e7afd0c0568193f6e4e4954f8 (patch) | |
tree | 8a74d43b5dc11a19081d2cf7ae5a03f85f159615 /drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h | |
parent | enetc: remove variable 'tc_max_sized_frame' set but not used (diff) | |
download | linux-dev-c21939998802b48e7afd0c0568193f6e4e4954f8.tar.xz linux-dev-c21939998802b48e7afd0c0568193f6e4e4954f8.zip |
cxgb4: add support for high priority filters
T6 has a separate region known as high priority filter region
that allows classifying packets going through ULD path. So,
query firmware for HPFILTER resources and enable the high
priority offload filter support when it is available.
Signed-off-by: Shahjada Abul Husain <shahjada@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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h index 861b25d28ed6..e69de9a296ae 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h @@ -111,6 +111,11 @@ struct tid_info { unsigned int natids; unsigned int atid_base; + struct filter_entry *hpftid_tab; + unsigned long *hpftid_bmap; + unsigned int nhpftids; + unsigned int hpftid_base; + struct filter_entry *ftid_tab; unsigned long *ftid_bmap; unsigned int nftids; |