Searched refs:qdiscs (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_qdisc.c | 88 struct mlxsw_sp_qdisc *qdiscs; member 134 tmp = &qdisc->qdiscs[i]; in mlxsw_sp_qdisc_walk() 256 &mlxsw_sp_qdisc->qdiscs[i]); in mlxsw_sp_qdisc_destroy() 267 kfree(mlxsw_sp_qdisc->qdiscs); in mlxsw_sp_qdisc_destroy() 268 mlxsw_sp_qdisc->qdiscs = NULL; in mlxsw_sp_qdisc_destroy() 291 err = __mlxsw_sp_qdisc_tree_validate(&mlxsw_sp_qdisc->qdiscs[i], in mlxsw_sp_qdisc_tree_validate_children() 368 mlxsw_sp_qdisc->qdiscs = kcalloc(ops->num_classes, in mlxsw_sp_qdisc_create() 369 sizeof(*mlxsw_sp_qdisc->qdiscs), in mlxsw_sp_qdisc_create() 371 if (!mlxsw_sp_qdisc->qdiscs) in mlxsw_sp_qdisc_create() 375 mlxsw_sp_qdisc->qdiscs[i].parent = mlxsw_sp_qdisc; in mlxsw_sp_qdisc_create() [all …]
|
/drivers/net/ethernet/netronome/nfp/abm/ |
D | qdisc.c | 260 radix_tree_for_each_slot(slot, &alink->qdiscs, &iter, 0) { in nfp_abm_qdisc_offload_update() 269 radix_tree_for_each_slot(slot, &alink->qdiscs, &iter, 0) { in nfp_abm_qdisc_offload_update() 303 radix_tree_for_each_slot(slot, &alink->qdiscs, &iter, 0) { in nfp_abm_qdisc_clear_mq() 329 WARN_ON(radix_tree_delete(&alink->qdiscs, in nfp_abm_qdisc_free() 363 err = radix_tree_insert(&alink->qdiscs, TC_H_MAJ(qdisc->handle), qdisc); in nfp_abm_qdisc_alloc() 383 return radix_tree_lookup(&alink->qdiscs, TC_H_MAJ(handle)); in nfp_abm_qdisc_find()
|
D | main.h | 222 struct radix_tree_root qdiscs; member
|
D | main.c | 351 INIT_RADIX_TREE(&alink->qdiscs, GFP_KERNEL); in nfp_abm_vnic_alloc() 367 WARN(!radix_tree_empty(&alink->qdiscs), "left over qdiscs\n"); in nfp_abm_vnic_free()
|