OSDN Git Service

net: dsa: remove ndo_get_phys_port_name and ndo_get_port_parent_id
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 10 Feb 2022 13:44:58 +0000 (15:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2022 11:17:32 +0000 (11:17 +0000)
commit45b987d5edf2274579e6ff82ebc7435bc346ae7a
tree2a28812cd5f0d39b6968e97c641dd4663e4b4a45
parent1ea59b5e1ae34ddc47248d18d3bd252cd9854952
net: dsa: remove ndo_get_phys_port_name and ndo_get_port_parent_id

There are no legacy ports, DSA registers a devlink instance with ports
unconditionally for all switch drivers. Therefore, delete the old-style
ndo operations used for determining bridge forwarding domains.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/slave.c