Re: [PATCH net-next v2] net: don't include ethtool.h from netdevice.h

2020-11-23 Thread Jesse Brandeburg
Jakub Kicinski wrote: > linux/netdevice.h is included in very many places, touching any > of its dependecies causes large incremental builds. > > Drop the linux/ethtool.h include, linux/netdevice.h just needs > a forward declaration of struct ethtool_ops. > > Fix all the places which made use of

[PATCH net-next v2] net: don't include ethtool.h from netdevice.h

2020-11-20 Thread Jakub Kicinski
linux/netdevice.h is included in very many places, touching any of its dependecies causes large incremental builds. Drop the linux/ethtool.h include, linux/netdevice.h just needs a forward declaration of struct ethtool_ops. Fix all the places which made use of this implicit include. Acked-by: Jo