Searched refs:qdisc (Results 1 – 7 of 7) sorted by relevance
16 static bool nfp_abm_qdisc_is_red(struct nfp_qdisc *qdisc) in nfp_abm_qdisc_is_red() argument18 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() argument23 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() argument52 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 …]
102 mlxsw_sp_qdisc_walk(struct mlxsw_sp_qdisc *qdisc, in mlxsw_sp_qdisc_walk() argument111 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() argument135 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 …]
337 struct mlxsw_sp_qdisc_state *qdisc; member
727 struct Qdisc *qdisc = dev_queue->qdisc_sleeping; in mlx5e_reset_qdisc() local729 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()
71 abm/qdisc.o \
42 hardware offload of the tc-tqprio qdisc.
390 struct Qdisc *qdisc; in qdisc_tx_is_default() local396 qdisc = rcu_access_pointer(txq->qdisc); in qdisc_tx_is_default()398 return !qdisc->enqueue; in qdisc_tx_is_default()