Repository navigation
Commit 7026b8a
rocker: Implement ndo_get_port_parent_id()
mlxsw 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.
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>1 parent a5084bb commit 7026b8a
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2026 | 2026 | | |
2027 | 2027 | | |
2028 | 2028 | | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
2029 | 2041 | | |
2030 | 2042 | | |
2031 | 2043 | | |
| |||
2035 | 2047 | | |
2036 | 2048 | | |
2037 | 2049 | | |
| 2050 | + | |
2038 | 2051 | | |
2039 | 2052 | | |
2040 | 2053 | | |
| |||
2045 | 2058 | | |
2046 | 2059 | | |
2047 | 2060 | | |
2048 | | - | |
2049 | 2061 | | |
2050 | 2062 | | |
2051 | 2063 | | |
2052 | | - | |
2053 | | - | |
2054 | | - | |
2055 | | - | |
2056 | 2064 | | |
2057 | 2065 | | |
2058 | 2066 | | |
| |||
0 commit comments