rxe_dev
static void rxe_init_ports(struct rxe_dev *rxe, struct net_device *ndev)
static void rxe_init_pools(struct rxe_dev *rxe)
static void rxe_init(struct rxe_dev *rxe, struct net_device *ndev)
void rxe_set_mtu(struct rxe_dev *rxe, unsigned int ndev_mtu)
int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name,
struct rxe_dev *rxe;
struct rxe_dev *rxe = container_of(ib_dev, struct rxe_dev, ib_dev);
static void rxe_init_device_param(struct rxe_dev *rxe, struct net_device *ndev)
void rxe_set_mtu(struct rxe_dev *rxe, unsigned int dev_mtu);
int rxe_add(struct rxe_dev *rxe, unsigned int mtu, const char *ibdev_name,
static inline struct rxe_dev *rxe_get_dev_from_net(struct net_device *ndev)
return container_of(ibdev, struct rxe_dev, ib_dev);
void rxe_port_up(struct rxe_dev *rxe);
void rxe_port_down(struct rxe_dev *rxe);
void rxe_set_port_state(struct rxe_dev *rxe);
struct rxe_dev *rxe;
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe,
struct rxe_dev *rxe; /* device that owns packet */
struct rxe_dev *dev = to_rdev(ibdev);
static __be32 rxe_crc32(struct rxe_dev *rxe, __be32 crc, void *next, size_t len)
int rxe_qp_chk_init(struct rxe_dev *rxe, struct ib_qp_init_attr *init);
int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd,
int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp,
int rxe_srq_chk_init(struct rxe_dev *rxe, struct ib_srq_init_attr *init);
int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq,
int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq,
int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq,
int rxe_odp_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length,
rxe_odp_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length, u64 iova,
int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe,
struct rxe_mcg *rxe_lookup_mcg(struct rxe_dev *rxe, union ib_gid *mgid);
struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *dev, u32 size,
int rxe_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length,
struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,
const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num);
static int rxe_get_pma_counters(struct rxe_dev *rxe, struct ib_mad *out)
static int rxe_get_pma_counters_ext(struct rxe_dev *rxe, struct ib_mad *out)
static int rxe_get_perf_mgmt(struct rxe_dev *rxe, const struct ib_mad *in, struct ib_mad *out)
struct rxe_dev *rxe = to_rdev(ibdev);
static struct rxe_mcg *__rxe_lookup_mcg(struct rxe_dev *rxe,
struct rxe_mcg *rxe_lookup_mcg(struct rxe_dev *rxe, union ib_gid *mgid)
static void __rxe_init_mcg(struct rxe_dev *rxe, union ib_gid *mgid,
static struct rxe_mcg *rxe_get_mcg(struct rxe_dev *rxe, union ib_gid *mgid)
struct rxe_dev *rxe = mcg->rxe;
static int rxe_mcast_add(struct rxe_dev *rxe, union ib_gid *mgid)
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = mcg->rxe;
struct rxe_dev *rxe = mcg->rxe;
struct rxe_dev *rxe = to_rdev(ibqp->device);
struct rxe_dev *rxe = to_rdev(ibqp->device);
static int rxe_mcast_del(struct rxe_dev *rxe, union ib_gid *mgid)
struct rxe_mmap_info *rxe_create_mmap_info(struct rxe_dev *rxe, u32 size,
struct rxe_dev *rxe = to_rdev(ip->context->device);
struct rxe_dev *rxe = to_rdev(context->device);
int rxe_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length,
struct rxe_dev *rxe = to_rdev(pd->ibpd.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(ibmw->device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe;
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av,
const char *rxe_parent_name(struct rxe_dev *rxe, unsigned int port_num)
struct rxe_dev *rxe = NULL;
rxe = ib_alloc_device(rxe_dev, ib_dev);
static void rxe_port_event(struct rxe_dev *rxe,
void rxe_port_up(struct rxe_dev *rxe)
void rxe_port_down(struct rxe_dev *rxe)
void rxe_set_port_state(struct rxe_dev *rxe)
struct rxe_dev *rxe = rxe_get_dev_from_net(ndev);
int rxe_odp_mr_init_user(struct rxe_dev *rxe, u64 start, u64 length,
void rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
struct rxe_dev *rxe;
void rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
int rxe_qp_chk_init(struct rxe_dev *rxe, struct ib_qp_init_attr *init)
static void rxe_qp_init_misc(struct rxe_dev *rxe, struct rxe_qp *qp,
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
static int rxe_qp_init_req(struct rxe_dev *rxe, struct rxe_qp *qp,
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
static int rxe_qp_init_resp(struct rxe_dev *rxe, struct rxe_qp *qp,
int rxe_qp_from_init(struct rxe_dev *rxe, struct rxe_qp *qp, struct rxe_pd *pd,
int rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp,
static int rxe_qp_chk_cap(struct rxe_dev *rxe, struct ib_qp_cap *cap,
int do_mmap_info(struct rxe_dev *rxe, struct mminfo __user *outbuf,
struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, int *num_elem,
struct rxe_dev *rxe;
int do_mmap_info(struct rxe_dev *rxe, struct mminfo __user *outbuf,
struct rxe_queue *rxe_queue_init(struct rxe_dev *rxe, int *num_elem,
static int check_addr(struct rxe_dev *rxe, struct rxe_pkt_info *pkt,
static int check_type_state(struct rxe_dev *rxe, struct rxe_pkt_info *pkt,
struct rxe_dev *rxe = pkt->rxe;
static void rxe_rcv_mcast_pkt(struct rxe_dev *rxe, struct sk_buff *skb)
static int rxe_chk_dgid(struct rxe_dev *rxe, struct sk_buff *skb)
struct rxe_dev *rxe = pkt->rxe;
static int check_keys(struct rxe_dev *rxe, struct rxe_pkt_info *pkt,
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
struct rxe_dev *rxe = to_rdev(qp->ibqp.device);
int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq,
int rxe_srq_chk_init(struct rxe_dev *rxe, struct ib_srq_init_attr *init)
int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq,
int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq,
struct rxe_dev *rxe = to_rdev(dev);
struct rxe_dev *rxe = to_rdev(ibcq->device);
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe = to_rdev(ibpd->device);
struct rxe_dev *rxe = to_rdev(ibpd->device);
struct rxe_dev *rxe = to_rdev(ibpd->device);
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe =
rdma_device_to_drv_device(device, struct rxe_dev, ib_dev);
struct rxe_dev *rxe = container_of(ib_dev, struct rxe_dev, ib_dev);
int rxe_register_device(struct rxe_dev *rxe, const char *ibdev_name,
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe = to_rdev(ibuc->device);
struct rxe_dev *rxe = to_rdev(ibpd->device);
struct rxe_dev *rxe = to_rdev(ibah->device);
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe = to_rdev(ibsrq->device);
struct rxe_dev *rxe = to_rdev(ibsrq->device);
struct rxe_dev *rxe = to_rdev(ibqp->device);
struct rxe_dev *rxe = to_rdev(ibqp->device);
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe = to_rdev(ibdev);
struct rxe_dev *rxe;
static inline void rxe_counter_inc(struct rxe_dev *rxe, enum rxe_counters index)
static inline void rxe_counter_add(struct rxe_dev *rxe, enum rxe_counters index,
static inline struct rxe_dev *to_rdev(struct ib_device *dev)
return dev ? container_of(dev, struct rxe_dev, ib_dev) : NULL;
int rxe_register_device(struct rxe_dev *rxe, const char *ibdev_name,