net: make struct net_device::min_header_len 8-bit
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 10 Apr 2017 08:25:26 +0000 (11:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Apr 2017 17:59:21 +0000 (13:59 -0400)
commitd92be7a41ef15463eb816a4a2d42bf094b56dfce
tree0836d0005942438fc753a88d23a2dcc96b551084
parent5b3dc2f37d7daf76a679cd204492ec5dff06bb8a
net: make struct net_device::min_header_len 8-bit

This field is never big enough to warrant 16-bitness.

8-bit accesses enjoy shorted encoding on i386/x86_64 than 16-bit
accesses:

add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-10 (-10)
function                                     old     new   delta
loopback_setup                               169     164      -5
ether_setup                                  148     143      -5

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h