summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-05-26 13:28:27 +0300
committerJakub Kicinski <kuba@kernel.org>2023-05-30 20:32:19 +0300
commit6acdf43d8abe32082356d56a07598e513bbb59f4 (patch)
tree2206cd6c2156ab2cd27541ef14ad2744cc5dd0be /tools/perf/scripts/python
parentbc638eabfed90fdc798fd5765e67e41abea76152 (diff)
downloadlinux-6acdf43d8abe32082356d56a07598e513bbb59f4.tar.xz
devlink: introduce port ops placeholder
In devlink, some of the objects have separate ops registered alongside with the object itself. Port however have ops in devlink_ops structure. For drivers what register multiple kinds of ports with different ops this is not convenient. Introduce devlink_port_ops and a set of functions that allow drivers to pass ops pointer during port registration. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions