Go to the documentation of this file.
37 #if !defined(IB_SMI_H)
42 #define IB_SMP_DATA_SIZE 64
43 #define IB_SMP_MAX_PATH_HOPS 64
66 #define IB_SMP_DIRECTION cpu_to_be16(0x8000)
69 #define IB_SMP_ATTR_NOTICE cpu_to_be16(0x0002)
70 #define IB_SMP_ATTR_NODE_DESC cpu_to_be16(0x0010)
71 #define IB_SMP_ATTR_NODE_INFO cpu_to_be16(0x0011)
72 #define IB_SMP_ATTR_SWITCH_INFO cpu_to_be16(0x0012)
73 #define IB_SMP_ATTR_GUID_INFO cpu_to_be16(0x0014)
74 #define IB_SMP_ATTR_PORT_INFO cpu_to_be16(0x0015)
75 #define IB_SMP_ATTR_PKEY_TABLE cpu_to_be16(0x0016)
76 #define IB_SMP_ATTR_SL_TO_VL_TABLE cpu_to_be16(0x0017)
77 #define IB_SMP_ATTR_VL_ARB_TABLE cpu_to_be16(0x0018)
78 #define IB_SMP_ATTR_LINEAR_FORWARD_TABLE cpu_to_be16(0x0019)
79 #define IB_SMP_ATTR_RANDOM_FORWARD_TABLE cpu_to_be16(0x001A)
80 #define IB_SMP_ATTR_MCAST_FORWARD_TABLE cpu_to_be16(0x001B)
81 #define IB_SMP_ATTR_SM_INFO cpu_to_be16(0x0020)
82 #define IB_SMP_ATTR_VENDOR_DIAG cpu_to_be16(0x0030)
83 #define IB_SMP_ATTR_LED_INFO cpu_to_be16(0x0031)
84 #define IB_SMP_ATTR_VENDOR_MASK cpu_to_be16(0xFF00)