34
34
#include "mlx5_core.h"
35
35
#include "transobj.h"
36
36
37
- int mlx5_create_rq (struct mlx5_core_dev * dev , u32 * in , int inlen , u32 * rqn )
37
+ int mlx5_core_create_rq (struct mlx5_core_dev * dev , u32 * in , int inlen , u32 * rqn )
38
38
{
39
39
u32 out [MLX5_ST_SZ_DW (create_rq_out )];
40
40
int err ;
@@ -49,7 +49,7 @@ int mlx5_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn)
49
49
return err ;
50
50
}
51
51
52
- int mlx5_modify_rq (struct mlx5_core_dev * dev , u32 rqn , u32 * in , int inlen )
52
+ int mlx5_core_modify_rq (struct mlx5_core_dev * dev , u32 rqn , u32 * in , int inlen )
53
53
{
54
54
u32 out [MLX5_ST_SZ_DW (modify_rq_out )];
55
55
@@ -60,7 +60,7 @@ int mlx5_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen)
60
60
return mlx5_cmd_exec_check_status (dev , in , inlen , out , sizeof (out ));
61
61
}
62
62
63
- void mlx5_destroy_rq (struct mlx5_core_dev * dev , u32 rqn )
63
+ void mlx5_core_destroy_rq (struct mlx5_core_dev * dev , u32 rqn )
64
64
{
65
65
u32 in [MLX5_ST_SZ_DW (destroy_rq_in )];
66
66
u32 out [MLX5_ST_SZ_DW (destroy_rq_out )];
@@ -73,7 +73,7 @@ void mlx5_destroy_rq(struct mlx5_core_dev *dev, u32 rqn)
73
73
mlx5_cmd_exec_check_status (dev , in , sizeof (in ), out , sizeof (out ));
74
74
}
75
75
76
- int mlx5_create_sq (struct mlx5_core_dev * dev , u32 * in , int inlen , u32 * sqn )
76
+ int mlx5_core_create_sq (struct mlx5_core_dev * dev , u32 * in , int inlen , u32 * sqn )
77
77
{
78
78
u32 out [MLX5_ST_SZ_DW (create_sq_out )];
79
79
int err ;
@@ -88,7 +88,7 @@ int mlx5_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn)
88
88
return err ;
89
89
}
90
90
91
- int mlx5_modify_sq (struct mlx5_core_dev * dev , u32 sqn , u32 * in , int inlen )
91
+ int mlx5_core_modify_sq (struct mlx5_core_dev * dev , u32 sqn , u32 * in , int inlen )
92
92
{
93
93
u32 out [MLX5_ST_SZ_DW (modify_sq_out )];
94
94
@@ -99,7 +99,7 @@ int mlx5_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen)
99
99
return mlx5_cmd_exec_check_status (dev , in , inlen , out , sizeof (out ));
100
100
}
101
101
102
- void mlx5_destroy_sq (struct mlx5_core_dev * dev , u32 sqn )
102
+ void mlx5_core_destroy_sq (struct mlx5_core_dev * dev , u32 sqn )
103
103
{
104
104
u32 in [MLX5_ST_SZ_DW (destroy_sq_in )];
105
105
u32 out [MLX5_ST_SZ_DW (destroy_sq_out )];
@@ -112,7 +112,8 @@ void mlx5_destroy_sq(struct mlx5_core_dev *dev, u32 sqn)
112
112
mlx5_cmd_exec_check_status (dev , in , sizeof (in ), out , sizeof (out ));
113
113
}
114
114
115
- int mlx5_create_tir (struct mlx5_core_dev * dev , u32 * in , int inlen , u32 * tirn )
115
+ int mlx5_core_create_tir (struct mlx5_core_dev * dev , u32 * in , int inlen ,
116
+ u32 * tirn )
116
117
{
117
118
u32 out [MLX5_ST_SZ_DW (create_tir_out )];
118
119
int err ;
@@ -127,7 +128,7 @@ int mlx5_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *tirn)
127
128
return err ;
128
129
}
129
130
130
- void mlx5_destroy_tir (struct mlx5_core_dev * dev , u32 tirn )
131
+ void mlx5_core_destroy_tir (struct mlx5_core_dev * dev , u32 tirn )
131
132
{
132
133
u32 in [MLX5_ST_SZ_DW (destroy_tir_out )];
133
134
u32 out [MLX5_ST_SZ_DW (destroy_tir_out )];
@@ -140,7 +141,8 @@ void mlx5_destroy_tir(struct mlx5_core_dev *dev, u32 tirn)
140
141
mlx5_cmd_exec_check_status (dev , in , sizeof (in ), out , sizeof (out ));
141
142
}
142
143
143
- int mlx5_create_tis (struct mlx5_core_dev * dev , u32 * in , int inlen , u32 * tisn )
144
+ int mlx5_core_create_tis (struct mlx5_core_dev * dev , u32 * in , int inlen ,
145
+ u32 * tisn )
144
146
{
145
147
u32 out [MLX5_ST_SZ_DW (create_tis_out )];
146
148
int err ;
@@ -155,7 +157,7 @@ int mlx5_create_tis(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *tisn)
155
157
return err ;
156
158
}
157
159
158
- void mlx5_destroy_tis (struct mlx5_core_dev * dev , u32 tisn )
160
+ void mlx5_core_destroy_tis (struct mlx5_core_dev * dev , u32 tisn )
159
161
{
160
162
u32 in [MLX5_ST_SZ_DW (destroy_tis_out )];
161
163
u32 out [MLX5_ST_SZ_DW (destroy_tis_out )];
0 commit comments