Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c444 u32 *leaves_id; member
473 rl->leaves_id = kvcalloc(num_tc, sizeof(*rl->leaves_id), GFP_KERNEL); in mlx5e_mqprio_rl_init()
474 if (!rl->leaves_id) in mlx5e_mqprio_rl_init()
488 &rl->leaves_id[tc]); in mlx5e_mqprio_rl_init()
493 tc, rl->leaves_id[tc], max_average_bw); in mlx5e_mqprio_rl_init()
499 mlx5_qos_destroy_node(mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_init()
502 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_init()
511 mlx5_qos_destroy_node(rl->mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_cleanup()
513 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_cleanup()
521 *hw_id = rl->leaves_id[tc]; in mlx5e_mqprio_rl_get_node_hw_id()