Re: [patch net-next v2 09/15] dsa: move devlink_port_attrs_set() call before register
On Fri, Mar 22, 2019 at 05:56:30PM +0100, Jiri Pirko wrote: > From: Jiri Pirko > > Since attrs are static during the existence of devlink port, set the > before registration of the port. > > Signed-off-by: Jiri Pirko Reviewed-by: Andrew Lunn Andrew
[patch net-next v2 09/15] dsa: move devlink_port_attrs_set() call before register
From: Jiri Pirko Since attrs are static during the existence of devlink port, set the before registration of the port. Signed-off-by: Jiri Pirko --- v1->v2: - fixed comment for port numbering --- net/dsa/dsa2.c | 47 ++- 1 file changed, 26 insertions