Home
last modified time | relevance | path

Searched refs:taprio (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-qos.c650 struct tc_taprio_qopt_offload *taprio, in am65_cpsw_est_calc_cmd_num() argument
656 for (i = 0; i < taprio->num_entries; i++) { in am65_cpsw_est_calc_cmd_num()
657 if (taprio->entries[i].command != TC_TAPRIO_CMD_SET_GATES) { in am65_cpsw_est_calc_cmd_num()
662 fetch_cnt = am65_est_cmd_ns_to_cnt(taprio->entries[i].interval, in am65_cpsw_est_calc_cmd_num()
684 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio, in am65_cpsw_est_check_scheds()
711 for (i = 0; i < est_new->taprio.num_entries; i++) { in am65_cpsw_est_set_sched_list()
712 entry = &est_new->taprio.entries[i]; in am65_cpsw_est_set_sched_list()
724 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()
749 cfg.ns_period = est_new->taprio.cycle_time; in am65_cpsw_timer_set()
750 cfg.ns_start = est_new->taprio.base_time; in am65_cpsw_timer_set()
[all …]
H A Dam65-cpsw-qos.h17 struct tc_taprio_qopt_offload taprio; member
/linux/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1087 static void vsc9959_tas_min_gate_lengths(struct tc_taprio_qopt_offload *taprio, in vsc9959_tas_min_gate_lengths() argument
1102 if (!taprio) in vsc9959_tas_min_gate_lengths()
1105 n = taprio->num_entries; in vsc9959_tas_min_gate_lengths()
1115 entry = &taprio->entries[i % n]; in vsc9959_tas_min_gate_lengths()
1203 static u32 vsc9959_tas_tc_max_sdu(struct tc_taprio_qopt_offload *taprio, int tc) in vsc9959_tas_tc_max_sdu() argument
1205 if (!taprio || !taprio->max_sdu[tc]) in vsc9959_tas_tc_max_sdu()
1208 return taprio->max_sdu[tc] + ETH_HLEN + 2 * VLAN_HLEN + ETH_FCS_LEN; in vsc9959_tas_tc_max_sdu()
1221 struct tc_taprio_qopt_offload *taprio; in vsc9959_tas_guard_bands_update() local
1232 taprio = ocelot_port->taprio; in vsc9959_tas_guard_bands_update()
1279 vsc9959_tas_min_gate_lengths(taprio, min_gate_len); in vsc9959_tas_guard_bands_update()
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc.c22 struct tc_taprio_qopt_offload *taprio) in lan966x_tc_setup_qdisc_taprio() argument
24 switch (taprio->cmd) { in lan966x_tc_setup_qdisc_taprio()
26 return lan966x_taprio_add(port, taprio); in lan966x_tc_setup_qdisc_taprio()
/linux/Documentation/networking/dsa/
H A Dsja1105.rst107 This capability can be managed through the tc-taprio offload ('flags 2'). The
108 difference compared to the software implementation of taprio is that the latter
165 tc qdisc add dev swp5 parent root handle 100 taprio \
174 It is possible to apply the tc-taprio offload on multiple egress ports. There
236 Example: create a tc-taprio schedule that is phase-aligned with a tc-gate
263 tc qdisc add dev eno0 parent root taprio \
273 one used for the tc-taprio offload. Therefore, the restrictions regarding the
274 fact that no two gate actions (either tc-gate or tc-taprio gates) may fire at
/linux/net/sched/
H A DKconfig173 tristate "Time Aware Priority (taprio) Scheduler"
176 Say Y here if you want to use the Time Aware Priority (taprio) packet
/linux/include/soc/mscc/
H A Docelot.h785 struct tc_taprio_qopt_offload *taprio; member