]> git.proxmox.com Git - mirror_iproute2.git/commit
iplink: communicate ifindex for xdp offload
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 24 Nov 2017 02:12:08 +0000 (18:12 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 26 Nov 2017 19:57:58 +0000 (11:57 -0800)
commit4f2eb14f71bfb091228f4a9979c01daa207d4582
tree279dd63a8a22ff8deed5a20b54c135d76b388e1f
parenteb91c55731b580d21abdd5e2c0615913ac0f605f
iplink: communicate ifindex for xdp offload

When xdpoffload option is used, communicate the ifindex down
to the kernel to trigger device-specific load.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
ip/iplink.c
ip/iplink_xdp.c
ip/xdp.h