diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-01-18 21:29:40 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-21 14:34:03 -0800 |
commit | 5cda9364f1fbc330f0d82f534505a8e375d0a66c (patch) | |
tree | e4c33d95c12b69ac562ebcd1ce1d4ab8e27328be /drivers/net/cxgb3/adapter.h | |
parent | c405b828161286729b6a5a729159114dca122923 (diff) | |
download | linux-5cda9364f1fbc330f0d82f534505a8e375d0a66c.tar.gz linux-5cda9364f1fbc330f0d82f534505a8e375d0a66c.tar.bz2 linux-5cda9364f1fbc330f0d82f534505a8e375d0a66c.zip |
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 a89d8cc51205..5fb7c6851eb2 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h @@ -230,6 +230,7 @@ struct adapter { unsigned int slow_intr_mask; unsigned long irq_stats[IRQ_NUM_STATS]; + int msix_nvectors; struct { unsigned short vec; char desc[22]; |