Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_bwc.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()
562 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in hws_bwc_matcher_move_all_simple() local
572 pending_rules = kcalloc(bwc_queues, sizeof(*pending_rules), GFP_KERNEL); in hws_bwc_matcher_move_all_simple()
576 bwc_rules = kcalloc(bwc_queues, sizeof(*bwc_rules), GFP_KERNEL); in hws_bwc_matcher_move_all_simple()
[all …]
Dmlx5hws_send.c944 int bwc_queues = mlx5hws_bwc_queues(ctx); in hws_send_queues_bwc_locks_destroy() local
950 for (i = 0; i < bwc_queues; i++) { in hws_send_queues_bwc_locks_destroy()
969 int bwc_queues = ctx->queues - 1; in hws_bwc_send_queues_init() local
975 ctx->queues += bwc_queues; in hws_bwc_send_queues_init()
977 ctx->bwc_send_queue_locks = kcalloc(bwc_queues, in hws_bwc_send_queues_init()
984 ctx->bwc_lock_class_keys = kcalloc(bwc_queues, in hws_bwc_send_queues_init()
990 for (i = 0; i < bwc_queues; i++) { in hws_bwc_send_queues_init()