diff options
| author | Florian Fainelli <[email protected]> | 2019-02-06 17:45:41 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-06 22:16:12 +0000 |
| commit | a5084bb71fa4cc2a70a3a5775ccd0447dbcb32f3 (patch) | |
| tree | c53f01d033e8676a1597f7dee1bdb84ab35297b6 /net/switchdev/switchdev.c | |
| parent | mscc: ocelot: Implement ndo_get_port_parent_id() (diff) | |
| download | kernel-a5084bb71fa4cc2a70a3a5775ccd0447dbcb32f3.tar.gz kernel-a5084bb71fa4cc2a70a3a5775ccd0447dbcb32f3.zip | |
nfp: Implement ndo_get_port_parent_id()
NFP 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().
Since NFP uses switchdev_port_same_parent_id() convert it to use
netdev_port_same_parent_id().
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
