diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-06 20:45:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-07 01:16:11 +0300 |
commit | 25ba8605147689462c750eb9f2e53f6b88bd953a (patch) | |
tree | da13da366a07eb11467301e07e306a94dab4a1e3 /drivers/net/ethernet/mscc | |
parent | 6dcfa2343802b1550530f3ba284cb0179cf2efc8 (diff) | |
download | linux-25ba8605147689462c750eb9f2e53f6b88bd953a.tar.xz |
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 <jiri@mellanox.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mscc')
0 files changed, 0 insertions, 0 deletions