diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-01-19 00:29:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 17:34:03 -0500 |
commit | 5cda9364f1fbc330f0d82f534505a8e375d0a66c (patch) | |
tree | e4c33d95c12b69ac562ebcd1ce1d4ab8e27328be /drivers/net/cxgb3/adapter.h | |
parent | c405b828161286729b6a5a729159114dca122923 (diff) |
cxgb3: ease msi-x settings conditions
The driver currently drops to line interrupt mode
if it did not get all the msi-x vectors it requested.
Allow msi-x settings when a minimal amount of vectors
is provided.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/adapter.h')
-rw-r--r-- | drivers/net/cxgb3/adapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index a89d8cc5120..5fb7c6851eb 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h | |||
@@ -230,6 +230,7 @@ struct adapter { | |||
230 | unsigned int slow_intr_mask; | 230 | unsigned int slow_intr_mask; |
231 | unsigned long irq_stats[IRQ_NUM_STATS]; | 231 | unsigned long irq_stats[IRQ_NUM_STATS]; |
232 | 232 | ||
233 | int msix_nvectors; | ||
233 | struct { | 234 | struct { |
234 | unsigned short vec; | 235 | unsigned short vec; |
235 | char desc[22]; | 236 | char desc[22]; |