]> git.baikalelectronics.ru Git - kernel.git/commit
net: move ndo_features_check() close to ndo_start_xmit()
authorEric Dumazet <edumazet@google.com>
Wed, 6 Jan 2016 14:53:50 +0000 (06:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jan 2016 21:00:34 +0000 (16:00 -0500)
commit52e802b40b2ddc1fab81b2b019cbabd18fd6e57e
tree597f0372153dea42ee413c91092b403ef0a4c0b9
parent49f711b89fad5dffb8c15805880e7776f70a06ea
net: move ndo_features_check() close to ndo_start_xmit()

TX fast path uses ndo_start_xmit(), ndo_features_check() and
ndo_select_queue().

Move ndo_features_check() close to ndo_start_xmit() to increase
data locality.

All "struct net_device_ops" should now be using C99 initializers.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h