Message ID | 1446060551-21029-3-git-send-email-stuart.haslam@linaro.org |
---|---|
State | Accepted |
Commit | a0a20997629be7045222980da6e393bca9a9fa37 |
Headers | show |
Merged. On 12/18/2015 15:12, Stuart Haslam wrote: > 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> > --- > platform/linux-generic/test/pktio/pktio_run | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/platform/linux-generic/test/pktio/pktio_run b/platform/linux-generic/test/pktio/pktio_run > index 4860455..3f73556 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
diff --git a/platform/linux-generic/test/pktio/pktio_run b/platform/linux-generic/test/pktio/pktio_run index 4860455..3f73556 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
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> --- platform/linux-generic/test/pktio/pktio_run | 3 +++ 1 file changed, 3 insertions(+)