aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Haslam <stuart.haslam@linaro.org>2015-12-18 12:12:32 +0000
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-12-30 18:02:16 +0300
commita0a20997629be7045222980da6e393bca9a9fa37 (patch)
tree5187ec054ddf6647f53489f04f64dd949c4da712
parente621406c9dd6579f0eb21e9ed491b6cd4226cca0 (diff)
linux-generic: validation: pktio: disable netmap
Explicitly disable the netmap pktio type when attempting to test the socket based types. Without this on systems with netmap support enabled (the modules loaded) the socket interfaces may not be tested. Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rwxr-xr-xplatform/linux-generic/test/pktio/pktio_run3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linux-generic/test/pktio/pktio_run b/platform/linux-generic/test/pktio/pktio_run
index 3c48233d1..7029ab207 100755
--- a/platform/linux-generic/test/pktio/pktio_run
+++ b/platform/linux-generic/test/pktio/pktio_run
@@ -52,6 +52,9 @@ run_test()
unset ODP_PKTIO_DISABLE_SOCKET_${distype}
done
+ # this script doesn't support testing with netmap
+ export ODP_PKTIO_DISABLE_NETMAP=y
+
for distype in SKIP MMAP; do
if [ "$disabletype" != "SKIP" ]; then
export ODP_PKTIO_DISABLE_SOCKET_${distype}=y