On 4/2/19 1:15 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Pass the switch ID down the to devlink through devlink_port_attrs_set()
> so it can be used by devlink_compat_switch_id_get(). Leave
> ndo_get_port_parent_id implementation only for legacy.
>
> Signed-off-by: Jiri Pirko
Reviewed-by: F
From: Jiri Pirko
Pass the switch ID down the to devlink through devlink_port_attrs_set()
so it can be used by devlink_compat_switch_id_get(). Leave
ndo_get_port_parent_id implementation only for legacy.
Signed-off-by: Jiri Pirko
---
v2->v3:
- fix parent id ndo compilation issue
---
net/dsa/dsa