Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c438 u32 *leaves_id; member
467 rl->leaves_id = kvcalloc(num_tc, sizeof(*rl->leaves_id), GFP_KERNEL); in mlx5e_mqprio_rl_init()
468 if (!rl->leaves_id) in mlx5e_mqprio_rl_init()
482 &rl->leaves_id[tc]); in mlx5e_mqprio_rl_init()
487 tc, rl->leaves_id[tc], max_average_bw); in mlx5e_mqprio_rl_init()
493 mlx5_qos_destroy_node(mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_init()
496 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_init()
505 mlx5_qos_destroy_node(rl->mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_cleanup()
507 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_cleanup()
515 *hw_id = rl->leaves_id[tc]; in mlx5e_mqprio_rl_get_node_hw_id()