diff mbox

[2/9] linux-generic: validation: pktio: disable netmap

Message ID 1446060551-21029-3-git-send-email-stuart.haslam@linaro.org
State Accepted
Commit a0a20997629be7045222980da6e393bca9a9fa37
Headers show

Commit Message

Stuart Haslam Oct. 28, 2015, 7:29 p.m. UTC
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(+)

Comments

Maxim Uvarov Dec. 30, 2015, 3:13 p.m. UTC | #1
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 mbox

Patch

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