Message ID | 1425322017-14636-7-git-send-email-ciprian.barbu@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBC42RN5IWUGBBW7A2KTQKGQENO4DPHI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 81EF8214B5 for <linaro@patches.linaro.org>; Mon, 2 Mar 2015 18:47:56 +0000 (UTC) Received: by wibbs8 with SMTP id bs8sf11190923wib.2 for <linaro@patches.linaro.org>; Mon, 02 Mar 2015 10:47:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=7e1BwGZNyqg758HUzHrlZ30k4BkjCnBzBIfomcn3h0Q=; b=Tr5XexUllSQU+x6FjZvq9WTT8Z0GKYDL6c5sLdf6W2PtTDIw+40iQugRWpYai7pdRs ffK/8Aj02z10fBVzHpBZK8jFRr4F4LEVV8Tnszzogf/ps2CxpKjKoz7xjW7px/4GStAl PriPynMPcpwmWY9MmAIOOvYrRAXTG9/JZX/ND7wW/CGTzg0VDhs8bmiOuLj+x0h1uvqi 71hO0I69jvVK89Y8FoLCreA5yrUoOoCE2zTFwSOzqmjPpDge/k2ddX0avcBIZZn/jdVn l9e/r1+PejBiaxZilJwgCXnMIVdfZpOz6KEwLGXulNLvnhiUqF4+6ETCn0ohSJ6PXNDY FyFA== X-Gm-Message-State: ALoCoQlxWzxxKg5M10NonzZIM3bfssTCkdhPM/f8/4FtQ2WH2A6BQCdymw/PhYgnzcDMPo4wCz60 X-Received: by 10.180.182.201 with SMTP id eg9mr2422169wic.3.1425322075841; Mon, 02 Mar 2015 10:47:55 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.121.100 with SMTP id lj4ls258806lab.86.gmail; Mon, 02 Mar 2015 10:47:55 -0800 (PST) X-Received: by 10.112.211.200 with SMTP id ne8mr25341160lbc.73.1425322075551; Mon, 02 Mar 2015 10:47:55 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id d1si9499597lag.45.2015.03.02.10.47.55 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2015 10:47:55 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by lams18 with SMTP id s18so32357125lam.13 for <patchwork-forward@linaro.org>; Mon, 02 Mar 2015 10:47:55 -0800 (PST) X-Received: by 10.152.87.3 with SMTP id t3mr25784663laz.19.1425322075474; Mon, 02 Mar 2015 10:47:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp90124lbj; Mon, 2 Mar 2015 10:47:54 -0800 (PST) X-Received: by 10.140.38.100 with SMTP id s91mr49326764qgs.37.1425322071785; Mon, 02 Mar 2015 10:47:51 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id s30si12372443qge.45.2015.03.02.10.47.50 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 02 Mar 2015 10:47:51 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <lng-odp-bounces@lists.linaro.org>) id 1YSVNc-0008F0-UC; Mon, 02 Mar 2015 18:47:48 +0000 Received: from mail-lb0-f170.google.com ([209.85.217.170]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from <ciprian.barbu@linaro.org>) id 1YSVN7-00089v-O8 for lng-odp@lists.linaro.org; Mon, 02 Mar 2015 18:47:17 +0000 Received: by lbiz12 with SMTP id z12so4190454lbi.12 for <lng-odp@lists.linaro.org>; Mon, 02 Mar 2015 10:47:11 -0800 (PST) X-Received: by 10.152.9.230 with SMTP id d6mr25295890lab.16.1425322031819; Mon, 02 Mar 2015 10:47:11 -0800 (PST) Received: from cipriantemp.enea.se (sestofw01.enea.se. [192.36.1.252]) by mx.google.com with ESMTPSA id i13sm2696725lab.38.2015.03.02.10.47.10 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Mar 2015 10:47:11 -0800 (PST) From: Ciprian Barbu <ciprian.barbu@linaro.org> To: lng-odp@lists.linaro.org Date: Mon, 2 Mar 2015 20:46:51 +0200 Message-Id: <1425322017-14636-7-git-send-email-ciprian.barbu@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1425322017-14636-1-git-send-email-ciprian.barbu@linaro.org> References: <1425322017-14636-1-git-send-email-ciprian.barbu@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH NETMAP 06/12] linux-netmap: pktio: set POLL_TMO to 0 to poll without blocking X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ciprian.barbu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
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)
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org> --- platform/linux-netmap/odp_packet_netmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)