Home
last modified time | relevance | path

Searched refs:bwc_queues (Results 1 – 2 of 2) sorted by relevance

/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dbwc.c27 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in hws_bwc_lock_all_queues() local
31 for (i = 0; i < bwc_queues; i++) { in hws_bwc_lock_all_queues()
39 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in hws_bwc_unlock_all_queues() local
41 int i = bwc_queues; in hws_bwc_unlock_all_queues()
75 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in mlx5hws_bwc_matcher_create_simple() local
79 bwc_matcher->rules = kcalloc(bwc_queues, sizeof(*bwc_matcher->rules), GFP_KERNEL); in mlx5hws_bwc_matcher_create_simple()
83 for (i = 0; i < bwc_queues; i++) in mlx5hws_bwc_matcher_create_simple()
586 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in hws_bwc_matcher_move_all_simple() local
596 pending_rules = kcalloc(bwc_queues, sizeof(*pending_rules), GFP_KERNEL); in hws_bwc_matcher_move_all_simple()
600 bwc_rules = kcalloc(bwc_queues, sizeof(*bwc_rules), GFP_KERNEL); in hws_bwc_matcher_move_all_simple()
[all …]
Dsend.c956 int bwc_queues = mlx5hws_bwc_queues(ctx); in hws_send_queues_bwc_locks_destroy() local
962 for (i = 0; i < bwc_queues; i++) { in hws_send_queues_bwc_locks_destroy()
981 int bwc_queues = ctx->queues - 1; in hws_bwc_send_queues_init() local
987 ctx->queues += bwc_queues; in hws_bwc_send_queues_init()
989 ctx->bwc_send_queue_locks = kcalloc(bwc_queues, in hws_bwc_send_queues_init()
996 ctx->bwc_lock_class_keys = kcalloc(bwc_queues, in hws_bwc_send_queues_init()
1002 for (i = 0; i < bwc_queues; i++) { in hws_bwc_send_queues_init()