Home
last modified time | relevance | path

Searched refs:bwc_send_queue_locks (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_context.h48 struct mutex *bwc_send_queue_locks; /* protect BWC queues */ member
H A Dmlx5hws_send.c951 mutex_destroy(&ctx->bwc_send_queue_locks[i]); in hws_send_queues_bwc_locks_destroy()
956 kfree(ctx->bwc_send_queue_locks); in hws_send_queues_bwc_locks_destroy()
977 ctx->bwc_send_queue_locks = kcalloc(bwc_queues, in hws_bwc_send_queues_init()
978 sizeof(*ctx->bwc_send_queue_locks), in hws_bwc_send_queues_init()
981 if (!ctx->bwc_send_queue_locks) in hws_bwc_send_queues_init()
991 mutex_init(&ctx->bwc_send_queue_locks[i]); in hws_bwc_send_queues_init()
998 kfree(ctx->bwc_send_queue_locks); in hws_bwc_send_queues_init()
H A Dmlx5hws_bwc.c22 return &ctx->bwc_send_queue_locks[idx]; in hws_bwc_get_queue_lock()