From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f173.google.com (mail-pf0-f173.google.com [209.85.192.173]) by dpdk.org (Postfix) with ESMTP id 2CD60231E for ; Thu, 29 Mar 2018 18:59:45 +0200 (CEST) Received: by mail-pf0-f173.google.com with SMTP id g14so3643635pfh.3 for ; Thu, 29 Mar 2018 09:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HivOL5+ft1daOp0bxeEfVB0LXdtldI8eLE6kFtTmbB8=; b=LKsrQai3abgvVGb+74GlJ3mNi9ZVZZGwKmpC0VtVCjSBg374c8ZxHuuQp/1VEOyb4R PrWNL8gOtvsRIV8jFpGeErrHk0c+x/OyGZI7m7XY13s8l2E924je8FsG3cgxUGnR4S8N bafasOfg/sHJUBjI0s+t2nlaei6bvLZcsNOwXtfXH/if4wTqceQKG4w44PjfsFPrGuxq kUcvBv6de8yiAUSXTqkTJwO+kT0eR6sEK+XIxIe7HzwCuvzkdxoZZ/89qyVH7DnzJFh5 iH7Vme5Hti8qA+aNg4BYh3IHz8+rmIgDvKRwV9dKmD9wtDiB4gnrpRQbEZPgqdxpkeY/ QySw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HivOL5+ft1daOp0bxeEfVB0LXdtldI8eLE6kFtTmbB8=; b=KYR1yuTxtLJfkd0WrL3N06/rpj1FndkmXGLQ1tQ63gyT4nBvTrM/2h5+q0jI9utPDZ wjWqyQ66M4MDgjY0lbK77un+ha9SlSjnmKzjpFdpdiKnZEaow2Mq4my6CgjIgzNB0UzD en8YUqEUflAMU0LfrjKggpXpyPzGfZ0lzMOabiguIR0qUN2F7lGVTdj4v0gpcLIfjszf 8WSuAsqu6gd0+SK0rH2YNLDBrN7EW+JlLDZQvnlJL9EB73gAWYW8Rf55iKXqTNZU74eR sUMBKM65atK+06OdqIkgFd54c33D0g6E+4UMm3jiXt8ttss/E7E+xkghWgu+0IUuL6r3 RRQw== X-Gm-Message-State: AElRT7FKHEgs01u8Z/IrS2YpGa41MUUbNnh/XEb/UlxGJqxFzjpVS+qb LtJaLsINJRUkF8xTFSjNW6058Q== X-Google-Smtp-Source: AIpwx4/X6XSzrxNSMpCXNbG0qk9WKlBwxqtLQ4xT995MYdS5U/MoccfkHEPZyDPWNClTQgHWOGegmQ== X-Received: by 10.167.129.217 with SMTP id c25mr7041661pfn.143.1522342783200; Thu, 29 Mar 2018 09:59:43 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id 14sm15037768pfi.164.2018.03.29.09.59.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 09:59:43 -0700 (PDT) Date: Thu, 29 Mar 2018 09:59:40 -0700 From: Stephen Hemminger To: Jeff Guo Cc: bruce.richardson@intel.com, ferruh.yigit@intel.com, konstantin.ananyev@intel.com, gaetan.rivet@6wind.com, jingjing.wu@intel.com, thomas@monjalon.net, motih@mellanox.com, harry.van.haaren@intel.com, jianfeng.tan@intel.com, jblunck@infradead.org, shreyansh.jain@nxp.com, dev@dpdk.org, helin.zhang@intel.com Message-ID: <20180329095940.14205ef9@xeon-e3> In-Reply-To: <1522339205-27698-4-git-send-email-jia.guo@intel.com> References: <1522063256-3997-5-git-send-email-jia.guo@intel.com> <1522339205-27698-1-git-send-email-jia.guo@intel.com> <1522339205-27698-4-git-send-email-jia.guo@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH V17 3/4] eal/linux: uevent parse and process X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2018 16:59:45 -0000 On Fri, 30 Mar 2018 00:00:04 +0800 Jeff Guo wrote: > + ret = ioctl(netlink_fd, FIONBIO, &nonblock); > + if (ret != 0) { > + RTE_LOG(ERR, EAL, "ioctl(FIONBIO) failed.\n"); > + goto err; > + } > + retu Since you use NOWAIT option, this is unnecessary.