net: move xdp_prog field in RX cache lines
authorEric Dumazet <edumazet@google.com>
Tue, 25 Apr 2017 18:36:52 +0000 (11:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Apr 2017 20:25:36 +0000 (16:25 -0400)
commit7acedaf5c4355f812cfef883ac28bf15f7d9205e
tree9d6443e8561ed7c8ed1021a741752c179077e5f1
parent5e1fc7c5ba00599ccd7096eef3e9fd3362c1230f
net: move xdp_prog field in RX cache lines

(struct net_device, xdp_prog) field should be moved in RX cache lines,
reducing latencies when a single packet is received on idle host,
since netif_elide_gro() needs it.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h