aboutsummaryrefslogtreecommitdiff
path: root/net/nsh
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-05-26 12:28:27 +0200
committerJakub Kicinski <[email protected]>2023-05-30 10:32:19 -0700
commit6acdf43d8abe32082356d56a07598e513bbb59f4 (patch)
tree2206cd6c2156ab2cd27541ef14ad2744cc5dd0be /net/nsh
parentbc638eabfed90fdc798fd5765e67e41abea76152 (diff)
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 <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/nsh')
0 files changed, 0 insertions, 0 deletions