projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbfa600
)
cxgb4: set maximal number of default RSS queues
author
Yuval Mintz
<
[email protected]
>
Sun, 1 Jul 2012 03:18:55 +0000
(
03:18
+0000)
committer
David S. Miller
<
[email protected]
>
Thu, 5 Jul 2012 10:06:44 +0000
(
03:06
-0700)
Signed-off-by: Yuval Mintz <
[email protected]
>
Signed-off-by: Eilon Greenstein <
[email protected]
>
Cc: Divy Le Ray <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index e1f96fbb48c1ec376a2317e331d9a248bebfea1c..5ed49af23d6ae37f5f7f7136412c9c0f20ac3e56 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
+++ b/
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
@@
-3493,8
+3493,8
@@
static void __devinit cfg_queues(struct adapter *adap)
*/
if (n10g)
q10g = (MAX_ETH_QSETS - (adap->params.nports - n10g)) / n10g;
- if (q10g > n
um_online_cpu
s())
- q10g = n
um_online_cpu
s();
+ if (q10g > n
etif_get_num_default_rss_queue
s())
+ q10g = n
etif_get_num_default_rss_queue
s();
for_each_port(adap, i) {
struct port_info *pi = adap2pinfo(adap, i);