mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 14:34:13 -04:00
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 <kliteyn@nvidia.com> Reviewed-by: Itamar Gozlan <igozlan@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20241219175841.1094544-7-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
586face881
commit
9a0155a709
@@ -896,15 +896,15 @@ static int mlx5hws_send_ring_open(struct mlx5hws_context *ctx,
|
||||
return err;
|
||||
}
|
||||
|
||||
void mlx5hws_send_queue_close(struct mlx5hws_send_engine *queue)
|
||||
static void mlx5hws_send_queue_close(struct mlx5hws_send_engine *queue)
|
||||
{
|
||||
hws_send_ring_close(queue);
|
||||
kfree(queue->completed.entries);
|
||||
}
|
||||
|
||||
int mlx5hws_send_queue_open(struct mlx5hws_context *ctx,
|
||||
struct mlx5hws_send_engine *queue,
|
||||
u16 queue_size)
|
||||
static int mlx5hws_send_queue_open(struct mlx5hws_context *ctx,
|
||||
struct mlx5hws_send_engine *queue,
|
||||
u16 queue_size)
|
||||
{
|
||||
int err;
|
||||
|
||||
|
||||
@@ -189,12 +189,6 @@ void mlx5hws_send_abort_new_dep_wqe(struct mlx5hws_send_engine *queue);
|
||||
|
||||
void mlx5hws_send_all_dep_wqe(struct mlx5hws_send_engine *queue);
|
||||
|
||||
void mlx5hws_send_queue_close(struct mlx5hws_send_engine *queue);
|
||||
|
||||
int mlx5hws_send_queue_open(struct mlx5hws_context *ctx,
|
||||
struct mlx5hws_send_engine *queue,
|
||||
u16 queue_size);
|
||||
|
||||
void mlx5hws_send_queues_close(struct mlx5hws_context *ctx);
|
||||
|
||||
int mlx5hws_send_queues_open(struct mlx5hws_context *ctx,
|
||||
|
||||
Reference in New Issue
Block a user