Changeset View
Changeset View
Standalone View
Standalone View
sys/ofed/include/rdma/ib_verbs.h
Show First 20 Lines • Show All 1,008 Lines • ▼ Show 20 Lines | enum ib_qp_create_flags { | ||||
IB_QP_CREATE_MANAGED_SEND = 1 << 3, | IB_QP_CREATE_MANAGED_SEND = 1 << 3, | ||||
IB_QP_CREATE_MANAGED_RECV = 1 << 4, | IB_QP_CREATE_MANAGED_RECV = 1 << 4, | ||||
IB_QP_CREATE_NETIF_QP = 1 << 5, | IB_QP_CREATE_NETIF_QP = 1 << 5, | ||||
IB_QP_CREATE_SIGNATURE_EN = 1 << 6, | IB_QP_CREATE_SIGNATURE_EN = 1 << 6, | ||||
IB_QP_CREATE_USE_GFP_NOIO = 1 << 7, | IB_QP_CREATE_USE_GFP_NOIO = 1 << 7, | ||||
IB_QP_CREATE_SCATTER_FCS = 1 << 8, | IB_QP_CREATE_SCATTER_FCS = 1 << 8, | ||||
/* reserve bits 26-31 for low level drivers' internal use */ | /* reserve bits 26-31 for low level drivers' internal use */ | ||||
IB_QP_CREATE_RESERVED_START = 1 << 26, | IB_QP_CREATE_RESERVED_START = 1 << 26, | ||||
IB_QP_CREATE_RESERVED_END = 1 << 31, | IB_QP_CREATE_RESERVED_END = 1U << 31, | ||||
}; | }; | ||||
/* | /* | ||||
* Note: users may not call ib_close_qp or ib_destroy_qp from the event_handler | * Note: users may not call ib_close_qp or ib_destroy_qp from the event_handler | ||||
* callback to destroy the passed in QP. | * callback to destroy the passed in QP. | ||||
*/ | */ | ||||
struct ib_qp_init_attr { | struct ib_qp_init_attr { | ||||
▲ Show 20 Lines • Show All 171 Lines • ▼ Show 20 Lines | enum ib_send_flags { | ||||
IB_SEND_FENCE = 1, | IB_SEND_FENCE = 1, | ||||
IB_SEND_SIGNALED = (1<<1), | IB_SEND_SIGNALED = (1<<1), | ||||
IB_SEND_SOLICITED = (1<<2), | IB_SEND_SOLICITED = (1<<2), | ||||
IB_SEND_INLINE = (1<<3), | IB_SEND_INLINE = (1<<3), | ||||
IB_SEND_IP_CSUM = (1<<4), | IB_SEND_IP_CSUM = (1<<4), | ||||
/* reserve bits 26-31 for low level drivers' internal use */ | /* reserve bits 26-31 for low level drivers' internal use */ | ||||
IB_SEND_RESERVED_START = (1 << 26), | IB_SEND_RESERVED_START = (1 << 26), | ||||
IB_SEND_RESERVED_END = (1 << 31), | IB_SEND_RESERVED_END = (1U << 31), | ||||
}; | }; | ||||
struct ib_sge { | struct ib_sge { | ||||
u64 addr; | u64 addr; | ||||
u32 length; | u32 length; | ||||
u32 lkey; | u32 lkey; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 2,148 Lines • Show Last 20 Lines |