Thu, Jun 09, 2016 at 10:50:16AM CEST, yuval.mi...@qlogic.com wrote: >> When rtnl_fill_ifinfo() is called for a certain netdevice it queries its >> various >> parameters such as switch id and physical port name. The function might get >> called in an atomic context, which means the underlying driver must not sleep > >Is Documentation/networking/netdevices.txt a deprecated file? >If not, perhaps we should update such information there; Otherwise its trial >and error for everyone.
Looks like Documentation/networking/netdevices.txt needs a lot of work to make it up to date. Would perhaps make sense to move this info directly to the initial comment of struct net_device_ops.