aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorQuentin Monnet <quentin.monnet@netronome.com>2018-01-23 11:22:53 -0800
committerDavid S. Miller <davem@davemloft.net>2018-01-23 20:24:31 -0500
commitcaf952288d715df32b2e70c64506849287844fe4 (patch)
tree95e8ba486548979c4613c0c68b040ace36458d57 /drivers/net
parentnetdevsim: add extack support for TC eBPF offload (diff)
downloadlinux-dev-caf952288d715df32b2e70c64506849287844fe4.tar.xz
linux-dev-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 '')
0 files changed, 0 insertions, 0 deletions