net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 6 Feb 2019 17:45:46 +0000 (09:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2019 22:17:03 +0000 (14:17 -0800)
commitbccb30254a4a02ee370dd23b2afbd25d7a78bc34
tree01e04648ebb7677bbda79796c6140cb214ec9b47
parent929d6c145ec4cf11482519cfd0ebf17c2fce92db
net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID

Now that we have a dedicated NDO for getting a port's parent ID, get rid
of SWITCHDEV_ATTR_ID_PORT_PARENT_ID and convert all callers to use the
NDO exclusively. This is a preliminary change to getting rid of
switchdev_ops eventually.

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>
include/net/switchdev.h
net/bridge/br_switchdev.c
net/core/net-sysfs.c
net/core/rtnetlink.c
net/ipv4/ipmr.c
net/switchdev/switchdev.c