diff options
author | Ganesh Goudar | 2017-12-19 02:52:28 +0100 |
---|---|---|
committer | David S. Miller | 2017-12-19 20:14:19 +0100 |
commit | f988008a8654e0a2b748ba49ee9fa18069161f76 (patch) | |
tree | 396379d80f6e2ebc54be05c7de86f7861a83057b /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | net_sched: properly check for empty skb array on error path (diff) | |
download | kernel-qcow2-linux-f988008a8654e0a2b748ba49ee9fa18069161f76.tar.gz kernel-qcow2-linux-f988008a8654e0a2b748ba49ee9fa18069161f76.tar.xz kernel-qcow2-linux-f988008a8654e0a2b748ba49ee9fa18069161f76.zip |
cxgb4: RSS table is 4k for T6
RSS table is 4k for T6 and later cards, add check for the
same.
Signed-off-by: Ganesh Goudar <ganeshgr@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index b1df2aa6be94..69d0b64e6986 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -1528,6 +1528,7 @@ int t4_init_portinfo(struct port_info *pi, int mbox, int port, int pf, int vf, u8 mac[]); int t4_port_init(struct adapter *adap, int mbox, int pf, int vf); void t4_fatal_err(struct adapter *adapter); +unsigned int t4_chip_rss_size(struct adapter *adapter); int t4_config_rss_range(struct adapter *adapter, int mbox, unsigned int viid, int start, int n, const u16 *rspq, unsigned int nrspq); int t4_config_glbl_rss(struct adapter *adapter, int mbox, unsigned int mode, |