Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/ti/
Dam65-cpsw-qos.c271 struct tc_taprio_qopt_offload *taprio, in am65_cpsw_est_calc_cmd_num() argument
277 for (i = 0; i < taprio->num_entries; i++) { in am65_cpsw_est_calc_cmd_num()
278 if (taprio->entries[i].command != TC_TAPRIO_CMD_SET_GATES) { in am65_cpsw_est_calc_cmd_num()
283 fetch_cnt = am65_est_cmd_ns_to_cnt(taprio->entries[i].interval, in am65_cpsw_est_calc_cmd_num()
305 cmd_num = am65_cpsw_est_calc_cmd_num(ndev, &est_new->taprio, in am65_cpsw_est_check_scheds()
332 for (i = 0; i < est_new->taprio.num_entries; i++) { in am65_cpsw_est_set_sched_list()
333 entry = &est_new->taprio.entries[i]; in am65_cpsw_est_set_sched_list()
345 if (!fetch_cnt && i < est_new->taprio.num_entries - 1) { in am65_cpsw_est_set_sched_list()
370 cfg.ns_period = est_new->taprio.cycle_time; in am65_cpsw_timer_set()
371 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-v5.15/drivers/net/dsa/ocelot/
Dfelix_vsc9959.c1207 struct tc_taprio_qopt_offload *taprio) in vsc9959_qos_port_tas_set() argument
1213 if (!taprio->enable) { in vsc9959_qos_port_tas_set()
1223 if (taprio->cycle_time > NSEC_PER_SEC || in vsc9959_qos_port_tas_set()
1224 taprio->cycle_time_extension >= NSEC_PER_SEC) in vsc9959_qos_port_tas_set()
1227 if (taprio->num_entries > VSC9959_TAS_GCL_ENTRY_MAX) in vsc9959_qos_port_tas_set()
1261 vsc9959_new_base_time(ocelot, taprio->base_time, in vsc9959_qos_port_tas_set()
1262 taprio->cycle_time, &base_ts); in vsc9959_qos_port_tas_set()
1268 QSYS_PARAM_CFG_REG_3_LIST_LENGTH(taprio->num_entries), in vsc9959_qos_port_tas_set()
1270 ocelot_write(ocelot, taprio->cycle_time, QSYS_PARAM_CFG_REG_4); in vsc9959_qos_port_tas_set()
1271 ocelot_write(ocelot, taprio->cycle_time_extension, QSYS_PARAM_CFG_REG_5); in vsc9959_qos_port_tas_set()
[all …]
/Linux-v5.15/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-v5.15/drivers/net/ethernet/freescale/enetc/
DKconfig66 taprio(802.1Qbv) and Credit Based Shaper(802.1Qbu).
Denetc_qos.c143 struct tc_taprio_qopt_offload *taprio = type_data; in enetc_setup_tc_taprio() local
156 taprio->enable ? i : 0); in enetc_setup_tc_taprio()
158 err = enetc_setup_taprio(ndev, taprio); in enetc_setup_tc_taprio()
164 taprio->enable ? 0 : i); in enetc_setup_tc_taprio()
/Linux-v5.15/drivers/net/dsa/hirschmann/
Dhellcreek.c1623 struct tc_taprio_qopt_offload *taprio) in hellcreek_port_set_schedule() argument
1644 hellcreek_port->current_schedule = taprio_offload_get(taprio); in hellcreek_port_set_schedule()
1738 struct tc_taprio_qopt_offload *taprio = type_data; in hellcreek_port_setup_tc() local
1744 if (!hellcreek_validate_schedule(hellcreek, taprio)) in hellcreek_port_setup_tc()
1747 if (taprio->enable) in hellcreek_port_setup_tc()
1748 return hellcreek_port_set_schedule(ds, port, taprio); in hellcreek_port_setup_tc()
/Linux-v5.15/net/sched/
DKconfig199 tristate "Time Aware Priority (taprio) Scheduler"
201 Say Y here if you want to use the Time Aware Priority (taprio) packet