| /linux-6.15/net/core/ |
| H A D | netprio_cgroup.c | 47 old = rtnl_dereference(dev->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() 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() 129 map->priomap[id] = prio; in netprio_set_prio() 277 old = rtnl_dereference(dev->priomap); in netprio_device_event() [all …]
|
| /linux-6.15/tools/testing/selftests/net/forwarding/ |
| H A D | sch_ets_core.sh | 108 local priomap=$1; shift 116 priomap $priomap 124 local priomap=$1; shift 137 for band in $priomap; do
|
| H A D | sch_tbf_etsprio.sh | 32 tc qdisc add dev $swp2 root handle 10: $QDISC 3 priomap 2 1 0 49 $QDISC 3 priomap 2 1 0
|
| H A D | sch_ets_tests.sh | 153 local priomap=$(seq 0 $((nstreams - 1))) 165 ets_change_qdisc $dev $nstrict "$priomap" ${quanta[@]}
|
| H A D | skbedit_priority.sh | 68 prio bands 8 priomap 7 6 5 4 3 2 1 0
|
| /linux-6.15/net/sched/ |
| H A D | sch_ets.c | 133 memcpy(&qopt.replace_params.priomap, in ets_offload_change() 506 unsigned int nbands, u8 *priomap, in ets_qdisc_priomap_parse() argument 533 priomap[prio++] = band; in ets_qdisc_priomap_parse() 589 u8 priomap[TC_PRIO_MAX + 1]; in ets_qdisc_change() local 609 memset(priomap, nbands - 1, sizeof(priomap)); in ets_qdisc_change() 621 nbands, priomap, extack); in ets_qdisc_change() 667 memcpy(q->prio2band, priomap, sizeof(priomap)); in ets_qdisc_change()
|
| H A 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()
|
| H A D | sch_fq.c | 1003 if (map->priomap[i] >= FQ_BANDS) { in fq_load_priomap() 1005 i, map->priomap[i]); in fq_load_priomap() 1009 fq_prio2band_compress_crumb(map->priomap, q->prio2band); in fq_load_priomap() 1265 fq_prio2band_decompress_crumb(q->prio2band, prio.priomap); in fq_dump()
|
| H A D | sch_generic.c | 842 memcpy(&opt.priomap, sch_default_prio2band, TC_PRIO_MAX + 1); in pfifo_fast_dump()
|
| /linux-6.15/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | qos_pfc.sh | 174 ets bands 8 strict 8 priomap 7 6 190 ets bands 8 strict 8 priomap 7 6 207 ets bands 8 strict 8 priomap 7 6 229 ets bands 8 strict 8 priomap 7 6
|
| H A 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
|
| H A D | qos_max_descriptors.sh | 123 ets bands 8 strict 8 priomap 7 6 152 ets bands 8 strict 8 priomap 7 6
|
| H A D | sch_red_ets.sh | 29 bands 8 priomap 7 6 5 4 3 2 1 0
|
| H A D | qos_mc_aware.sh | 138 prio bands 8 priomap 7 7 7 7 7 7 7 7
|
| H A D | tc_sample.sh | 456 prio bands 3 priomap 0 0 0 0 0 0 0 0
|
| /linux-6.15/include/net/ |
| H A D | netprio_cgroup.h | 19 u32 priomap[]; member
|
| H A D | pkt_cls.h | 969 u8 priomap[TC_PRIO_MAX + 1]; member 1011 u8 priomap[TC_PRIO_MAX + 1]; member
|
| /linux-6.15/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ets.c | 41 if (params->priomap[i] != (7 - i)) in lan966x_ets_add()
|
| /linux-6.15/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_tc.c | 133 if (params->priomap[i] != (7 - i)) in sparx5_tc_setup_qdisc_ets()
|
| /linux-6.15/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 161 struct netprio_map* priomap
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A 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-6.15/tools/include/uapi/linux/ |
| H A D | pkt_sched.h | 149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
|
| /linux-6.15/include/uapi/linux/ |
| H A D | pkt_sched.h | 150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | tc.yaml | 462 name: priomap 3075 name: priomap 3079 name: priomap-band 3145 name: priomap 3418 name: priomap
|
| /linux-6.15/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 2046 if (p->priomap[p->bands - i - 1] != i) in airoha_qdma_set_tx_ets_sched() 2051 if (p->priomap[i] != nstrict + i) in airoha_qdma_set_tx_ets_sched()
|