]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a7e1c6a7ad0dae1b9796fd8d7d6de127c2b0435
tree2a28812cd5f0d39b6968e97c641dd4663e4b4a45
parent1c7ad79fb322ac171e185426c53ed411762c7594
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