Home
last modified time | relevance | path

Searched refs:c4iw_dev (Results 1 – 12 of 12) sorted by relevance

/src/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h53 struct c4iw_dev { struct
63 TAILQ_ENTRY(c4iw_dev) list; argument
67 static inline int dev_is_t7(struct c4iw_dev *dev) in dev_is_t7() argument
72 static inline int dev_is_t6(struct c4iw_dev *dev) in dev_is_t6()
77 static inline int dev_is_t5(struct c4iw_dev *dev) in dev_is_t5()
82 static inline int dev_is_t4(struct c4iw_dev *dev) in dev_is_t4()
110 struct c4iw_dev *rhp;
121 struct c4iw_dev *rhp;
131 static inline struct c4iw_dev *to_c4iw_dev(struct ibv_device *ibdev) in to_c4iw_dev()
161 static inline struct c4iw_qp *get_qhp(struct c4iw_dev *rhp, u32 qid) in get_qhp()
[all …]
H A Dverbs.c117 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in __c4iw_reg_mr()
153 struct c4iw_dev *dev = to_c4iw_dev(mr->pd->context->device); in c4iw_dereg_mr()
174 struct c4iw_dev *dev = to_c4iw_dev(context->device); in c4iw_create_cq()
265 struct c4iw_dev *dev = to_c4iw_dev(ibcq->context->device); in c4iw_destroy_cq()
315 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in create_qp_v0()
422 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in create_qp()
574 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in c4iw_create_qp()
616 struct c4iw_dev *dev = to_c4iw_dev(ibqp->context->device); in c4iw_destroy_qp()
H A Ddev.c79 static TAILQ_HEAD(,c4iw_dev) devices = TAILQ_HEAD_INITIALIZER(devices);
112 struct c4iw_dev *rhp = to_c4iw_dev(ibdev); in c4iw_alloc_context()
376 struct c4iw_dev *dev; in dump_state()
417 struct c4iw_dev *dev; in cxgb4_driver_init()
H A Dqp.c539 void c4iw_flush_qps(struct c4iw_dev *dev) in c4iw_flush_qps()
/src/sys/dev/cxgbe/iw_cxgbe/
H A Diw_cxgbe.h265 struct c4iw_dev { struct
278 static inline struct c4iw_dev *to_c4iw_dev(struct ib_device *ibdev) in to_c4iw_dev() argument
280 return container_of(ibdev, struct c4iw_dev, ibdev); in to_c4iw_dev()
283 static inline struct c4iw_dev *rdev_to_c4iw_dev(struct c4iw_rdev *rdev) in rdev_to_c4iw_dev()
285 return container_of(rdev, struct c4iw_dev, rdev); in rdev_to_c4iw_dev()
288 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) in get_chp()
293 static inline struct c4iw_qp *get_qhp(struct c4iw_dev *rhp, u32 qpid) in get_qhp()
298 static inline struct c4iw_mr *get_mhp(struct c4iw_dev *rhp, u32 mmid) in get_mhp()
303 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle()
323 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle()
[all …]
H A Ddevice.c187 c4iw_dealloc(struct c4iw_dev *iwsc) in c4iw_dealloc()
197 static struct c4iw_dev *
200 struct c4iw_dev *iwsc; in c4iw_alloc()
203 iwsc = (struct c4iw_dev *)ib_alloc_device(sizeof(*iwsc)); in c4iw_alloc()
267 struct c4iw_dev *iwsc; in c4iw_activate()
311 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_deactivate()
325 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_stop()
343 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_restart()
H A Dprovider.c96 struct c4iw_dev *rhp; in c4iw_dealloc_ucontext()
114 struct c4iw_dev *rhp = to_c4iw_dev(ibdev); in c4iw_alloc_ucontext()
213 struct c4iw_dev *rhp = php->rhp; in c4iw_deallocate_pd()
229 struct c4iw_dev *rhp; in c4iw_allocate_pd()
233 rhp = (struct c4iw_dev *) ibdev; in c4iw_allocate_pd()
274 struct c4iw_dev *dev; in c4iw_query_gid()
295 struct c4iw_dev *dev = to_c4iw_dev(ibdev); in c4iw_query_device()
337 struct c4iw_dev *dev; in c4iw_query_port()
402 c4iw_register_device(struct c4iw_dev *dev) in c4iw_register_device()
513 c4iw_unregister_device(struct c4iw_dev *dev) in c4iw_unregister_device()
H A Dmem.c51 mr_exceeds_hw_limits(struct c4iw_dev *dev, u64 length) in mr_exceeds_hw_limits()
121 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in _c4iw_write_mem_dma()
311 static int register_mem(struct c4iw_dev *rhp, struct c4iw_pd *php, in register_mem()
347 struct c4iw_dev *rhp; in c4iw_get_dma_mr()
397 struct c4iw_dev *rhp; in c4iw_reg_user_mr()
495 struct c4iw_dev *rhp; in c4iw_alloc_mw()
533 struct c4iw_dev *rhp; in c4iw_dealloc_mw()
552 struct c4iw_dev *rhp; in c4iw_alloc_mr()
645 struct c4iw_dev *rhp; in c4iw_dereg_mr()
669 void c4iw_invalidate_mr(struct c4iw_dev *rhp, u32 rkey) in c4iw_invalidate_mr()
H A Dev.c95 static void dump_err_cqe(struct c4iw_dev *dev, struct t4_cqe *err_cqe) in dump_err_cqe()
118 static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, in post_qp_event()
157 void c4iw_ev_dispatch(struct c4iw_dev *dev, struct t4_cqe *err_cqe) in c4iw_ev_dispatch()
264 struct c4iw_dev *dev = iq->adapter->iwarp_softc; in c4iw_ev_handler()
H A Dqp.c70 static int alloc_ird(struct c4iw_dev *dev, u32 ird) in alloc_ird()
88 static void free_ird(struct c4iw_dev *dev, int ird) in free_ird()
106 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in destroy_qp()
130 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in create_qp()
576 struct c4iw_dev *rhp; in free_qp_work()
1248 rdma_fini(struct c4iw_dev *rhp, struct c4iw_qp *qhp, struct c4iw_ep *ep) in rdma_fini()
1345 static int rdma_init(struct c4iw_dev *rhp, struct c4iw_qp *qhp) in rdma_init()
1436 int c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp, in c4iw_modify_qp()
1688 struct c4iw_dev *rhp; in c4iw_destroy_qp()
1717 struct c4iw_dev *rhp; in c4iw_create_qp()
[all …]
H A Dcq.c56 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in destroy_cq()
99 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in create_cq()
910 struct c4iw_dev *rhp; in c4iw_create_cq()
H A Dcm.c435 struct c4iw_dev *rhp;
2405 struct c4iw_dev *h = to_c4iw_dev(cm_id->device); in c4iw_accept_cr()
2594 struct c4iw_dev *dev = to_c4iw_dev(cm_id->device); in c4iw_connect()
2705 struct c4iw_dev *dev = to_c4iw_dev(cm_id->device); in c4iw_create_listen()