summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorQuentin Monnet2018-01-23 20:22:53 +0100
committerDavid S. Miller2018-01-24 02:24:31 +0100
commitcaf952288d715df32b2e70c64506849287844fe4 (patch)
tree95e8ba486548979c4613c0c68b040ace36458d57 /drivers
parentnetdevsim: add extack support for TC eBPF offload (diff)
downloadkernel-qcow2-linux-caf952288d715df32b2e70c64506849287844fe4.tar.gz
kernel-qcow2-linux-caf952288d715df32b2e70c64506849287844fe4.tar.xz
kernel-qcow2-linux-caf952288d715df32b2e70c64506849287844fe4.zip
selftests/bpf: add checks on extack messages for eBPF hw offload tests
Add checks to test that netlink extack messages are correctly displayed in some expected error cases for eBPF offload to netdevsim with TC and XDP. iproute2 may be built without libmnl support, in which case the extack messages will not be reported. Try to detect this condition, and when enountered print a mild warning to the user and skip the extack validation. Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions