diff options
| author | Jiri Pirko <[email protected]> | 2023-05-26 12:28:27 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-05-30 10:32:19 -0700 |
| commit | 6acdf43d8abe32082356d56a07598e513bbb59f4 (patch) | |
| tree | 2206cd6c2156ab2cd27541ef14ad2744cc5dd0be /net/nsh/nsh.c | |
| parent | bc638eabfed90fdc798fd5765e67e41abea76152 (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/nsh.c')
0 files changed, 0 insertions, 0 deletions