diff options
Diffstat (limited to 'drivers/net/vxge/vxge-config.h')
-rw-r--r-- | drivers/net/vxge/vxge-config.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/net/vxge/vxge-config.h b/drivers/net/vxge/vxge-config.h index 01595242a6e8..1530060d5811 100644 --- a/drivers/net/vxge/vxge-config.h +++ b/drivers/net/vxge/vxge-config.h | |||
@@ -764,10 +764,18 @@ struct vxge_hw_device_hw_info { | |||
764 | #define VXGE_HW_SR_VH_VIRTUAL_FUNCTION 6 | 764 | #define VXGE_HW_SR_VH_VIRTUAL_FUNCTION 6 |
765 | #define VXGE_HW_VH_NORMAL_FUNCTION 7 | 765 | #define VXGE_HW_VH_NORMAL_FUNCTION 7 |
766 | u64 function_mode; | 766 | u64 function_mode; |
767 | #define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION 0 | 767 | #define VXGE_HW_FUNCTION_MODE_SINGLE_FUNCTION 0 |
768 | #define VXGE_HW_FUNCTION_MODE_SINGLE_FUNCTION 1 | 768 | #define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION 1 |
769 | #define VXGE_HW_FUNCTION_MODE_SRIOV 2 | 769 | #define VXGE_HW_FUNCTION_MODE_SRIOV 2 |
770 | #define VXGE_HW_FUNCTION_MODE_MRIOV 3 | 770 | #define VXGE_HW_FUNCTION_MODE_MRIOV 3 |
771 | #define VXGE_HW_FUNCTION_MODE_MRIOV_8 4 | ||
772 | #define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION_17 5 | ||
773 | #define VXGE_HW_FUNCTION_MODE_SRIOV_8 6 | ||
774 | #define VXGE_HW_FUNCTION_MODE_SRIOV_4 7 | ||
775 | #define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION_2 8 | ||
776 | #define VXGE_HW_FUNCTION_MODE_MULTI_FUNCTION_4 9 | ||
777 | #define VXGE_HW_FUNCTION_MODE_MRIOV_4 10 | ||
778 | |||
771 | u32 func_id; | 779 | u32 func_id; |
772 | u64 vpath_mask; | 780 | u64 vpath_mask; |
773 | struct vxge_hw_device_version fw_version; | 781 | struct vxge_hw_device_version fw_version; |
@@ -2265,4 +2273,6 @@ enum vxge_hw_status vxge_hw_vpath_rts_rth_set( | |||
2265 | struct vxge_hw_rth_hash_types *hash_type, | 2273 | struct vxge_hw_rth_hash_types *hash_type, |
2266 | u16 bucket_size); | 2274 | u16 bucket_size); |
2267 | 2275 | ||
2276 | enum vxge_hw_status | ||
2277 | __vxge_hw_device_is_privilaged(u32 host_type, u32 func_id); | ||
2268 | #endif | 2278 | #endif |