Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_loc.h39 int rxe_av_chk_attr(struct rxe_dev *rxe, struct rdma_ah_attr *attr);
51 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq,
54 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe,
68 int rxe_mcast_get_grp(struct rxe_dev *rxe, union ib_gid *mgid,
71 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp,
74 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp,
93 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *dev,
135 int rxe_mem_map_pages(struct rxe_dev *rxe, struct rxe_mem *mem,
145 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,
147 int rxe_prepare(struct rxe_dev *rxe, struct rxe_pkt_info *pkt,
[all …]
Drxe.h73 static inline u32 rxe_crc32(struct rxe_dev *rxe, in rxe_crc32()
95 void rxe_set_mtu(struct rxe_dev *rxe, unsigned int dev_mtu);
97 int rxe_add(struct rxe_dev *rxe, unsigned int mtu);
98 void rxe_remove(struct rxe_dev *rxe);
103 static inline void rxe_dev_put(struct rxe_dev *rxe) in rxe_dev_put()
107 struct rxe_dev *net_to_rxe(struct net_device *ndev);
108 struct rxe_dev *get_rxe_by_name(const char *name);
110 void rxe_port_up(struct rxe_dev *rxe);
111 void rxe_port_down(struct rxe_dev *rxe);
Drxe_net.c51 struct rxe_dev *net_to_rxe(struct net_device *ndev) in net_to_rxe()
53 struct rxe_dev *rxe; in net_to_rxe()
54 struct rxe_dev *found = NULL; in net_to_rxe()
68 struct rxe_dev *get_rxe_by_name(const char *name) in get_rxe_by_name()
70 struct rxe_dev *rxe; in get_rxe_by_name()
71 struct rxe_dev *found = NULL; in get_rxe_by_name()
87 struct device *rxe_dma_device(struct rxe_dev *rxe) in rxe_dma_device()
99 int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_add()
110 int rxe_mcast_delete(struct rxe_dev *rxe, union ib_gid *mgid) in rxe_mcast_delete()
185 static struct dst_entry *rxe_find_route(struct rxe_dev *rxe, in rxe_find_route()
[all …]
Drxe.c43 static void rxe_cleanup_ports(struct rxe_dev *rxe) in rxe_cleanup_ports()
53 static void rxe_cleanup(struct rxe_dev *rxe) in rxe_cleanup()
74 struct rxe_dev *rxe = container_of(kref, struct rxe_dev, ref_cnt); in rxe_release()
81 static void rxe_init_device_param(struct rxe_dev *rxe) in rxe_init_device_param()
160 static int rxe_init_ports(struct rxe_dev *rxe) in rxe_init_ports()
185 static int rxe_init_pools(struct rxe_dev *rxe) in rxe_init_pools()
264 static int rxe_init(struct rxe_dev *rxe) in rxe_init()
295 void rxe_set_mtu(struct rxe_dev *rxe, unsigned int ndev_mtu) in rxe_set_mtu()
312 int rxe_add(struct rxe_dev *rxe, unsigned int mtu) in rxe_add()
336 void rxe_remove(struct rxe_dev *rxe) in rxe_remove()
Drxe_verbs.c45 struct rxe_dev *rxe = to_rdev(dev); in rxe_query_device()
57 struct rxe_dev *rxe = to_rdev(dev); in rxe_query_port()
83 struct rxe_dev *rxe = to_rdev(device); in rxe_get_netdev()
96 struct rxe_dev *rxe = to_rdev(device); in rxe_query_pkey()
123 struct rxe_dev *rxe = to_rdev(dev); in rxe_modify_device()
139 struct rxe_dev *rxe = to_rdev(dev); in rxe_modify_port()
164 struct rxe_dev *rxe = to_rdev(dev); in rxe_get_link_layer()
172 struct rxe_dev *rxe = to_rdev(dev); in rxe_alloc_ucontext()
210 struct rxe_dev *rxe = to_rdev(dev); in rxe_alloc_pd()
225 static void rxe_init_av(struct rxe_dev *rxe, struct rdma_ah_attr *attr, in rxe_init_av()
[all …]
Drxe_verbs.h351 struct rxe_dev *rxe;
379 struct rxe_dev { struct
415 static inline void rxe_counter_inc(struct rxe_dev *rxe, enum rxe_counters cnt) in rxe_counter_inc() argument
420 static inline struct rxe_dev *to_rdev(struct ib_device *dev) in to_rdev()
422 return dev ? container_of(dev, struct rxe_dev, ib_dev) : NULL; in to_rdev()
465 int rxe_register_device(struct rxe_dev *rxe);
466 int rxe_unregister_device(struct rxe_dev *rxe);
Drxe_recv.c39 static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_type_state()
101 static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_keys()
154 static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt, in check_addr()
216 struct rxe_dev *rxe = pkt->rxe; in hdr_check()
269 static inline void rxe_rcv_pkt(struct rxe_dev *rxe, in rxe_rcv_pkt()
279 static void rxe_rcv_mcast_pkt(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_rcv_mcast_pkt()
333 static int rxe_match_dgid(struct rxe_dev *rxe, struct sk_buff *skb) in rxe_match_dgid()
362 struct rxe_dev *rxe = pkt->rxe; in rxe_rcv()
Drxe_mcast.c37 int rxe_mcast_get_grp(struct rxe_dev *rxe, union ib_gid *mgid, in rxe_mcast_get_grp()
78 int rxe_mcast_add_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_add_grp_elem()
122 int rxe_mcast_drop_grp_elem(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_mcast_drop_grp_elem()
186 struct rxe_dev *rxe = grp->rxe; in rxe_mc_cleanup()
Drxe_sysfs.c58 struct rxe_dev *rxe = net_to_rxe(ndev); in rxe_set_port_state()
78 struct rxe_dev *rxe; in rxe_param_set_add()
119 struct rxe_dev *rxe; in rxe_param_set_remove()
Drxe_queue.h70 struct rxe_dev *rxe;
79 int do_mmap_info(struct rxe_dev *rxe,
88 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe,
Drxe_mmap.c48 struct rxe_dev *rxe = to_rdev(ip->context->device); in rxe_mmap_release()
92 struct rxe_dev *rxe = to_rdev(context->device); in rxe_mmap()
143 struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *rxe, in rxe_create_mmap_info()
Drxe_srq.c38 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_chk_attr()
100 int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_init()
144 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_attr()
Drxe_pool.h92 struct rxe_dev *rxe;
125 int rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
Drxe_net.h46 struct rxe_dev *rxe_net_add(struct net_device *ndev);
Drxe_queue.c39 int do_mmap_info(struct rxe_dev *rxe, in do_mmap_info()
82 struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, in rxe_queue_init()
Drxe_cq.c38 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq, in rxe_cq_chk_attr()
84 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe, in rxe_cq_from_init()
Drxe_qp.c43 static int rxe_qp_chk_cap(struct rxe_dev *rxe, struct ib_qp_cap *cap, in rxe_qp_chk_cap()
84 int rxe_qp_chk_init(struct rxe_dev *rxe, struct ib_qp_init_attr *init) in rxe_qp_chk_init()
175 static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_misc()
217 static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_req()
276 static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_init_resp()
325 int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd, in rxe_qp_from_init()
403 int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_qp_chk_attr()
Drxe_hw_counters.c55 struct rxe_dev *dev = to_rdev(ibdev); in rxe_ib_get_hw_stats()
Drxe_resp.c107 void rxe_resp_queue_pkt(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_resp_queue_pkt()
152 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in check_psn()
597 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in prepare_ack_packet()
663 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in read_reply()
898 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in do_complete()
950 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in send_ack()
973 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in send_atomic_ack()
1211 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_responder()
Drxe_av.c37 int rxe_av_chk_attr(struct rxe_dev *rxe, struct rdma_ah_attr *attr) in rxe_av_chk_attr()
Drxe_req.c367 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in get_mtu()
380 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in init_req_packet()
474 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in fill_packet()
620 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_requester()
Drxe_comp.c149 void rxe_comp_queue_pkt(struct rxe_dev *rxe, struct rxe_qp *qp, in rxe_comp_queue_pkt()
241 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in check_ack()
542 struct rxe_dev *rxe = to_rdev(qp->ibqp.device); in rxe_completer()
Drxe_mr.c573 struct rxe_dev *rxe = to_rdev(pd->ibpd.device); in lookup_mem()
605 int rxe_mem_map_pages(struct rxe_dev *rxe, struct rxe_mem *mem, in rxe_mem_map_pages()
Drxe_pool.c188 struct rxe_dev *rxe, in rxe_pool_init()
Drxe_hdr.h42 struct rxe_dev *rxe; /* device that owns packet */