]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5332b2a06e0828aea5e5a12060ea510ca76fc50
tree9d6443e8561ed7c8ed1021a741752c179077e5f1
parent5de5aeca79412b6d588120da4456215d312ea259
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