projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f64306
)
cxgb3 - Limit multiqueue setting to msi-x
author
Divy Le Ray
<divy@chelsio.com>
Sun, 9 Nov 2008 08:55:33 +0000
(
00:55
-0800)
committer
Jeff Garzik
<jgarzik@redhat.com>
Tue, 11 Nov 2008 08:50:43 +0000
(
03:50
-0500)
Allow multiqueue setting in MSI-X mode only
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/cxgb3/cxgb3_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cxgb3/cxgb3_main.c
b/drivers/net/cxgb3/cxgb3_main.c
index 1ace41a13ac360363b2857475920a014daad4e94..f66367ed693296f45ac4475d5769d3b7fc09348d 100644
(file)
--- a/
drivers/net/cxgb3/cxgb3_main.c
+++ b/
drivers/net/cxgb3/cxgb3_main.c
@@
-2699,7
+2699,7
@@
static void set_nqsets(struct adapter *adap)
int hwports = adap->params.nports;
int nqsets = SGE_QSETS;
- if (adap->params.rev > 0) {
+ if (adap->params.rev > 0
&& adap->flags & USING_MSIX
) {
if (hwports == 2 &&
(hwports * nqsets > SGE_QSETS ||
num_cpus >= nqsets / hwports))