mlxsw_sp_qdisc    274 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 	struct mlxsw_sp_qdisc *root_qdisc;
mlxsw_sp_qdisc    275 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 	struct mlxsw_sp_qdisc *tclass_qdiscs;
mlxsw_sp_qdisc     26 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			    struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc     29 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		       struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params);
mlxsw_sp_qdisc     31 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		       struct mlxsw_sp_qdisc *mlxsw_sp_qdisc);
mlxsw_sp_qdisc     33 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			 struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc     36 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			  struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc     39 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			    struct mlxsw_sp_qdisc *mlxsw_sp_qdisc);
mlxsw_sp_qdisc     44 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			  struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, void *params);
mlxsw_sp_qdisc     66 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_qdisc_compare(struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u32 handle,
mlxsw_sp_qdisc     69 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	return mlxsw_sp_qdisc && mlxsw_sp_qdisc->ops &&
mlxsw_sp_qdisc     70 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	       mlxsw_sp_qdisc->ops->type == type &&
mlxsw_sp_qdisc     71 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	       mlxsw_sp_qdisc->handle == handle;
mlxsw_sp_qdisc     74 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c static struct mlxsw_sp_qdisc *
mlxsw_sp_qdisc     94 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c static struct mlxsw_sp_qdisc *
mlxsw_sp_qdisc    114 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		       struct mlxsw_sp_qdisc *mlxsw_sp_qdisc)
mlxsw_sp_qdisc    118 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (!mlxsw_sp_qdisc)
mlxsw_sp_qdisc    121 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (mlxsw_sp_qdisc->ops && mlxsw_sp_qdisc->ops->destroy)
mlxsw_sp_qdisc    122 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		err = mlxsw_sp_qdisc->ops->destroy(mlxsw_sp_port,
mlxsw_sp_qdisc    123 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 						   mlxsw_sp_qdisc);
mlxsw_sp_qdisc    125 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc->handle = TC_H_UNSPEC;
mlxsw_sp_qdisc    126 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc->ops = NULL;
mlxsw_sp_qdisc    132 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		       struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    137 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (mlxsw_sp_qdisc->ops && mlxsw_sp_qdisc->ops->type != ops->type)
mlxsw_sp_qdisc    143 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		mlxsw_sp_qdisc_destroy(mlxsw_sp_port, mlxsw_sp_qdisc);
mlxsw_sp_qdisc    144 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	err = ops->check_params(mlxsw_sp_port, mlxsw_sp_qdisc, params);
mlxsw_sp_qdisc    148 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	err = ops->replace(mlxsw_sp_port, mlxsw_sp_qdisc, params);
mlxsw_sp_qdisc    152 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (mlxsw_sp_qdisc->handle != handle) {
mlxsw_sp_qdisc    153 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		mlxsw_sp_qdisc->ops = ops;
mlxsw_sp_qdisc    155 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			ops->clean_stats(mlxsw_sp_port, mlxsw_sp_qdisc);
mlxsw_sp_qdisc    158 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc->handle = handle;
mlxsw_sp_qdisc    163 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (mlxsw_sp_qdisc->handle == handle && ops->unoffload)
mlxsw_sp_qdisc    164 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		ops->unoffload(mlxsw_sp_port, mlxsw_sp_qdisc, params);
mlxsw_sp_qdisc    166 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc_destroy(mlxsw_sp_port, mlxsw_sp_qdisc);
mlxsw_sp_qdisc    172 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			 struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    175 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (mlxsw_sp_qdisc && mlxsw_sp_qdisc->ops &&
mlxsw_sp_qdisc    176 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	    mlxsw_sp_qdisc->ops->get_stats)
mlxsw_sp_qdisc    177 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc->ops->get_stats(mlxsw_sp_port,
mlxsw_sp_qdisc    178 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 						      mlxsw_sp_qdisc,
mlxsw_sp_qdisc    186 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			  struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    189 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (mlxsw_sp_qdisc && mlxsw_sp_qdisc->ops &&
mlxsw_sp_qdisc    190 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	    mlxsw_sp_qdisc->ops->get_xstats)
mlxsw_sp_qdisc    191 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc->ops->get_xstats(mlxsw_sp_port,
mlxsw_sp_qdisc    192 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 						      mlxsw_sp_qdisc,
mlxsw_sp_qdisc    269 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 					struct mlxsw_sp_qdisc *mlxsw_sp_qdisc)
mlxsw_sp_qdisc    271 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	u8 tclass_num = mlxsw_sp_qdisc->tclass_num;
mlxsw_sp_qdisc    277 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	stats_base = &mlxsw_sp_qdisc->stats_base;
mlxsw_sp_qdisc    278 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	red_base = &mlxsw_sp_qdisc->xstats_base.red;
mlxsw_sp_qdisc    281 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 					       mlxsw_sp_qdisc->prio_bitmap,
mlxsw_sp_qdisc    296 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			   struct mlxsw_sp_qdisc *mlxsw_sp_qdisc)
mlxsw_sp_qdisc    298 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	struct mlxsw_sp_qdisc *root_qdisc = mlxsw_sp_port->root_qdisc;
mlxsw_sp_qdisc    300 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (root_qdisc != mlxsw_sp_qdisc)
mlxsw_sp_qdisc    302 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 					mlxsw_sp_qdisc->stats_base.backlog;
mlxsw_sp_qdisc    305 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 						  mlxsw_sp_qdisc->tclass_num);
mlxsw_sp_qdisc    310 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 				struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    337 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			   struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    342 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	u8 tclass_num = mlxsw_sp_qdisc->tclass_num;
mlxsw_sp_qdisc    359 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			     struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    366 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 				       mlxsw_sp_qdisc->stats_base.backlog);
mlxsw_sp_qdisc    368 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc->stats_base.backlog = 0;
mlxsw_sp_qdisc    373 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			      struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    376 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	struct red_stats *xstats_base = &mlxsw_sp_qdisc->xstats_base.red;
mlxsw_sp_qdisc    377 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	u8 tclass_num = mlxsw_sp_qdisc->tclass_num;
mlxsw_sp_qdisc    401 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			     struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    405 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	u8 tclass_num = mlxsw_sp_qdisc->tclass_num;
mlxsw_sp_qdisc    410 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	stats_base = &mlxsw_sp_qdisc->stats_base;
mlxsw_sp_qdisc    413 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 					       mlxsw_sp_qdisc->prio_bitmap,
mlxsw_sp_qdisc    458 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	struct mlxsw_sp_qdisc *mlxsw_sp_qdisc;
mlxsw_sp_qdisc    460 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc = mlxsw_sp_qdisc_find(mlxsw_sp_port, p->parent, false);
mlxsw_sp_qdisc    461 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (!mlxsw_sp_qdisc)
mlxsw_sp_qdisc    466 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 					      mlxsw_sp_qdisc,
mlxsw_sp_qdisc    470 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (!mlxsw_sp_qdisc_compare(mlxsw_sp_qdisc, p->handle,
mlxsw_sp_qdisc    476 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc_destroy(mlxsw_sp_port, mlxsw_sp_qdisc);
mlxsw_sp_qdisc    478 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc_get_xstats(mlxsw_sp_port, mlxsw_sp_qdisc,
mlxsw_sp_qdisc    481 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc_get_stats(mlxsw_sp_port, mlxsw_sp_qdisc,
mlxsw_sp_qdisc    490 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			    struct mlxsw_sp_qdisc *mlxsw_sp_qdisc)
mlxsw_sp_qdisc    507 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 				 struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    520 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			    struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    524 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	struct mlxsw_sp_qdisc *child_qdisc;
mlxsw_sp_qdisc    564 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			      struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    571 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 				       mlxsw_sp_qdisc->stats_base.backlog);
mlxsw_sp_qdisc    577 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			      struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    588 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	stats_base = &mlxsw_sp_qdisc->stats_base;
mlxsw_sp_qdisc    616 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 					 struct mlxsw_sp_qdisc *mlxsw_sp_qdisc)
mlxsw_sp_qdisc    625 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	stats_base = &mlxsw_sp_qdisc->stats_base;
mlxsw_sp_qdisc    636 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc->stats_base.backlog = 0;
mlxsw_sp_qdisc    656 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 			  struct mlxsw_sp_qdisc *mlxsw_sp_qdisc,
mlxsw_sp_qdisc    660 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	struct mlxsw_sp_qdisc *old_qdisc;
mlxsw_sp_qdisc    692 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	struct mlxsw_sp_qdisc *mlxsw_sp_qdisc;
mlxsw_sp_qdisc    694 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc = mlxsw_sp_qdisc_find(mlxsw_sp_port, p->parent, true);
mlxsw_sp_qdisc    695 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (!mlxsw_sp_qdisc)
mlxsw_sp_qdisc    700 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 					      mlxsw_sp_qdisc,
mlxsw_sp_qdisc    704 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (!mlxsw_sp_qdisc_compare(mlxsw_sp_qdisc, p->handle,
mlxsw_sp_qdisc    710 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc_destroy(mlxsw_sp_port, mlxsw_sp_qdisc);
mlxsw_sp_qdisc    712 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc_get_stats(mlxsw_sp_port, mlxsw_sp_qdisc,
mlxsw_sp_qdisc    715 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 		return mlxsw_sp_qdisc_prio_graft(mlxsw_sp_port, mlxsw_sp_qdisc,
mlxsw_sp_qdisc    724 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	struct mlxsw_sp_qdisc *mlxsw_sp_qdisc;
mlxsw_sp_qdisc    727 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc = kzalloc(sizeof(*mlxsw_sp_qdisc), GFP_KERNEL);
mlxsw_sp_qdisc    728 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (!mlxsw_sp_qdisc)
mlxsw_sp_qdisc    731 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_port->root_qdisc = mlxsw_sp_qdisc;
mlxsw_sp_qdisc    735 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_qdisc = kcalloc(IEEE_8021QAZ_MAX_TCS,
mlxsw_sp_qdisc    736 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 				 sizeof(*mlxsw_sp_qdisc),
mlxsw_sp_qdisc    738 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	if (!mlxsw_sp_qdisc)
mlxsw_sp_qdisc    741 drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c 	mlxsw_sp_port->tclass_qdiscs = mlxsw_sp_qdisc;