commit | 7870a7bd570bc1bd43622c7c6828931d3ea98b8c | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Wed Feb 06 09:45:44 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 06 14:17:03 2019 -0800 |
tree | ce0a2b2681917d268cf43115f9d21cd10d293194 | |
parent | e58df56c8564b701491236381fc1e75202952736 [diff] |
staging: fsl-dpaa2: ethsw: Implement ndo_get_port_parent_id() ethsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid of switchdev_ops eventually, ease that migration by implementing a ndo_get_port_parent_id() function which returns what switchdev_port_attr_get() would do. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>