hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/mlx5/transobj.h
....@@ -39,36 +39,21 @@
3939 void mlx5_core_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn);
4040 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen,
4141 u32 *rqn);
42
-int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen);
42
+int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in);
4343 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn);
4444 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out);
4545 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen,
4646 u32 *sqn);
47
-int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen);
47
+int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in);
4848 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn);
4949 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out);
5050 int mlx5_core_query_sq_state(struct mlx5_core_dev *dev, u32 sqn, u8 *state);
51
-int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen,
52
- u32 *tirn);
53
-int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in,
54
- int inlen);
51
+int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, u32 *tirn);
52
+int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in);
5553 void mlx5_core_destroy_tir(struct mlx5_core_dev *dev, u32 tirn);
56
-int mlx5_core_create_tis(struct mlx5_core_dev *dev, u32 *in, int inlen,
57
- u32 *tisn);
58
-int mlx5_core_modify_tis(struct mlx5_core_dev *dev, u32 tisn, u32 *in,
59
- int inlen);
54
+int mlx5_core_create_tis(struct mlx5_core_dev *dev, u32 *in, u32 *tisn);
55
+int mlx5_core_modify_tis(struct mlx5_core_dev *dev, u32 tisn, u32 *in);
6056 void mlx5_core_destroy_tis(struct mlx5_core_dev *dev, u32 tisn);
61
-int mlx5_core_create_rmp(struct mlx5_core_dev *dev, u32 *in, int inlen,
62
- u32 *rmpn);
63
-int mlx5_core_modify_rmp(struct mlx5_core_dev *dev, u32 *in, int inlen);
64
-int mlx5_core_destroy_rmp(struct mlx5_core_dev *dev, u32 rmpn);
65
-int mlx5_core_query_rmp(struct mlx5_core_dev *dev, u32 rmpn, u32 *out);
66
-int mlx5_core_arm_rmp(struct mlx5_core_dev *dev, u32 rmpn, u16 lwm);
67
-int mlx5_core_create_xsrq(struct mlx5_core_dev *dev, u32 *in, int inlen,
68
- u32 *rmpn);
69
-int mlx5_core_destroy_xsrq(struct mlx5_core_dev *dev, u32 rmpn);
70
-int mlx5_core_arm_xsrq(struct mlx5_core_dev *dev, u32 rmpn, u16 lwm);
71
-
7257 int mlx5_core_create_rqt(struct mlx5_core_dev *dev, u32 *in, int inlen,
7358 u32 *rqtn);
7459 int mlx5_core_modify_rqt(struct mlx5_core_dev *dev, u32 rqtn, u32 *in,
....@@ -100,4 +85,5 @@
10085 struct mlx5_hairpin_params *params);
10186
10287 void mlx5_core_hairpin_destroy(struct mlx5_hairpin *pair);
88
+void mlx5_core_hairpin_clear_dead_peer(struct mlx5_hairpin *hp);
10389 #endif /* __TRANSOBJ_H__ */