Re: [PATCH net-next] net: move ndo_features_check() close to ndo_start_xmit()

2016-01-06 Thread David Miller
From: Eric Dumazet Date: Wed, 06 Jan 2016 06:53:50 -0800 > From: Eric Dumazet > > 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

[PATCH net-next] net: move ndo_features_check() close to ndo_start_xmit()

2016-01-06 Thread Eric Dumazet
From: Eric Dumazet 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 --- include/linux/n