diff mbox

[NETMAP,06/12] linux-netmap: pktio: set POLL_TMO to 0 to poll without blocking

Message ID 1425322017-14636-7-git-send-email-ciprian.barbu@linaro.org
State New
Headers show

Commit Message

Ciprian Barbu March 2, 2015, 6:46 p.m. UTC
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
---
 platform/linux-netmap/odp_packet_netmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/platform/linux-netmap/odp_packet_netmap.c b/platform/linux-netmap/odp_packet_netmap.c
index 91b7f68..bd864b5 100644
--- a/platform/linux-netmap/odp_packet_netmap.c
+++ b/platform/linux-netmap/odp_packet_netmap.c
@@ -52,7 +52,7 @@ 
 
 #define ETH_PROMISC  1 /* TODO: maybe this should be exported to the user */
 #define WAITLINK_TMO 2
-#define POLL_TMO     50
+#define POLL_TMO     0
 
 static int nm_do_ioctl(pkt_netmap_t * const pkt_nm, unsigned long cmd,
 		       int subcmd)