/linux-6.3-rc2/drivers/infiniband/sw/rxe/ |
A D | rxe_loc.h | 21 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, 39 struct rxe_mcg *rxe_lookup_mcg(struct rxe_dev *rxe, union ib_gid *mgid); 56 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *dev, u32 size, 95 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av, 104 int rxe_qp_chk_init(struct rxe_dev *rxe, struct ib_qp_init_attr *init); 110 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, 162 int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq, 165 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, 167 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, [all …]
|
A D | rxe.h | 98 void rxe_set_mtu(struct rxe_dev *rxe, unsigned int dev_mtu); 100 int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name); 105 static inline struct rxe_dev *rxe_get_dev_from_net(struct net_device *ndev) in rxe_get_dev_from_net() 112 return container_of(ibdev, struct rxe_dev, ib_dev); in rxe_get_dev_from_net() 115 void rxe_port_up(struct rxe_dev *rxe); 116 void rxe_port_down(struct rxe_dev *rxe); 117 void rxe_set_port_state(struct rxe_dev *rxe);
|
A D | rxe_mcast.c | 31 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() 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 *rxe = mcg->rxe; in rxe_detach_mcg() 436 struct rxe_dev *rxe = to_rdev(ibqp->device); in rxe_attach_mcast() [all …]
|
A D | rxe.c | 21 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() 168 int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name) in rxe_add() 178 struct rxe_dev *exists; in rxe_newlink()
|
A D | rxe_verbs.c | 19 struct rxe_dev *rxe = to_rdev(dev); in rxe_query_device() 31 struct rxe_dev *rxe = to_rdev(dev); in rxe_query_port() 66 struct rxe_dev *rxe = to_rdev(dev); in rxe_modify_device() 86 struct rxe_dev *rxe = to_rdev(dev); in rxe_modify_port() 108 struct rxe_dev *rxe = to_rdev(ibuc->device); in rxe_alloc_ucontext() 142 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_pd() 161 struct rxe_dev *rxe = to_rdev(ibah->device); in rxe_create_ah() 391 struct rxe_dev *rxe = to_rdev(ibqp->device); in rxe_create_qp() 754 struct rxe_dev *rxe = to_rdev(dev); in rxe_create_cq() 981 struct rxe_dev *rxe = in parent_show() [all …]
|
A D | rxe_recv.c | 13 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state() 67 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys() 92 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr() 129 struct rxe_dev *rxe = pkt->rxe; in hdr_check() 182 static void rxe_rcv_mcast_pkt(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_rcv_mcast_pkt() 276 static int rxe_chk_dgid(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_chk_dgid() 312 struct rxe_dev *rxe = pkt->rxe; in rxe_rcv()
|
A D | rxe_verbs.h | 342 struct rxe_dev *rxe; 365 struct rxe_dev { struct 401 static inline void rxe_counter_inc(struct rxe_dev *rxe, enum rxe_counters index) in rxe_counter_inc() argument 406 static inline struct rxe_dev *to_rdev(struct ib_device *dev) in to_rdev() 408 return dev ? container_of(dev, struct rxe_dev, ib_dev) : NULL; in to_rdev() 466 int rxe_register_device(struct rxe_dev *rxe, const char *ibdev_name);
|
A D | rxe_net.c | 137 struct rxe_dev *rxe; in rxe_udp_encap_recv() 414 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_xmit_packet() 449 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av, in rxe_init_packet() 508 const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num) in rxe_parent_name() 516 struct rxe_dev *rxe = NULL; in rxe_net_add() 518 rxe = ib_alloc_device(rxe_dev, ib_dev); in rxe_net_add() 533 static void rxe_port_event(struct rxe_dev *rxe, in rxe_port_event() 546 void rxe_port_up(struct rxe_dev *rxe) in rxe_port_up() 558 void rxe_port_down(struct rxe_dev *rxe) in rxe_port_down() 570 void rxe_set_port_state(struct rxe_dev *rxe) in rxe_set_port_state() [all …]
|
A D | rxe_srq.c | 11 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() 93 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_chk_attr() 144 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_attr()
|
A D | rxe_mmap.c | 20 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()
|
A D | rxe_pool.h | 32 struct rxe_dev *rxe; 51 void rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
|
A D | rxe_queue.h | 63 struct rxe_dev *rxe; 79 int do_mmap_info(struct rxe_dev *rxe, struct mminfo __user *outbuf, 85 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, int *num_elem,
|
A D | rxe_mw.c | 20 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() 253 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_invalidate_mw() 285 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_lookup_mw()
|
A D | rxe_icrc.c | 18 int rxe_icrc_init(struct rxe_dev *rxe) in rxe_icrc_init() 43 static __be32 rxe_crc32(struct rxe_dev *rxe, __be32 crc, void *next, size_t len) in rxe_crc32()
|
A D | rxe_cq.c | 11 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq, in rxe_cq_chk_attr() 57 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe, in rxe_cq_from_init()
|
A D | rxe_qp.c | 18 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() 183 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req() 252 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp() 296 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init() 386 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr()
|
A D | rxe_queue.c | 12 int do_mmap_info(struct rxe_dev *rxe, struct mminfo __user *outbuf, in do_mmap_info() 55 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, int *num_elem, in rxe_queue_init()
|
A D | rxe_hw_counters.c | 31 struct rxe_dev *dev = to_rdev(ibdev); in rxe_ib_get_hw_stats()
|
A D | rxe_comp.c | 227 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in check_ack() 444 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in do_complete() 577 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_completer()
|
A D | rxe_mr.c | 134 int rxe_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length, u64 iova, in rxe_mr_init_user() 625 struct rxe_dev *rxe = to_rdev(pd->ibpd.device); in lookup_mr() 645 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_invalidate_mr()
|
A D | rxe_av.c | 21 struct rxe_dev *rxe; in chk_attr()
|
A D | rxe_req.c | 379 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in get_mtu() 393 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in init_req_packet() 641 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_requester()
|
A D | rxe_resp.c | 96 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in check_psn() 788 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in prepare_ack_packet() 849 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_recheck_mr() 1079 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in do_complete() 1445 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_responder()
|
A D | rxe_pool.c | 92 void rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool, in rxe_pool_init()
|
A D | rxe_hdr.h | 15 struct rxe_dev *rxe; /* device that owns packet */
|