/Linux-v6.6/net/core/ |
D | netprio_cgroup.c | 47 old = rtnl_dereference(dev->priomap); in extend_netdev_table() 58 new_len = (new_sz - offsetof(struct netprio_map, priomap)) / in extend_netdev_table() 59 sizeof(new->priomap[0]); in extend_netdev_table() 74 memcpy(new->priomap, old->priomap, in extend_netdev_table() 75 old->priomap_len * sizeof(old->priomap[0])); in extend_netdev_table() 80 rcu_assign_pointer(dev->priomap, new); in extend_netdev_table() 95 struct netprio_map *map = rcu_dereference_rtnl(dev->priomap); in netprio_prio() 99 return map->priomap[id]; in netprio_prio() 120 map = rtnl_dereference(dev->priomap); in netprio_set_prio() 128 map = rtnl_dereference(dev->priomap); in netprio_set_prio() [all …]
|
D | dev.c | 3884 map = rcu_dereference_bh(skb->dev->priomap); in skb_update_prio() 3894 skb->priority = map->priomap[prioidx]; in skb_update_prio()
|
/Linux-v6.6/tools/testing/selftests/net/forwarding/ |
D | sch_ets_core.sh | 108 local priomap=$1; shift 116 priomap $priomap 124 local priomap=$1; shift 137 for band in $priomap; do
|
D | sch_tbf_etsprio.sh | 32 tc qdisc add dev $swp2 root handle 10: $QDISC 3 priomap 2 1 0 46 $QDISC 3 priomap 2 1 0
|
D | sch_ets_tests.sh | 153 local priomap=$(seq 0 $((nstreams - 1))) 165 ets_change_qdisc $dev $nstrict "$priomap" ${quanta[@]}
|
D | skbedit_priority.sh | 68 prio bands 8 priomap 7 6 5 4 3 2 1 0
|
/Linux-v6.6/net/sched/ |
D | sch_ets.c | 126 memcpy(&qopt.replace_params.priomap, in ets_offload_change() 501 unsigned int nbands, u8 *priomap, in ets_qdisc_priomap_parse() argument 528 priomap[prio++] = band; in ets_qdisc_priomap_parse() 584 u8 priomap[TC_PRIO_MAX + 1]; in ets_qdisc_change() local 604 memset(priomap, nbands - 1, sizeof(priomap)); in ets_qdisc_change() 616 nbands, priomap, extack); in ets_qdisc_change() 662 memcpy(q->prio2band, priomap, sizeof(priomap)); in ets_qdisc_change()
|
D | sch_prio.c | 154 memcpy(&opt.replace_params.priomap, qopt->priomap, in prio_offload() 192 if (qopt->priomap[i] >= qopt->bands) in prio_tune() 211 memcpy(q->prio2band, qopt->priomap, TC_PRIO_MAX+1); in prio_tune() 270 memcpy(&opt.priomap, q->prio2band, TC_PRIO_MAX + 1); in prio_dump()
|
D | sch_generic.c | 833 memcpy(&opt.priomap, prio2band, TC_PRIO_MAX + 1); in pfifo_fast_dump()
|
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/ |
D | qos_pfc.sh | 172 ets bands 8 strict 8 priomap 7 6 188 ets bands 8 strict 8 priomap 7 6 205 ets bands 8 strict 8 priomap 7 6 227 ets bands 8 strict 8 priomap 7 6
|
D | qos_max_descriptors.sh | 126 ets bands 8 strict 8 priomap 7 6 142 ets bands 8 strict 8 priomap 7 6
|
D | sch_offload.sh | 58 ets bands 8 priomap 7 6 5 4 3 2 1 0 69 prio bands 8 priomap 7 6 5 4 3 2 1 0
|
D | sch_red_ets.sh | 29 bands 8 priomap 7 6 5 4 3 2 1 0
|
D | qos_mc_aware.sh | 135 prio bands 8 priomap 7 7 7 7 7 7 7 7
|
D | tc_sample.sh | 456 prio bands 3 priomap 0 0 0 0 0 0 0 0
|
/Linux-v6.6/include/net/ |
D | netprio_cgroup.h | 19 u32 priomap[]; member
|
D | pkt_cls.h | 948 u8 priomap[TC_PRIO_MAX + 1]; member 990 u8 priomap[TC_PRIO_MAX + 1]; member
|
/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_ets.c | 41 if (params->priomap[i] != (7 - i)) in lan966x_ets_add()
|
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_tc.c | 133 if (params->priomap[i] != (7 - i)) in sparx5_tc_setup_qdisc_ets()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_qdisc.c | 1325 const u8 *priomap) in __mlxsw_sp_qdisc_ets_replace() argument 1366 if (priomap[i] == band) { in __mlxsw_sp_qdisc_ets_replace() 1414 zeroes, p->priomap); in mlxsw_sp_qdisc_prio_replace() 1559 p->weights, p->priomap); in mlxsw_sp_qdisc_ets_replace()
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | pkt_sched.h | 149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
|
/Linux-v6.6/include/uapi/linux/ |
D | pkt_sched.h | 150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
|
/Linux-v6.6/drivers/net/dsa/microchip/ |
D | ksz_common.c | 3287 for (tc_prio = 0; tc_prio < ARRAY_SIZE(p->priomap); tc_prio++) { in ksz_tc_ets_add() 3293 queue = ksz_ets_band_to_queue(p, p->priomap[tc_prio]); in ksz_tc_ets_add()
|
/Linux-v6.6/include/linux/ |
D | netdevice.h | 2380 struct netprio_map __rcu *priomap; member
|