Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h53 struct c4iw_dev { struct
63 TAILQ_ENTRY(c4iw_dev) list; argument
68 static inline int dev_is_t7(struct c4iw_dev *dev) in dev_is_t7() argument
73 static inline int dev_is_t6(struct c4iw_dev *dev) in dev_is_t6()
78 static inline int dev_is_t5(struct c4iw_dev *dev) in dev_is_t5()
83 static inline int dev_is_t4(struct c4iw_dev *dev) in dev_is_t4()
111 struct c4iw_dev *rhp;
122 struct c4iw_dev *rhp;
132 static inline struct c4iw_dev *to_c4iw_dev(struct ibv_device *ibdev) in to_c4iw_dev()
162 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()
273 struct c4iw_dev *dev = to_c4iw_dev(ibcq->context->device); in c4iw_destroy_cq()
323 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in create_qp_v0()
430 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in create_qp()
584 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in c4iw_create_qp()
626 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()
377 struct c4iw_dev *dev; in dump_state()
418 struct c4iw_dev *dev; in cxgb4_driver_init()
H A Dqp.c831 void c4iw_flush_qps(struct c4iw_dev *dev) in c4iw_flush_qps()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Diw_cxgbe.h293 struct c4iw_dev { struct
306 static inline struct c4iw_dev *to_c4iw_dev(struct ib_device *ibdev) in to_c4iw_dev() argument
308 return container_of(ibdev, struct c4iw_dev, ibdev); in to_c4iw_dev()
311 static inline struct c4iw_dev *rdev_to_c4iw_dev(struct c4iw_rdev *rdev) in rdev_to_c4iw_dev()
313 return container_of(rdev, struct c4iw_dev, rdev); in rdev_to_c4iw_dev()
316 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) in get_chp()
321 static inline struct c4iw_qp *get_qhp(struct c4iw_dev *rhp, u32 qpid) in get_qhp()
328 static inline int cur_max_read_depth(struct c4iw_dev *dev) in cur_max_read_depth()
336 struct c4iw_dev *rhp;
365 struct c4iw_dev *rhp;
[all …]
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()
215 struct c4iw_dev *rhp = php->rhp; in c4iw_deallocate_pd()
231 struct c4iw_dev *rhp; in c4iw_allocate_pd()
235 rhp = (struct c4iw_dev *) ibdev; in c4iw_allocate_pd()
276 struct c4iw_dev *dev; in c4iw_query_gid()
297 struct c4iw_dev *dev = to_c4iw_dev(ibdev); in c4iw_query_device()
339 struct c4iw_dev *dev; in c4iw_query_port()
393 struct c4iw_dev *dev; in c4iw_get_netdev()
414 c4iw_register_device(struct c4iw_dev *dev) in c4iw_register_device()
[all …]
H A Ddevice.c189 c4iw_dealloc(struct c4iw_dev *iwsc) in c4iw_dealloc()
199 static struct c4iw_dev *
202 struct c4iw_dev *iwsc; in c4iw_alloc()
205 iwsc = (struct c4iw_dev *)ib_alloc_device(sizeof(*iwsc)); in c4iw_alloc()
290 struct c4iw_dev *iwsc; in c4iw_activate()
334 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_deactivate()
348 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_stop()
366 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_restart()
H A Dmem.c51 mr_exceeds_hw_limits(struct c4iw_dev *dev, u64 length) in mr_exceeds_hw_limits()
127 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in _c4iw_write_mem_dma()
336 static int register_mem(struct c4iw_dev *rhp, struct c4iw_pd *php, in register_mem()
373 struct c4iw_dev *rhp; in c4iw_get_dma_mr()
432 struct c4iw_dev *rhp; in c4iw_reg_user_mr()
535 struct c4iw_dev *rhp; in c4iw_alloc_mw()
585 struct c4iw_dev *rhp; in c4iw_dealloc_mw()
605 struct c4iw_dev *rhp; in c4iw_alloc_mr()
708 struct c4iw_dev *rhp; in c4iw_dereg_mr()
733 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()
265 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()
131 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in create_qp()
1459 rdma_fini(struct c4iw_dev *rhp, struct c4iw_qp *qhp, struct c4iw_ep *ep) in rdma_fini()
1553 static int rdma_init(struct c4iw_dev *rhp, struct c4iw_qp *qhp) in rdma_init()
1642 int c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp, in c4iw_modify_qp()
1895 struct c4iw_dev *rhp; in c4iw_destroy_qp()
1938 struct c4iw_dev *rhp; in c4iw_create_qp()
2150 struct c4iw_dev *rhp; in c4iw_ib_modify_qp()
H A Dcq.c57 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in destroy_cq()
95 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in create_cq()
930 struct c4iw_dev *rhp = to_c4iw_dev(ibcq->device); in c4iw_create_cq()
H A Dcm.c435 struct c4iw_dev *rhp;
2408 struct c4iw_dev *h = to_c4iw_dev(cm_id->device); in c4iw_accept_cr()
2597 struct c4iw_dev *dev = to_c4iw_dev(cm_id->device); in c4iw_connect()
2708 struct c4iw_dev *dev = to_c4iw_dev(cm_id->device); in c4iw_create_listen()