/linux-master/net/core/ |
H A D | netprio_cgroup.c | 29 * 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 D | dev.c | 3851 map = rcu_dereference_bh(skb->dev->priomap); 3861 skb->priority = map->priomap[prioidx];
|
/linux-master/include/net/ |
H A D | netprio_cgroup.h | 19 u32 priomap[]; member in struct:netprio_map
|
H A D | pkt_cls.h | 950 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 D | sch_ets_core.sh | 50 # | | 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 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
|
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-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ets.c | 41 if (params->priomap[i] != (7 - i))
|
/linux-master/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_red_ets.sh | 29 bands 8 priomap 7 6 5 4 3 2 1 0
|
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 | 126 ets bands 8 strict 8 priomap 7 6 142 ets bands 8 strict 8 priomap 7 6
|
H A D | qos_mc_aware.sh | 135 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-master/net/sched/ |
H A D | sch_prio.c | 154 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 D | sch_ets.c | 126 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 D | sch_fq.c | 977 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 D | sch_generic.c | 836 memcpy(&opt.priomap, sch_default_prio2band, TC_PRIO_MAX + 1);
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc.c | 133 if (params->priomap[i] != (7 - i))
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_qdisc.c | 1325 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 D | pkt_sched.h | 150 __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 D | pkt_sched.h | 149 __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 D | ksz_common.c | 3519 * 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 D | netdevice.h | 1975 * @priomap: XXX: need comments on this one 2364 struct netprio_map __rcu *priomap; member in struct:net_device
|