diff mbox

[PATCHv3,08/10] cunit: use special device for testing

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

Commit Message

Maxim Uvarov Dec. 1, 2014, 2:08 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 1d31bf4..52bd826 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;