Re: [PATCH net] net: dsa: Fix load order between DSA drivers and taggers

2019-09-15 Thread David Miller
From: Andrew Lunn Date: Thu, 12 Sep 2019 15:16:45 +0200 > The DSA core, DSA taggers and DSA drivers all make use of > module_init(). Hence they get initialised at device_initcall() time. > The ordering is non-deterministic. It can be a DSA driver is bound to > a device before the needed tag drive

[PATCH net] net: dsa: Fix load order between DSA drivers and taggers

2019-09-12 Thread Andrew Lunn
The DSA core, DSA taggers and DSA drivers all make use of module_init(). Hence they get initialised at device_initcall() time. The ordering is non-deterministic. It can be a DSA driver is bound to a device before the needed tag driver has been initialised, resulting in the message: No tagger for t