Skip to content

Commit 9a0155a

Browse files
kliteynkuba-moo
authored andcommitted
net/mlx5: HWS, no need to expose mlx5hws_send_queues_open/close
No need to have mlx5hws_send_queues_open/close in header. Make them static and remove from header. Signed-off-by: Yevgeny Kliteynik <[email protected]> Reviewed-by: Itamar Gozlan <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 586face commit 9a0155a

File tree

2 files changed

+4
-10
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core/steering/hws

2 files changed

+4
-10
lines changed

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -896,15 +896,15 @@ static int mlx5hws_send_ring_open(struct mlx5hws_context *ctx,
896896
return err;
897897
}
898898

899-
void mlx5hws_send_queue_close(struct mlx5hws_send_engine *queue)
899+
static void mlx5hws_send_queue_close(struct mlx5hws_send_engine *queue)
900900
{
901901
hws_send_ring_close(queue);
902902
kfree(queue->completed.entries);
903903
}
904904

905-
int mlx5hws_send_queue_open(struct mlx5hws_context *ctx,
906-
struct mlx5hws_send_engine *queue,
907-
u16 queue_size)
905+
static int mlx5hws_send_queue_open(struct mlx5hws_context *ctx,
906+
struct mlx5hws_send_engine *queue,
907+
u16 queue_size)
908908
{
909909
int err;
910910

drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,6 @@ void mlx5hws_send_abort_new_dep_wqe(struct mlx5hws_send_engine *queue);
189189

190190
void mlx5hws_send_all_dep_wqe(struct mlx5hws_send_engine *queue);
191191

192-
void mlx5hws_send_queue_close(struct mlx5hws_send_engine *queue);
193-
194-
int mlx5hws_send_queue_open(struct mlx5hws_context *ctx,
195-
struct mlx5hws_send_engine *queue,
196-
u16 queue_size);
197-
198192
void mlx5hws_send_queues_close(struct mlx5hws_context *ctx);
199193

200194
int mlx5hws_send_queues_open(struct mlx5hws_context *ctx,

0 commit comments

Comments
 (0)