Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c16 static bool nfp_abm_qdisc_is_red(struct nfp_qdisc *qdisc) in nfp_abm_qdisc_is_red() argument
18 return qdisc->type == NFP_QDISC_RED || qdisc->type == NFP_QDISC_GRED; in nfp_abm_qdisc_is_red()
21 static bool nfp_abm_qdisc_child_valid(struct nfp_qdisc *qdisc, unsigned int id) in nfp_abm_qdisc_child_valid() argument
23 return qdisc->children[id] && in nfp_abm_qdisc_child_valid()
24 qdisc->children[id] != NFP_QDISC_UNTRACKED; in nfp_abm_qdisc_child_valid()
45 nfp_abm_stats_update_red(struct nfp_abm_link *alink, struct nfp_qdisc *qdisc, in nfp_abm_stats_update_red() argument
52 if (!qdisc->offloaded) in nfp_abm_stats_update_red()
55 for (i = 0; i < qdisc->red.num_bands; i++) { in nfp_abm_stats_update_red()
57 &qdisc->red.band[i].stats); in nfp_abm_stats_update_red()
63 &qdisc->red.band[i].xstats); in nfp_abm_stats_update_red()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c102 mlxsw_sp_qdisc_walk(struct mlxsw_sp_qdisc *qdisc, in mlxsw_sp_qdisc_walk() argument
111 tmp = pre(qdisc, data); in mlxsw_sp_qdisc_walk()
116 if (qdisc->ops) { in mlxsw_sp_qdisc_walk()
117 for (i = 0; i < qdisc->num_classes; i++) { in mlxsw_sp_qdisc_walk()
118 tmp = &qdisc->qdiscs[i]; in mlxsw_sp_qdisc_walk()
119 if (qdisc->ops) { in mlxsw_sp_qdisc_walk()
131 mlxsw_sp_qdisc_walk_cb_find(struct mlxsw_sp_qdisc *qdisc, void *data) in mlxsw_sp_qdisc_walk_cb_find() argument
135 if (qdisc->ops && TC_H_MAJ(qdisc->handle) == TC_H_MAJ(parent)) { in mlxsw_sp_qdisc_walk_cb_find()
136 if (qdisc->ops->find_class) in mlxsw_sp_qdisc_walk_cb_find()
137 return qdisc->ops->find_class(qdisc, parent); in mlxsw_sp_qdisc_walk_cb_find()
[all …]
Dspectrum.h337 struct mlxsw_sp_qdisc_state *qdisc; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dqos.c727 struct Qdisc *qdisc = dev_queue->qdisc_sleeping; in mlx5e_reset_qdisc() local
729 if (!qdisc) in mlx5e_reset_qdisc()
732 spin_lock_bh(qdisc_lock(qdisc)); in mlx5e_reset_qdisc()
733 qdisc_reset(qdisc); in mlx5e_reset_qdisc()
734 spin_unlock_bh(qdisc_lock(qdisc)); in mlx5e_reset_qdisc()
/drivers/net/ethernet/netronome/nfp/
DMakefile71 abm/qdisc.o \
/drivers/net/dsa/sja1105/
DKconfig42 hardware offload of the tc-tqprio qdisc.
/drivers/net/
Dvrf.c390 struct Qdisc *qdisc; in qdisc_tx_is_default() local
396 qdisc = rcu_access_pointer(txq->qdisc); in qdisc_tx_is_default()
398 return !qdisc->enqueue; in qdisc_tx_is_default()