diff options
author | Sreenivasa Honnur <Sreenivasa.Honnur@neterion.com> | 2010-03-28 18:11:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-29 19:57:22 -0400 |
commit | b59c94571a6593c71a78bbcebb42982099154938 (patch) | |
tree | 32e6cfca72e2b24ebb2f399f68637bca54e6163a /drivers/net/vxge/vxge-traffic.h | |
parent | 4c5f3b210f53e315e460d539655a8d14595c5d1a (diff) |
vxge: Fixed MSIX interrupt configuration.
- Fixed MSIX interrupt configuration to support non contiguous vpaths in
functions. Four msi-x vectors are reserved per vpath internal to the chip.
In all, there are 68 msi-x vectors for the 17 vpaths in the chip. In the
multi function configurations, non-contiguous vpaths are configured to
represent a function. For instance vpaths 0 and 8 can be configured to
represent function zero.
- If pci_enable_msix fails for the requested vectors, try with a lesser number
vectors by reducing the vpath count.
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Ramkrishna Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-traffic.h')
-rw-r--r-- | drivers/net/vxge/vxge-traffic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxge/vxge-traffic.h b/drivers/net/vxge/vxge-traffic.h index bed65280d988..c252f3d3f650 100644 --- a/drivers/net/vxge/vxge-traffic.h +++ b/drivers/net/vxge/vxge-traffic.h | |||
@@ -2376,7 +2376,7 @@ enum vxge_hw_status vxge_hw_vpath_alarm_process( | |||
2376 | struct __vxge_hw_vpath_handle *vpath_handle, | 2376 | struct __vxge_hw_vpath_handle *vpath_handle, |
2377 | u32 skip_alarms); | 2377 | u32 skip_alarms); |
2378 | 2378 | ||
2379 | enum vxge_hw_status | 2379 | void |
2380 | vxge_hw_vpath_msix_set(struct __vxge_hw_vpath_handle *vpath_handle, | 2380 | vxge_hw_vpath_msix_set(struct __vxge_hw_vpath_handle *vpath_handle, |
2381 | int *tim_msix_id, int alarm_msix_id); | 2381 | int *tim_msix_id, int alarm_msix_id); |
2382 | 2382 | ||