diff options
Diffstat (limited to 'drivers/net/vxge/vxge-main.h')
-rw-r--r-- | drivers/net/vxge/vxge-main.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/vxge/vxge-main.h b/drivers/net/vxge/vxge-main.h index 7c83ba4be9d7..60276b20fa5e 100644 --- a/drivers/net/vxge/vxge-main.h +++ b/drivers/net/vxge/vxge-main.h | |||
@@ -31,6 +31,7 @@ | |||
31 | #define PCI_DEVICE_ID_TITAN_UNI 0x5833 | 31 | #define PCI_DEVICE_ID_TITAN_UNI 0x5833 |
32 | #define VXGE_USE_DEFAULT 0xffffffff | 32 | #define VXGE_USE_DEFAULT 0xffffffff |
33 | #define VXGE_HW_VPATH_MSIX_ACTIVE 4 | 33 | #define VXGE_HW_VPATH_MSIX_ACTIVE 4 |
34 | #define VXGE_ALARM_MSIX_ID 2 | ||
34 | #define VXGE_HW_RXSYNC_FREQ_CNT 4 | 35 | #define VXGE_HW_RXSYNC_FREQ_CNT 4 |
35 | #define VXGE_LL_WATCH_DOG_TIMEOUT (15 * HZ) | 36 | #define VXGE_LL_WATCH_DOG_TIMEOUT (15 * HZ) |
36 | #define VXGE_LL_RX_COPY_THRESHOLD 256 | 37 | #define VXGE_LL_RX_COPY_THRESHOLD 256 |
@@ -89,6 +90,11 @@ | |||
89 | 90 | ||
90 | #define VXGE_LL_MAX_FRAME_SIZE(dev) ((dev)->mtu + VXGE_HW_MAC_HEADER_MAX_SIZE) | 91 | #define VXGE_LL_MAX_FRAME_SIZE(dev) ((dev)->mtu + VXGE_HW_MAC_HEADER_MAX_SIZE) |
91 | 92 | ||
93 | #define is_sriov(function_mode) \ | ||
94 | ((function_mode == VXGE_HW_FUNCTION_MODE_SRIOV) || \ | ||
95 | (function_mode == VXGE_HW_FUNCTION_MODE_SRIOV_8) || \ | ||
96 | (function_mode == VXGE_HW_FUNCTION_MODE_SRIOV_4)) | ||
97 | |||
92 | enum vxge_reset_event { | 98 | enum vxge_reset_event { |
93 | /* reset events */ | 99 | /* reset events */ |
94 | VXGE_LL_VPATH_RESET = 0, | 100 | VXGE_LL_VPATH_RESET = 0, |