Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mlx5/qp.h
Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Lines | struct mlx5_dct_context { | ||||
u8 rsvd[12]; | u8 rsvd[12]; | ||||
}; | }; | ||||
static inline struct mlx5_core_qp *__mlx5_qp_lookup(struct mlx5_core_dev *dev, u32 qpn) | static inline struct mlx5_core_qp *__mlx5_qp_lookup(struct mlx5_core_dev *dev, u32 qpn) | ||||
{ | { | ||||
return radix_tree_lookup(&dev->priv.qp_table.tree, qpn); | return radix_tree_lookup(&dev->priv.qp_table.tree, qpn); | ||||
} | } | ||||
static inline struct mlx5_core_mr *__mlx5_mr_lookup(struct mlx5_core_dev *dev, u32 key) | static inline struct mlx5_core_mkey *__mlx5_mr_lookup(struct mlx5_core_dev *dev, u32 key) | ||||
{ | { | ||||
return radix_tree_lookup(&dev->priv.mr_table.tree, key); | return radix_tree_lookup(&dev->priv.mr_table.tree, key); | ||||
} | } | ||||
int mlx5_core_create_qp(struct mlx5_core_dev *dev, | int mlx5_core_create_qp(struct mlx5_core_dev *dev, | ||||
struct mlx5_core_qp *qp, | struct mlx5_core_qp *qp, | ||||
u32 *in, | u32 *in, | ||||
int inlen); | int inlen); | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |