.. | .. |
---|
40 | 40 | int mlx5_cmd_dump_fill_mkey(struct mlx5_core_dev *dev, u32 *mkey); |
---|
41 | 41 | int mlx5_cmd_null_mkey(struct mlx5_core_dev *dev, u32 *null_mkey); |
---|
42 | 42 | int mlx5_cmd_query_cong_params(struct mlx5_core_dev *dev, int cong_point, |
---|
43 | | - void *out, int out_size); |
---|
44 | | -int mlx5_cmd_query_ext_ppcnt_counters(struct mlx5_core_dev *dev, void *out); |
---|
45 | | -int mlx5_cmd_modify_cong_params(struct mlx5_core_dev *mdev, |
---|
46 | | - void *in, int in_size); |
---|
47 | | -int mlx5_cmd_alloc_memic(struct mlx5_memic *memic, phys_addr_t *addr, |
---|
| 43 | + void *out); |
---|
| 44 | +int mlx5_cmd_alloc_memic(struct mlx5_dm *dm, phys_addr_t *addr, |
---|
48 | 45 | u64 length, u32 alignment); |
---|
49 | | -int mlx5_cmd_dealloc_memic(struct mlx5_memic *memic, u64 addr, u64 length); |
---|
| 46 | +void mlx5_cmd_dealloc_memic(struct mlx5_dm *dm, phys_addr_t addr, u64 length); |
---|
| 47 | +int mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid); |
---|
| 48 | +void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid); |
---|
| 49 | +void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid); |
---|
| 50 | +int mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid); |
---|
| 51 | +int mlx5_cmd_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn, |
---|
| 52 | + u16 uid); |
---|
| 53 | +void mlx5_cmd_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn, |
---|
| 54 | + u16 uid); |
---|
| 55 | +int mlx5_cmd_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, |
---|
| 56 | + u32 qpn, u16 uid); |
---|
| 57 | +int mlx5_cmd_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, |
---|
| 58 | + u32 qpn, u16 uid); |
---|
| 59 | +int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid); |
---|
| 60 | +int mlx5_cmd_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn, u16 uid); |
---|
| 61 | +int mlx5_cmd_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, |
---|
| 62 | + u16 opmod, u8 port); |
---|
50 | 63 | #endif /* MLX5_IB_CMD_H */ |
---|