mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 21:23:23 +00:00
net: reorder struct netdev_hw_addr
Move 'synced' and 'global_use' fields before 'refcount', to shrinks struct netdev_hw_addr by 8 bytes (on 64bit arches). Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e6599c2ecf
commit
8f8f103d84
@ -228,9 +228,9 @@ struct netdev_hw_addr {
|
|||||||
#define NETDEV_HW_ADDR_T_SLAVE 3
|
#define NETDEV_HW_ADDR_T_SLAVE 3
|
||||||
#define NETDEV_HW_ADDR_T_UNICAST 4
|
#define NETDEV_HW_ADDR_T_UNICAST 4
|
||||||
#define NETDEV_HW_ADDR_T_MULTICAST 5
|
#define NETDEV_HW_ADDR_T_MULTICAST 5
|
||||||
int refcount;
|
|
||||||
bool synced;
|
bool synced;
|
||||||
bool global_use;
|
bool global_use;
|
||||||
|
int refcount;
|
||||||
struct rcu_head rcu_head;
|
struct rcu_head rcu_head;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user