]> 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)
commit0f6d56c0f8c427bbe7850da82c5a0ad8f7a70f9e
tree597f0372153dea42ee413c91092b403ef0a4c0b9
parent1372d8585579fc92b864e56ce845007450fe02f6
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