Re: [patch net-next v3 11/12] dsa: pass switch ID through devlink_port_attrs_set()

2019-04-02 Thread Florian Fainelli
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

[patch net-next v3 11/12] dsa: pass switch ID through devlink_port_attrs_set()

2019-04-02 Thread Jiri Pirko
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