Home
last modified time | relevance | path

Searched refs:priomap (Results 1 – 25 of 27) sorted by relevance

12

/linux/net/core/
H A Dnetprio_cgroup.c29 * netprio allocates per-net_device priomap array which is indexed by
37 * Extend @dev->priomap so that it's large enough to accommodate
38 * @target_idx. @dev->priomap.priomap_len > @target_idx after successful
46 /* is the existing priomap large enough? */ in extend_netdev_table()
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[ in extend_netdev_table()
[all...]
/linux/tools/testing/selftests/net/forwarding/
H A Dsch_ets_core.sh50 # | | priomap 0 1 2 |
92 echo "Running in priomap mode"
108 local priomap=$1; shift
116 priomap $priomap
124 local priomap=$1; shift
137 for band in $priomap; do
H A Dsch_tbf_etsprio.sh32 tc qdisc add dev $swp2 root handle 10: $QDISC 3 priomap 2 1 0
49 $QDISC 3 priomap 2 1 0
H A Dsch_ets_tests.sh153 local priomap=$(seq 0 $((nstreams - 1)))
165 ets_change_qdisc $dev $nstrict "$priomap" ${quanta[@]}
H A Dskbedit_priority.sh68 prio bands 8 priomap 7 6 5 4 3 2 1 0
/linux/net/sched/
H A Dsch_ets.c133 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()
668 memcpy(q->prio2band, priomap, sizeof(priomap)); in ets_qdisc_change()
H A Dsch_prio.c154 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 Dsch_generic.c845 memcpy(&opt.priomap, sch_default_prio2band, TC_PRIO_MAX + 1); in pfifo_fast_dump()
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_pfc.sh174 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 Dsch_offload.sh58 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 Dqos_max_descriptors.sh123 ets bands 8 strict 8 priomap 7 6
152 ets bands 8 strict 8 priomap 7 6
H A Dsch_red_ets.sh29 bands 8 priomap 7 6 5 4 3 2 1 0
H A Dqos_mc_aware.sh138 prio bands 8 priomap 7 7 7 7 7 7 7 7
H A Dtc_sample.sh456 prio bands 3 priomap 0 0 0 0 0 0 0 0
/linux/include/net/
H A Dnetprio_cgroup.h19 u32 priomap[]; member
H A Dpkt_cls.h969 u8 priomap[TC_PRIO_MAX + 1]; member
1011 u8 priomap[TC_PRIO_MAX + 1]; member
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ets.c41 if (params->priomap[i] != (7 - i)) in lan966x_ets_add()
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc.c133 if (params->priomap[i] != (7 - i)) in sparx5_tc_setup_qdisc_ets()
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst163 struct netprio_map* priomap
/linux/tools/testing/selftests/net/
H A Dlib.sh306 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c1325 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/tools/include/uapi/linux/
H A Dpkt_sched.h149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
/linux/include/uapi/linux/
H A Dpkt_sched.h150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member
/linux/drivers/net/ethernet/airoha/
H A Dairoha_eth.c2139 if (p->priomap[p->bands - i - 1] != i) in airoha_qdma_set_tx_ets_sched()
2144 if (p->priomap[i] != nstrict + i) in airoha_qdma_set_tx_ets_sched()
/linux/drivers/net/dsa/microchip/
H A Dksz_common.c4386 for (tc_prio = 0; tc_prio < ARRAY_SIZE(p->priomap); tc_prio++) { in ksz_tc_ets_add()
4392 queue = ksz_ets_band_to_queue(p, p->priomap[tc_prio]); in ksz_tc_ets_add()

12