/kernel/linux/linux-5.10/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? */ 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...] |
/kernel/linux/linux-6.6/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? */ 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...] |
/kernel/linux/linux-5.10/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_ets_tests.sh | 153 local priomap=$(seq 0 $((nstreams - 1))) 165 ets_change_qdisc $dev $nstrict "$priomap" ${quanta[@]}
|
H A D | sch_tbf_etsprio.sh | 27 tc qdisc add dev $swp2 root handle 10: $QDISC 3 priomap 2 1 0
|
H A D | skbedit_priority.sh | 66 prio bands 8 priomap 7 6 5 4 3 2 1 0
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_pfc.sh | 176 ets bands 8 strict 8 priomap 7 6 192 ets bands 8 strict 8 priomap 7 6 209 ets bands 8 strict 8 priomap 7 6 231 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 | 134 prio bands 8 priomap 7 7 7 7 7 7 7 7
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_pfc.sh | 175 ets bands 8 strict 8 priomap 7 6 191 ets bands 8 strict 8 priomap 7 6 208 ets bands 8 strict 8 priomap 7 6 230 ets bands 8 strict 8 priomap 7 6
|
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 | 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 | sch_red_ets.sh | 29 bands 8 priomap 7 6 5 4 3 2 1 0
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_ets.c | 126 memcpy(&qopt.replace_params.priomap, in ets_offload_change() 509 unsigned int nbands, u8 *priomap, in ets_qdisc_priomap_parse() 528 NL_SET_ERR_MSG_MOD(extack, "Too many priorities in ETS priomap"); in ets_qdisc_priomap_parse() 533 NL_SET_ERR_MSG_MOD(extack, "Invalid band number in ETS priomap"); in ets_qdisc_priomap_parse() 536 priomap[prio++] = band; in ets_qdisc_priomap_parse() 592 u8 priomap[TC_PRIO_MAX + 1]; in ets_qdisc_change() local 617 memset(priomap, nbands - 1, sizeof(priomap)); in ets_qdisc_change() 629 nbands, priomap, extack); in ets_qdisc_change() 676 memcpy(q->prio2band, priomap, sizeo in ets_qdisc_change() 508 ets_qdisc_priomap_parse(struct nlattr *priomap_attr, unsigned int nbands, u8 *priomap, struct netlink_ext_ack *extack) ets_qdisc_priomap_parse() argument [all...] |
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()
|
/kernel/linux/linux-6.6/net/sched/ |
H A 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() 520 NL_SET_ERR_MSG_MOD(extack, "Too many priorities in ETS priomap"); in ets_qdisc_priomap_parse() 525 NL_SET_ERR_MSG_MOD(extack, "Invalid band number in ETS priomap"); in ets_qdisc_priomap_parse() 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, sizeo in ets_qdisc_change() 500 ets_qdisc_priomap_parse(struct nlattr *priomap_attr, unsigned int nbands, u8 *priomap, struct netlink_ext_ack *extack) ets_qdisc_priomap_parse() argument [all...] |
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()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | netprio_cgroup.h | 19 u32 priomap[]; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | netprio_cgroup.h | 19 u32 priomap[]; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ets.c | 41 if (params->priomap[i] != (7 - i)) in lan966x_ets_add()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc.c | 133 if (params->priomap[i] != (7 - i)) in sparx5_tc_setup_qdisc_ets()
|