Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c103 struct mlxsw_sp_qdisc_state *qdisc_state = mlxsw_sp_port->qdisc; in mlxsw_sp_qdisc_find() local
107 return &qdisc_state->root_qdisc; in mlxsw_sp_qdisc_find()
109 if (root_only || !qdisc_state || in mlxsw_sp_qdisc_find()
110 !qdisc_state->root_qdisc.ops || in mlxsw_sp_qdisc_find()
111 TC_H_MAJ(parent) != qdisc_state->root_qdisc.handle || in mlxsw_sp_qdisc_find()
117 return &qdisc_state->tclass_qdiscs[tclass]; in mlxsw_sp_qdisc_find()
123 struct mlxsw_sp_qdisc_state *qdisc_state = mlxsw_sp_port->qdisc; in mlxsw_sp_qdisc_find_by_handle() local
126 if (qdisc_state->root_qdisc.handle == handle) in mlxsw_sp_qdisc_find_by_handle()
127 return &qdisc_state->root_qdisc; in mlxsw_sp_qdisc_find_by_handle()
129 if (qdisc_state->root_qdisc.handle == TC_H_UNSPEC) in mlxsw_sp_qdisc_find_by_handle()
[all …]