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)
commitcdba756f5803a2f0a8bbc6605acc166dd817979e
tree597f0372153dea42ee413c91092b403ef0a4c0b9
parent9e02d8caaf90077bc47e054e4c3a41736245a9f8
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