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

/linux-master/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? */
47 old = rtnl_dereference(dev->priomap);
58 new_len = (new_sz - offsetof(struct netprio_map, priomap)) /
59 sizeof(new->priomap[0]);
74 memcpy(new->priomap, old->priomap,
75 old->priomap_len * sizeof(old->priomap[
[all...]
H A Ddev.c3851 map = rcu_dereference_bh(skb->dev->priomap);
3861 skb->priority = map->priomap[prioidx];
/linux-master/include/net/
H A Dnetprio_cgroup.h19 u32 priomap[]; member in struct:netprio_map
H A Dpkt_cls.h950 u8 priomap[TC_PRIO_MAX + 1]; member in struct:tc_prio_qopt_offload_params
992 u8 priomap[TC_PRIO_MAX + 1]; member in struct:tc_ets_qopt_offload_replace_params
/linux-master/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
46 $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-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ets.c41 if (params->priomap[i] != (7 - i))
/linux-master/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_red_ets.sh29 bands 8 priomap 7 6 5 4 3 2 1 0
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.sh126 ets bands 8 strict 8 priomap 7 6
142 ets bands 8 strict 8 priomap 7 6
H A Dqos_mc_aware.sh135 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-master/net/sched/
H A Dsch_prio.c154 memcpy(&opt.replace_params.priomap, qopt->priomap,
192 if (qopt->priomap[i] >= qopt->bands)
211 memcpy(q->prio2band, qopt->priomap, TC_PRIO_MAX+1);
270 memcpy(&opt.priomap, q->prio2band, TC_PRIO_MAX + 1);
H A Dsch_ets.c126 memcpy(&qopt.replace_params.priomap,
501 unsigned int nbands, u8 *priomap,
520 NL_SET_ERR_MSG_MOD(extack, "Too many priorities in ETS priomap");
525 NL_SET_ERR_MSG_MOD(extack, "Invalid band number in ETS priomap");
528 priomap[prio++] = band;
584 u8 priomap[TC_PRIO_MAX + 1]; local
604 memset(priomap, nbands - 1, sizeof(priomap));
616 nbands, priomap, extack);
662 memcpy(q->prio2band, priomap, sizeo
500 ets_qdisc_priomap_parse(struct nlattr *priomap_attr, unsigned int nbands, u8 *priomap, struct netlink_ext_ack *extack) argument
[all...]
H A Dsch_fq.c977 if (map->priomap[i] >= FQ_BANDS) {
978 NL_SET_ERR_MSG_FMT_MOD(extack, "FQ priomap field %d maps to a too high band %d",
979 i, map->priomap[i]);
983 fq_prio2band_compress_crumb(map->priomap, q->prio2band);
1199 fq_prio2band_decompress_crumb(q->prio2band, prio.priomap);
H A Dsch_generic.c836 memcpy(&opt.priomap, sch_default_prio2band, TC_PRIO_MAX + 1);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc.c133 if (params->priomap[i] != (7 - i))
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c1325 const u8 *priomap)
1366 if (priomap[i] == band) {
1414 zeroes, p->priomap);
1559 p->weights, p->priomap);
1320 __mlxsw_sp_qdisc_ets_replace(struct mlxsw_sp_port *mlxsw_sp_port, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u32 handle, unsigned int nbands, const unsigned int *quanta, const unsigned int *weights, const u8 *priomap) argument
/linux-master/include/uapi/linux/
H A Dpkt_sched.h150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member in struct:tc_prio_qopt
/linux-master/tools/include/uapi/linux/
H A Dpkt_sched.h149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ member in struct:tc_prio_qopt
/linux-master/drivers/net/dsa/microchip/
H A Dksz_common.c3519 * priomap variable support 16 traffic classes, but the chip can handle
3522 for (tc_prio = 0; tc_prio < ARRAY_SIZE(p->priomap); tc_prio++) {
3528 queue = ksz_ets_band_to_queue(p, p->priomap[tc_prio]);
/linux-master/include/linux/
H A Dnetdevice.h1975 * @priomap: XXX: need comments on this one
2364 struct netprio_map __rcu *priomap; member in struct:net_device

Completed in 444 milliseconds