Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c272 struct tc_taprio_qopt_offload *taprio, in am65_cpsw_est_calc_cmd_num() argument
278 for (i = 0; i < taprio->num_entries; i++) { in am65_cpsw_est_calc_cmd_num()
279 if (taprio->entries[i].command != TC_TAPRIO_CMD_SET_GATES) { in am65_cpsw_est_calc_cmd_num()
284 fetch_cnt = am65_est_cmd_ns_to_cnt(taprio->entries[i].interval, in am65_cpsw_est_calc_cmd_num()
306 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio, in am65_cpsw_est_check_scheds()
333 for (i = 0; i < est_new->taprio.num_entries; i++) { in am65_cpsw_est_set_sched_list()
334 entry = &est_new->taprio.entries[i]; in am65_cpsw_est_set_sched_list()
346 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()
371 cfg.ns_period = est_new->taprio.cycle_time; in am65_cpsw_timer_set()
372 cfg.ns_start = est_new->taprio.base_time; in am65_cpsw_timer_set()
[all …]
Dam65-cpsw-qos.h14 struct tc_taprio_qopt_offload taprio; member
/Linux-v6.1/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1081 static void vsc9959_tas_min_gate_lengths(struct tc_taprio_qopt_offload *taprio, in vsc9959_tas_min_gate_lengths() argument
1096 if (!taprio) in vsc9959_tas_min_gate_lengths()
1099 n = taprio->num_entries; in vsc9959_tas_min_gate_lengths()
1109 entry = &taprio->entries[i % n]; in vsc9959_tas_min_gate_lengths()
1197 static u32 vsc9959_tas_tc_max_sdu(struct tc_taprio_qopt_offload *taprio, int tc) in vsc9959_tas_tc_max_sdu() argument
1199 if (!taprio || !taprio->max_sdu[tc]) in vsc9959_tas_tc_max_sdu()
1202 return taprio->max_sdu[tc] + ETH_HLEN + 2 * VLAN_HLEN + ETH_FCS_LEN; in vsc9959_tas_tc_max_sdu()
1214 struct tc_taprio_qopt_offload *taprio; in vsc9959_tas_guard_bands_update() local
1224 taprio = ocelot_port->taprio; in vsc9959_tas_guard_bands_update()
1262 vsc9959_tas_min_gate_lengths(taprio, min_gate_len); in vsc9959_tas_guard_bands_update()
[all …]
Dfelix.c1763 if (ocelot_port->taprio && felix->info->tas_guard_bands_update) in felix_change_mtu()
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_tc.c21 struct tc_taprio_qopt_offload *taprio) in lan966x_tc_setup_qdisc_taprio() argument
23 return taprio->enable ? lan966x_taprio_add(port, taprio) : in lan966x_tc_setup_qdisc_taprio()
/Linux-v6.1/Documentation/networking/dsa/
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-v6.1/drivers/net/ethernet/freescale/enetc/
DKconfig66 taprio(802.1Qbv) and Credit Based Shaper(802.1Qbu).
Denetc_qos.c137 struct tc_taprio_qopt_offload *taprio = type_data; in enetc_setup_tc_taprio() local
151 tx_ring->prio = taprio->enable ? i : 0; in enetc_setup_tc_taprio()
155 err = enetc_setup_taprio(ndev, taprio); in enetc_setup_tc_taprio()
159 tx_ring->prio = taprio->enable ? 0 : i; in enetc_setup_tc_taprio()
/Linux-v6.1/drivers/net/dsa/hirschmann/
Dhellcreek.c1749 struct tc_taprio_qopt_offload *taprio) in hellcreek_port_set_schedule() argument
1770 hellcreek_port->current_schedule = taprio_offload_get(taprio); in hellcreek_port_set_schedule()
1891 struct tc_taprio_qopt_offload *taprio = type_data; in hellcreek_port_setup_tc() local
1893 if (!hellcreek_validate_schedule(hellcreek, taprio)) in hellcreek_port_setup_tc()
1896 if (taprio->enable) in hellcreek_port_setup_tc()
1897 return hellcreek_port_set_schedule(ds, port, taprio); in hellcreek_port_setup_tc()
/Linux-v6.1/include/soc/mscc/
Docelot.h935 struct tc_taprio_qopt_offload *taprio; member
/Linux-v6.1/net/sched/
DKconfig199 tristate "Time Aware Priority (taprio) Scheduler"
201 Say Y here if you want to use the Time Aware Priority (taprio) packet