diff options
author | Vladimir Oltean <[email protected]> | 2022-07-04 22:02:40 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-07-05 17:50:38 -0700 |
commit | d7be266adbfd3aca6965ea6a0c36b2c3d8fc9fc8 (patch) | |
tree | 36b2cf00071ee59e1acfd4a36856209f8471068c /tools/perf/scripts/python | |
parent | f05643a0f60bf67c09a5276b81258b845b0c73b4 (diff) |
net: sched: provide shim definitions for taprio_offload_{get,free}
All callers of taprio_offload_get() and taprio_offload_free() prior to
the blamed commit are conditionally compiled based on CONFIG_NET_SCH_TAPRIO.
felix_vsc9959.c is different; it provides vsc9959_qos_port_tas_set()
even when taprio is compiled out.
Provide shim definitions for the functions exported by taprio so that
felix_vsc9959.c is able to compile. vsc9959_qos_port_tas_set() in that
case is dead code anyway, and ocelot_port->taprio remains NULL, which is
fine for the rest of the logic.
Fixes: 1c9017e44af2 ("net: dsa: felix: keep reference on entire tc-taprio config")
Reported-by: Colin Foster <[email protected]>
Signed-off-by: Vladimir Oltean <[email protected]>
Tested-by: Colin Foster <[email protected]>
Acked-by: Vinicius Costa Gomes <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions