Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c81 return mlxsw_sp_port->root_qdisc; in mlxsw_sp_qdisc_find()
83 if (root_only || !mlxsw_sp_port->root_qdisc || in mlxsw_sp_qdisc_find()
84 !mlxsw_sp_port->root_qdisc->ops || in mlxsw_sp_qdisc_find()
85 TC_H_MAJ(parent) != mlxsw_sp_port->root_qdisc->handle || in mlxsw_sp_qdisc_find()
99 if (mlxsw_sp_port->root_qdisc->handle == handle) in mlxsw_sp_qdisc_find_by_handle()
100 return mlxsw_sp_port->root_qdisc; in mlxsw_sp_qdisc_find_by_handle()
102 if (mlxsw_sp_port->root_qdisc->handle == TC_H_UNSPEC) in mlxsw_sp_qdisc_find_by_handle()
284 struct mlxsw_sp_qdisc *root_qdisc = mlxsw_sp_port->root_qdisc; in mlxsw_sp_qdisc_red_destroy() local
286 if (root_qdisc != mlxsw_sp_qdisc) in mlxsw_sp_qdisc_red_destroy()
287 root_qdisc->stats_base.backlog -= in mlxsw_sp_qdisc_red_destroy()
[all …]
Dspectrum.h274 struct mlxsw_sp_qdisc *root_qdisc; member
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c86 if (alink->root_qdisc) in __nfp_abm_stats_update()
87 nfp_abm_stats_update_mq(alink, alink->root_qdisc); in __nfp_abm_stats_update()
265 if (alink->root_qdisc) in nfp_abm_qdisc_offload_update()
266 nfp_abm_offload_compile_mq(alink, alink->root_qdisc); in nfp_abm_qdisc_offload_update()
298 qdisc == alink->root_qdisc && in nfp_abm_qdisc_clear_mq()
414 if (alink->root_qdisc == qdisc) in nfp_abm_qdisc_destroy()
420 if (alink->root_qdisc == qdisc) { in nfp_abm_qdisc_destroy()
421 alink->root_qdisc = NULL; in nfp_abm_qdisc_destroy()
841 if (alink->root_qdisc) in nfp_abm_setup_root()
842 alink->root_qdisc->use_cnt--; in nfp_abm_setup_root()
[all …]
Dmain.h221 struct nfp_qdisc *root_qdisc; member