diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-02-06 12:45:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-06 17:17:03 -0500 |
commit | e58df56c8564b701491236381fc1e75202952736 (patch) | |
tree | 20090a36c3d816623fa9625a33767ede5571dda6 /net/switchdev/switchdev.c | |
parent | 7026b8a6fbe1061863a25495d4dc1fa115c8708e (diff) |
netdevsim: Implement ndo_get_port_parent_id()
netdevsim only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a
great candidate to be converted to use the ndo_get_port_parent_id() NDO
instead of implementing switchdev_port_attr_get().
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions