diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-01-14 17:58:10 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-14 16:48:08 -0500 |
commit | 14b3812f7a33ef0ed17e97c616503d4bbf90e403 (patch) | |
tree | ead8bde1320ceb10a395903e5ff2c1d9eabdf44e /drivers | |
parent | 4ccce02eb31b847dd6bf8486f037ba1db39403c5 (diff) | |
download | linux-14b3812f7a33ef0ed17e97c616503d4bbf90e403.tar.bz2 |
cxgb4vf: Fix queue allocation for 40G adapter
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c index 2215d432a059..a936ee8958c7 100644 --- a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c @@ -2430,7 +2430,7 @@ static void cfg_queues(struct adapter *adapter) */ n10g = 0; for_each_port(adapter, pidx) - n10g += is_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); + n10g += is_x_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); /* * We default to 1 queue per non-10G port and up to # of cores queues |