Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dqos.c457 u32 *leaves_id; member
486 rl->leaves_id = kvcalloc(num_tc, sizeof(*rl->leaves_id), GFP_KERNEL); in mlx5e_mqprio_rl_init()
487 if (!rl->leaves_id) in mlx5e_mqprio_rl_init()
501 &rl->leaves_id[tc]); in mlx5e_mqprio_rl_init()
506 tc, rl->leaves_id[tc], max_average_bw); in mlx5e_mqprio_rl_init()
512 mlx5_qos_destroy_node(mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_init()
515 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_init()
524 mlx5_qos_destroy_node(rl->mdev, rl->leaves_id[tc]); in mlx5e_mqprio_rl_cleanup()
526 kvfree(rl->leaves_id); in mlx5e_mqprio_rl_cleanup()
534 *hw_id = rl->leaves_id[tc]; in mlx5e_mqprio_rl_get_node_hw_id()