Home
last modified time | relevance | path

Searched refs:rxe_dev (Results 1 - 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A Drxe_loc.h13 int rxe_av_chk_attr(struct rxe_dev *rxe, struct rdma_ah_attr *attr);
25 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq,
28 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe,
43 int rxe_mcast_get_grp(struct rxe_dev *rxe, union ib_gid *mgid,
46 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp,
49 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp,
68 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *dev, u32 size,
115 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,
118 const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num);
119 struct device *rxe_dma_device(struct rxe_dev *rx
[all...]
H A Drxe.h45 static inline u32 rxe_crc32(struct rxe_dev *rxe, in rxe_crc32()
66 void rxe_set_mtu(struct rxe_dev *rxe, unsigned int dev_mtu);
68 int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name);
73 static inline struct rxe_dev *rxe_get_dev_from_net(struct net_device *ndev) in rxe_get_dev_from_net()
80 return container_of(ibdev, struct rxe_dev, ib_dev); in rxe_get_dev_from_net()
83 void rxe_port_up(struct rxe_dev *rxe);
84 void rxe_port_down(struct rxe_dev *rxe);
85 void rxe_set_port_state(struct rxe_dev *rxe);
H A Drxe.c23 struct rxe_dev *rxe = container_of(ib_dev, struct rxe_dev, ib_dev); in rxe_dealloc()
41 static void rxe_init_device_param(struct rxe_dev *rxe) in rxe_init_device_param()
107 static void rxe_init_ports(struct rxe_dev *rxe) in rxe_init_ports()
118 static int rxe_init_pools(struct rxe_dev *rxe) in rxe_init_pools()
197 static int rxe_init(struct rxe_dev *rxe) in rxe_init()
220 void rxe_set_mtu(struct rxe_dev *rxe, unsigned int ndev_mtu) in rxe_set_mtu()
237 int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name) in rxe_add()
252 struct rxe_dev *exists; in rxe_newlink()
H A Drxe_verbs.c19 struct rxe_dev *rxe = to_rdev(dev); in rxe_query_device()
31 struct rxe_dev *rxe = to_rdev(dev); in rxe_query_port()
69 struct rxe_dev *rxe = to_rdev(dev); in rxe_modify_device()
89 struct rxe_dev *rxe = to_rdev(dev); in rxe_modify_port()
111 struct rxe_dev *rxe = to_rdev(uctx->device); in rxe_alloc_ucontext()
145 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_pd()
165 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_create_ah()
183 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_modify_ah()
263 struct rxe_dev *rxe = to_rdev(ibsrq->device); in rxe_create_srq()
304 struct rxe_dev *rx in rxe_modify_srq()
[all...]
H A Drxe_net.c23 int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_add()
34 int rxe_mcast_delete(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_delete()
158 struct rxe_dev *rxe = rxe_get_dev_from_net(ndev); in rxe_udp_encap_recv()
423 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av, in rxe_init_packet()
482 const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num) in rxe_parent_name()
490 struct rxe_dev *rxe = NULL; in rxe_net_add()
492 rxe = ib_alloc_device(rxe_dev, ib_dev); in rxe_net_add()
507 static void rxe_port_event(struct rxe_dev *rxe, in rxe_port_event()
520 void rxe_port_up(struct rxe_dev *rxe) in rxe_port_up()
532 void rxe_port_down(struct rxe_dev *rx
[all...]
H A Drxe_mcast.c10 int rxe_mcast_get_grp(struct rxe_dev *rxe, union ib_gid *mgid, in rxe_mcast_get_grp()
51 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_add_grp_elem()
95 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_drop_grp_elem()
159 struct rxe_dev *rxe = grp->rxe; in rxe_mc_cleanup()
H A Drxe_verbs.h325 struct rxe_dev *rxe;
352 struct rxe_dev { struct
386 static inline void rxe_counter_inc(struct rxe_dev *rxe, enum rxe_counters index) in rxe_counter_inc()
391 static inline struct rxe_dev *to_rdev(struct ib_device *dev) in to_rdev()
393 return dev ? container_of(dev, struct rxe_dev, ib_dev) : NULL; in to_rdev()
451 int rxe_register_device(struct rxe_dev *rxe, const char *ibdev_name);
H A Drxe_queue.h43 struct rxe_dev *rxe;
52 int do_mmap_info(struct rxe_dev *rxe, struct mminfo __user *outbuf,
58 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe,
H A Drxe_mmap.c21 struct rxe_dev *rxe = to_rdev(ip->context->device); in rxe_mmap_release()
65 struct rxe_dev *rxe = to_rdev(context->device); in rxe_mmap()
116 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *rxe, u32 size, in rxe_create_mmap_info()
H A Drxe_recv.c13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state()
79 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys()
111 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr()
173 struct rxe_dev *rxe = pkt->rxe; in hdr_check()
234 static void rxe_rcv_mcast_pkt(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_rcv_mcast_pkt()
312 static int rxe_chk_dgid(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_chk_dgid()
348 struct rxe_dev *rxe = pkt->rxe; in rxe_rcv()
H A Drxe_srq.c12 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_chk_attr()
74 int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_init()
122 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_attr()
H A Drxe_pool.h65 struct rxe_dev *rxe;
92 int rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/
H A Drxe_loc.h21 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq,
24 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe,
37 struct rxe_mcg *rxe_lookup_mcg(struct rxe_dev *rxe, union ib_gid *mgid);
54 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *dev, u32 size,
62 int rxe_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length, u64 iova,
92 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,
98 const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num);
101 int rxe_qp_chk_init(struct rxe_dev *rxe, struct ib_qp_init_attr *init);
102 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd,
107 int rxe_qp_chk_attr(struct rxe_dev *rx
[all...]
H A Drxe_mcast.c31 static int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_add()
47 static int rxe_mcast_del(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_del()
105 static struct rxe_mcg *__rxe_lookup_mcg(struct rxe_dev *rxe, in __rxe_lookup_mcg()
143 struct rxe_mcg *rxe_lookup_mcg(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_lookup_mcg()
162 static void __rxe_init_mcg(struct rxe_dev *rxe, union ib_gid *mgid, in __rxe_init_mcg()
188 static struct rxe_mcg *rxe_get_mcg(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_get_mcg()
258 struct rxe_dev *rxe = mcg->rxe; in __rxe_destroy_mcg()
297 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in __rxe_init_mca()
333 struct rxe_dev *rxe = mcg->rxe; in rxe_attach_mcg()
398 struct rxe_dev *rx in rxe_detach_mcg()
[all...]
H A Drxe.c21 struct rxe_dev *rxe = container_of(ib_dev, struct rxe_dev, ib_dev); in rxe_dealloc()
39 static void rxe_init_device_param(struct rxe_dev *rxe) in rxe_init_device_param()
107 static void rxe_init_ports(struct rxe_dev *rxe) in rxe_init_ports()
118 static void rxe_init_pools(struct rxe_dev *rxe) in rxe_init_pools()
131 static void rxe_init(struct rxe_dev *rxe) in rxe_init()
151 void rxe_set_mtu(struct rxe_dev *rxe, unsigned int ndev_mtu) in rxe_set_mtu()
170 int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name) in rxe_add()
180 struct rxe_dev *rxe; in rxe_newlink()
H A Drxe.h140 void rxe_set_mtu(struct rxe_dev *rxe, unsigned int dev_mtu);
142 int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name);
147 static inline struct rxe_dev *rxe_get_dev_from_net(struct net_device *ndev) in rxe_get_dev_from_net()
154 return container_of(ibdev, struct rxe_dev, ib_dev); in rxe_get_dev_from_net()
157 void rxe_port_up(struct rxe_dev *rxe);
158 void rxe_port_down(struct rxe_dev *rxe);
159 void rxe_set_port_state(struct rxe_dev *rxe);
H A Drxe_recv.c13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state()
75 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys()
100 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr()
137 struct rxe_dev *rxe = pkt->rxe; in hdr_check()
190 static void rxe_rcv_mcast_pkt(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_rcv_mcast_pkt()
284 static int rxe_chk_dgid(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_chk_dgid()
320 struct rxe_dev *rxe = pkt->rxe; in rxe_rcv()
H A Drxe_net.c137 struct rxe_dev *rxe; in rxe_udp_encap_recv()
420 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_xmit_packet()
459 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av, in rxe_init_packet()
518 const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num) in rxe_parent_name()
526 struct rxe_dev *rxe = NULL; in rxe_net_add()
528 rxe = ib_alloc_device(rxe_dev, ib_dev); in rxe_net_add()
543 static void rxe_port_event(struct rxe_dev *rxe, in rxe_port_event()
556 void rxe_port_up(struct rxe_dev *rxe) in rxe_port_up()
568 void rxe_port_down(struct rxe_dev *rxe) in rxe_port_down()
580 void rxe_set_port_state(struct rxe_dev *rx
[all...]
H A Drxe_verbs.h349 struct rxe_dev *rxe;
372 struct rxe_dev { struct
408 static inline void rxe_counter_inc(struct rxe_dev *rxe, enum rxe_counters index) in rxe_counter_inc()
413 static inline struct rxe_dev *to_rdev(struct ib_device *dev) in to_rdev()
415 return dev ? container_of(dev, struct rxe_dev, ib_dev) : NULL; in to_rdev()
473 int rxe_register_device(struct rxe_dev *rxe, const char *ibdev_name);
H A Drxe_mmap.c20 struct rxe_dev *rxe = to_rdev(ip->context->device); in rxe_mmap_release()
64 struct rxe_dev *rxe = to_rdev(context->device); in rxe_mmap()
115 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *rxe, u32 size, in rxe_create_mmap_info()
H A Drxe_srq.c11 int rxe_srq_chk_init(struct rxe_dev *rxe, struct ib_srq_init_attr *init) in rxe_srq_chk_init()
44 int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_init()
100 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_chk_attr()
151 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_attr()
H A Drxe_verbs.c22 struct rxe_dev *rxe = to_rdev(ibdev); in rxe_query_device()
43 struct rxe_dev *rxe = to_rdev(ibdev); in rxe_query_port()
77 struct rxe_dev *rxe = to_rdev(ibdev); in rxe_query_pkey()
97 struct rxe_dev *rxe = to_rdev(ibdev); in rxe_modify_device()
125 struct rxe_dev *rxe = to_rdev(ibdev); in rxe_modify_port()
159 struct rxe_dev *rxe = to_rdev(ibdev); in rxe_get_link_layer()
178 struct rxe_dev *rxe = to_rdev(ibdev); in rxe_port_immutable()
207 struct rxe_dev *rxe = to_rdev(ibuc->device); in rxe_alloc_ucontext()
231 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_pd()
265 struct rxe_dev *rx in rxe_create_ah()
[all...]
H A Drxe_pool.h32 struct rxe_dev *rxe;
51 void rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
H A Drxe_mw.c20 struct rxe_dev *rxe = to_rdev(ibmw->device); in rxe_alloc_mw()
169 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_bind_mw()
260 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_invalidate_mw()
292 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_lookup_mw()
H A Drxe_qp.c18 static int rxe_qp_chk_cap(struct rxe_dev *rxe, struct ib_qp_cap *cap, in rxe_qp_chk_cap()
59 int rxe_qp_chk_init(struct rxe_dev *rxe, struct ib_qp_init_attr *init) in rxe_qp_chk_init()
148 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc()
190 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_init_sq()
235 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req()
283 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_init_rq()
324 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp()
349 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init()
439 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr()

Completed in 14 milliseconds

12