Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhtb.c449 u16 qid, moved_qid; in mlx5e_htb_leaf_del() local
477 moved_qid = mlx5e_htb_cur_leaf_nodes(htb); in mlx5e_htb_leaf_del()
479 if (moved_qid == 0) { in mlx5e_htb_leaf_del()
485 moved_qid--; in mlx5e_htb_leaf_del()
487 if (moved_qid < qid) { in mlx5e_htb_leaf_del()
489 …WARN(moved_qid != qid - 1, "Gaps in queue numeration: destroyed queue %u, the highest queue is %u", in mlx5e_htb_leaf_del()
490 qid, moved_qid); in mlx5e_htb_leaf_del()
496 WARN(moved_qid == qid, "Can't move node with qid %u to itself", qid); in mlx5e_htb_leaf_del()
497 qos_dbg(htb->mdev, "Moving QoS SQ %u to %u\n", moved_qid, qid); in mlx5e_htb_leaf_del()
499 node = mlx5e_htb_node_find_by_qid(htb, moved_qid); in mlx5e_htb_leaf_del()
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dqos.c1532 u16 qid, moved_qid; in otx2_qos_leaf_del() local
1569 moved_qid = otx2_qos_cur_leaf_nodes(pfvf); in otx2_qos_leaf_del()
1572 if (moved_qid == 0 || moved_qid == qid) in otx2_qos_leaf_del()
1575 moved_qid--; in otx2_qos_leaf_del()
1577 node = otx2_sw_node_find_by_qid(pfvf, moved_qid); in otx2_qos_leaf_del()
1585 __clear_bit(moved_qid, pfvf->qos.qos_sq_bmap); in otx2_qos_leaf_del()
1586 otx2_qos_disable_sq(pfvf, moved_qid); in otx2_qos_leaf_del()
1588 otx2_reset_qdisc(pfvf->netdev, pfvf->hw.tx_queues + moved_qid); in otx2_qos_leaf_del()