diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-01-14 13:28:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-14 22:48:08 +0100 |
commit | 14b3812f7a33ef0ed17e97c616503d4bbf90e403 (patch) | |
tree | ead8bde1320ceb10a395903e5ff2c1d9eabdf44e /drivers | |
parent | netdevice: Add missing parentheses in macro (diff) | |
download | linux-14b3812f7a33ef0ed17e97c616503d4bbf90e403.tar.xz linux-14b3812f7a33ef0ed17e97c616503d4bbf90e403.zip |
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 |