@@ -1091,7 +1091,8 @@ def translate_port_cap_flags2(flags):
e.IBV_PORT_VIRT_SUP: 'IBV_PORT_VIRT_SUP',
e.IBV_PORT_SWITCH_PORT_STATE_TABLE_SUP: 'IBV_PORT_SWITCH_PORT_STATE_TABLE_SUP',
e.IBV_PORT_LINK_WIDTH_2X_SUP: 'IBV_PORT_LINK_WIDTH_2X_SUP',
- e.IBV_PORT_LINK_SPEED_HDR_SUP: 'IBV_PORT_LINK_SPEED_HDR_SUP'}
+ e.IBV_PORT_LINK_SPEED_HDR_SUP: 'IBV_PORT_LINK_SPEED_HDR_SUP',
+ e.IBV_PORT_LINK_SPEED_NDR_SUP: 'IBV_PORT_LINK_SPEED_NDR_SUP'}
return str_from_flags(flags, l)
@@ -74,6 +74,7 @@ cdef extern from '<infiniband/verbs.h>':
IBV_PORT_SWITCH_PORT_STATE_TABLE_SUP
IBV_PORT_LINK_WIDTH_2X_SUP
IBV_PORT_LINK_SPEED_HDR_SUP
+ IBV_PORT_LINK_SPEED_NDR_SUP
cpdef enum ibv_mtu:
IBV_MTU_256