Lines Matching refs:child_qdisc
508 struct mlxsw_sp_qdisc *child_qdisc; in mlxsw_sp_qdisc_prio_replace() local
515 child_qdisc = &mlxsw_sp_port->tclass_qdiscs[tclass]; in mlxsw_sp_qdisc_prio_replace()
516 old_priomap = child_qdisc->prio_bitmap; in mlxsw_sp_qdisc_prio_replace()
517 child_qdisc->prio_bitmap = 0; in mlxsw_sp_qdisc_prio_replace()
520 child_qdisc->prio_bitmap |= BIT(i); in mlxsw_sp_qdisc_prio_replace()
529 if (old_priomap != child_qdisc->prio_bitmap && in mlxsw_sp_qdisc_prio_replace()
530 child_qdisc->ops && child_qdisc->ops->clean_stats) { in mlxsw_sp_qdisc_prio_replace()
531 backlog = child_qdisc->stats_base.backlog; in mlxsw_sp_qdisc_prio_replace()
532 child_qdisc->ops->clean_stats(mlxsw_sp_port, in mlxsw_sp_qdisc_prio_replace()
533 child_qdisc); in mlxsw_sp_qdisc_prio_replace()
534 child_qdisc->stats_base.backlog = backlog; in mlxsw_sp_qdisc_prio_replace()
539 child_qdisc = &mlxsw_sp_port->tclass_qdiscs[tclass]; in mlxsw_sp_qdisc_prio_replace()
540 child_qdisc->prio_bitmap = 0; in mlxsw_sp_qdisc_prio_replace()
541 mlxsw_sp_qdisc_destroy(mlxsw_sp_port, child_qdisc); in mlxsw_sp_qdisc_prio_replace()