commit | cdba756f5803a2f0a8bbc6605acc166dd817979e | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Wed Jan 06 06:53:50 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 06 16:00:34 2016 -0500 |
tree | 597f0372153dea42ee413c91092b403ef0a4c0b9 | |
parent | 9e02d8caaf90077bc47e054e4c3a41736245a9f8 [diff] |
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>