xdp: pass XDP flags into install handlers
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 22 Jun 2017 01:25:03 +0000 (18:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jun 2017 17:42:18 +0000 (13:42 -0400)
commit32d602771b624e3a2fc86d5e220e9fa7dced767a
tree5e02332e6788e85abc350b9421fc433f66adc6dd
parent9bd780f5e0663035d41a95a6b87eced011ba7e2a
xdp: pass XDP flags into install handlers

Pass XDP flags to the xdp ndo.  This will allow drivers to look
at the mode flags and make decisions about offload.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c