]> git.proxmox.com Git - mirror_iproute2.git/commit
iplink: document XDP subcommand to force the XDP mode.
authorMatteo Croce <mcroce@redhat.com>
Wed, 13 Feb 2019 14:40:30 +0000 (15:40 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 13 Feb 2019 22:02:44 +0000 (14:02 -0800)
commit619765fe14b640c9aa8eff73fa5bc32da3cbfe80
treee8a47f3962fc4a60bcdde5d37d4e89fc765cf5c9
parent0f3f0ca3a2aef77b0e4009a8de31cb48f58993fc
iplink: document XDP subcommand to force the XDP mode.

When attaching an eBPF program to a device, ip link can force the XDP mode
by using the xdp{generic,drv,offload} keyword instead of just 'xdp'.
Document this behaviour also in the help output.

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Fixes: 14683814 ("bpf: add xdpdrv for requesting XDP driver mode")
Fixes: 1b5e8094 ("bpf: allow requesting XDP HW offload")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iplink.c