diff mbox

[PATCHv4,08/11] cunit: use special device for testing

Message ID 1417450537-7640-9-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Dec. 1, 2014, 4:15 p.m. UTC
Use special device for cunit tests. Named as loop odp pktio dev.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 test/validation/odp_pktio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/test/validation/odp_pktio.c b/test/validation/odp_pktio.c
index 9f3cb40..67dd8d0 100644
--- a/test/validation/odp_pktio.c
+++ b/test/validation/odp_pktio.c
@@ -168,7 +168,7 @@  int main(void)
 	}
 
 	/* Open a packet IO instance for this thread */
-	pktio = odp_pktio_open("eth0", pool);
+	pktio = odp_pktio_open("loop", pool);
 	if (pktio == ODP_PKTIO_INVALID) {
 		fprintf(stderr, "Error: pktio create failed\n");
 		return -1;