Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/iw_cxgbe/provider.c
Show First 20 Lines • Show All 423 Lines • ▼ Show 20 Lines | ibdev->uverbs_cmd_mask = | ||||
(1ull << IB_USER_VERBS_CMD_POLL_CQ) | | (1ull << IB_USER_VERBS_CMD_POLL_CQ) | | ||||
(1ull << IB_USER_VERBS_CMD_DESTROY_QP) | | (1ull << IB_USER_VERBS_CMD_DESTROY_QP) | | ||||
(1ull << IB_USER_VERBS_CMD_POST_SEND) | | (1ull << IB_USER_VERBS_CMD_POST_SEND) | | ||||
(1ull << IB_USER_VERBS_CMD_POST_RECV); | (1ull << IB_USER_VERBS_CMD_POST_RECV); | ||||
ibdev->node_type = RDMA_NODE_RNIC; | ibdev->node_type = RDMA_NODE_RNIC; | ||||
strlcpy(ibdev->node_desc, C4IW_NODE_DESC, sizeof(ibdev->node_desc)); | strlcpy(ibdev->node_desc, C4IW_NODE_DESC, sizeof(ibdev->node_desc)); | ||||
ibdev->phys_port_cnt = sc->params.nports; | ibdev->phys_port_cnt = sc->params.nports; | ||||
ibdev->num_comp_vectors = 1; | ibdev->num_comp_vectors = 1; | ||||
#ifdef __notyet__ | |||||
/* The Linux and FreeBSD struct device are not interchangeable */ | |||||
ibdev->dma_device = sc->dev; | ibdev->dma_device = sc->dev; | ||||
#endif | |||||
ibdev->query_device = c4iw_query_device; | ibdev->query_device = c4iw_query_device; | ||||
ibdev->query_port = c4iw_query_port; | ibdev->query_port = c4iw_query_port; | ||||
ibdev->modify_port = c4iw_modify_port; | ibdev->modify_port = c4iw_modify_port; | ||||
ibdev->query_pkey = c4iw_query_pkey; | ibdev->query_pkey = c4iw_query_pkey; | ||||
ibdev->query_gid = c4iw_query_gid; | ibdev->query_gid = c4iw_query_gid; | ||||
ibdev->alloc_ucontext = c4iw_alloc_ucontext; | ibdev->alloc_ucontext = c4iw_alloc_ucontext; | ||||
ibdev->dealloc_ucontext = c4iw_dealloc_ucontext; | ibdev->dealloc_ucontext = c4iw_dealloc_ucontext; | ||||
ibdev->mmap = c4iw_mmap; | ibdev->mmap = c4iw_mmap; | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |