diff options
author | Florian Fainelli <[email protected]> | 2019-02-06 09:45:39 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-06 14:16:11 -0800 |
commit | 25ba8605147689462c750eb9f2e53f6b88bd953a (patch) | |
tree | da13da366a07eb11467301e07e306a94dab4a1e3 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 6dcfa2343802b1550530f3ba284cb0179cf2efc8 (diff) |
mlxsw: Implement ndo_get_port_parent_id()
mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid
of switchdev_ops eventually, ease that migration by implementing a
ndo_get_port_parent_id() function which returns what
switchdev_port_attr_get() would do.
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions