Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A 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()
80 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in hws_bwc_matcher_move_all_simple() local
91 for (i = 0; i < bwc_queues; i++) { in hws_bwc_matcher_move_all_simple()
235 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in mlx5hws_bwc_matcher_create_simple() local
239 bwc_matcher->rules = kcalloc(bwc_queues, sizeof(*bwc_matcher->rules), GFP_KERNEL); in mlx5hws_bwc_matcher_create_simple()
243 for (i = 0; i < bwc_queues; i++) in mlx5hws_bwc_matcher_create_simple()
H A Dsend.c1071 int bwc_queues = mlx5hws_bwc_queues(ctx); in hws_send_queues_bwc_locks_destroy() local
1077 for (i = 0; i < bwc_queues; i++) { in hws_send_queues_bwc_locks_destroy()
1096 int bwc_queues = ctx->queues - 1; in hws_bwc_send_queues_init() local
1102 ctx->queues += bwc_queues; in hws_bwc_send_queues_init()
1104 ctx->bwc_send_queue_locks = kcalloc(bwc_queues, in hws_bwc_send_queues_init()
1111 ctx->bwc_lock_class_keys = kcalloc(bwc_queues, in hws_bwc_send_queues_init()
1117 for (i = 0; i < bwc_queues; i++) { in hws_bwc_send_queues_init()
H A Dbwc_complex.c1331 u16 bwc_queues = mlx5hws_bwc_queues(ctx); in mlx5hws_bwc_matcher_move_all_complex() local
1361 for (i = 0; i < bwc_queues; i++) { in mlx5hws_bwc_matcher_move_all_complex()