Re: [PATCH net-next 0/3] net: remove dsa.h from netdevice.h

2015-10-08 Thread David Miller
From: Vivien Didelot Date: Tue, 6 Oct 2015 17:54:24 -0400 > In order to push switchdev objects down to DSA drivers, I need to include > switchdev.h in dsa.h. But compilation fails because of a circular dependency > issue, since dsa.h is also included in linux/netdevice.h. > > dsa.h is included

Re: [PATCH net-next 0/3] net: remove dsa.h from netdevice.h

2015-10-07 Thread Jiri Pirko
Tue, Oct 06, 2015 at 11:54:24PM CEST, vivien.dide...@savoirfairelinux.com wrote: >In order to push switchdev objects down to DSA drivers, I need to include >switchdev.h in dsa.h. But compilation fails because of a circular dependency >issue, since dsa.h is also included in linux/netdevice.h. > >dsa

Re: [PATCH net-next 0/3] net: remove dsa.h from netdevice.h

2015-10-07 Thread Vivien Didelot
Hi Florian, All, On Oct. Tuesday 06 (41) 05:42 PM, Florian Fainelli wrote: > On 06/10/15 14:54, Vivien Didelot wrote: > > In order to push switchdev objects down to DSA drivers, I need to include > > switchdev.h in dsa.h. But compilation fails because of a circular dependency > > issue, since dsa.

Re: [PATCH net-next 0/3] net: remove dsa.h from netdevice.h

2015-10-06 Thread Florian Fainelli
On 06/10/15 14:54, Vivien Didelot wrote: > In order to push switchdev objects down to DSA drivers, I need to include > switchdev.h in dsa.h. But compilation fails because of a circular dependency > issue, since dsa.h is also included in linux/netdevice.h. Just for the record, what does this circul

[PATCH net-next 0/3] net: remove dsa.h from netdevice.h

2015-10-06 Thread Vivien Didelot
In order to push switchdev objects down to DSA drivers, I need to include switchdev.h in dsa.h. But compilation fails because of a circular dependency issue, since dsa.h is also included in linux/netdevice.h. dsa.h is included for two purposes: to have the definition of struct dsa_switch_tree; and