IBMF_MEM_PER_WQE
send_wqep->send_mem = (void *)kmem_zalloc(IBMF_MEM_PER_WQE, KM_SLEEP);
mem_attr.mr_len = IBMF_MEM_PER_WQE;
kmem_free(send_wqep->send_mem, IBMF_MEM_PER_WQE);
kmem_free(send_wqep->send_mem, IBMF_MEM_PER_WQE);
kmem_free(send_wqep->send_mem, IBMF_MEM_PER_WQE);
kmem_free(send_wqep->send_mem, IBMF_MEM_PER_WQE);
((IBMF_MEM_PER_WQE * ibmf_send_wqes_per_port) +
(IBMF_MEM_PER_WQE * ibmf_recv_wqes_per_port));
(void *)(uintptr_t)send_wqe->send_sg_mem, IBMF_MEM_PER_WQE);
bzero(send_wqe->send_mem, IBMF_MEM_PER_WQE);
(void *)(uintptr_t)send_wqe->send_sg_mem, IBMF_MEM_PER_WQE);
IBMF_MEM_PER_WQE, kmflags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP);
(void *)(uintptr_t)recv_wqe->recv_sg_mem, IBMF_MEM_PER_WQE);
bzero(recv_wqe->recv_mem, IBMF_MEM_PER_WQE);
(void *)(uintptr_t)recv_wqe->recv_sg_mem, IBMF_MEM_PER_WQE);
qp_ctx->isq_wqe_ib_vmem, IBMF_MEM_PER_WQE,
(void *)(uintptr_t)send_wqe->send_sg_mem, IBMF_MEM_PER_WQE);
bzero(send_wqe->send_mem, IBMF_MEM_PER_WQE);
(void *)(uintptr_t)send_wqe->send_sg_mem, IBMF_MEM_PER_WQE);
qp_ctx->isq_wqe_ib_vmem, IBMF_MEM_PER_WQE,
(void *)(uintptr_t)recv_wqe->recv_sg_mem, IBMF_MEM_PER_WQE);
bzero(recv_wqe->recv_mem, IBMF_MEM_PER_WQE);
(void *)(uintptr_t)recv_wqe->recv_sg_mem, IBMF_MEM_PER_WQE);
((IBMF_MEM_PER_WQE * ibmf_send_wqes_per_port) +
(IBMF_MEM_PER_WQE * ibmf_recv_wqes_per_port));
wqe_mgtp->wqes_kmem_sz = (IBMF_MEM_PER_WQE * ibmf_send_wqes_per_port) +
(IBMF_MEM_PER_WQE * ibmf_recv_wqes_per_port);
IBMF_MEM_PER_WQE, kmflags == KM_SLEEP ? VM_SLEEP : VM_NOSLEEP);