From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 51066A04DC; Mon, 19 Oct 2020 12:15:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3CA84C8CC; Mon, 19 Oct 2020 12:15:06 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 79F13C8CA for ; Mon, 19 Oct 2020 12:15:04 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E296D5C00BD; Mon, 19 Oct 2020 06:15:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 19 Oct 2020 06:15:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= gYh6yo0HHyKV9f7cL68uccNUcO19d0QutZ+iCUtaUGM=; b=py98eH6V3rk80Ha0 l+R3Xx0YLcZimIkgbx8auOe7JqJ/v4yS8g+4ybZ5SwV075Ej6/W03zyvOnAw6Bv5 KW0BXG/sEggH8IunSs6deHZudAZdIPq/WFHQDQ673ut1V8movIDnNhrm69DOFcmi CGP1hQW4WfitQz0M3ZBQpxHx4QpgR/vi9i2JGMrBraijhE9iTCg0dr5GmhCkUi/c ki3GenEzORpm0UhMKcUnHIaa9avSjrpaMXh35nrwav3lcRCmbeqdteikIqR9qCvD bt8uarD0V1bqWSFkbMEt16N3S1BMQjsIj65eQRgiSi5/p+dQCvJ9uob7lxpt8174 5jYOiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=gYh6yo0HHyKV9f7cL68uccNUcO19d0QutZ+iCUtaU GM=; b=AfjEogdlT4iNTCI/YJlnV/KqkFv74TCO1g6VZX80mlOeZZMFm43TEgJ2+ m01VF0DlFHNjHDfGWTyTgjtWKYIJ7xZpqWLoIAqLNg+oWK+tfd7qwjb1xMqvRjjV /CZ89UlCQmqSNM+wgH7g5YMC8gEvX9qYNsXYXYvTahaisZR14xdm8SLuVU4aqY95 xON7g+m2maiFJ8VgGU2r3+NDP0uWmZnwCHyt3MpozHXkalYvp1iep6xdZmF7UTco +JLqMLHfGZ1/ldFH4Fvsf1rOaEOEaQFC+g5ExVsQVZedfdBtFhTVRdvEc8NTQiI9 zBQxtMNjj1HJKHH9YD4QwXKUpnyzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrjedugddviecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 75CF73064674; Mon, 19 Oct 2020 06:15:01 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Harman Kalra Date: Mon, 19 Oct 2020 12:15:00 +0200 Message-ID: <2942658.pgq2AfEOzE@thomas> In-Reply-To: <20200903232822.19167-1-stephen@networkplumber.org> References: <20190724172037.7776-1-stephen@networkplumber.org> <20200903232822.19167-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal/interrupts: add function to allow interruptible epoll 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/09/2020 01:28, Stephen Hemminger: > The existing definition of rte_epoll_wait retries if interrupted > by a signal. This behavior makes it hard to use rte_epoll_wait > for applications that want to use signals do do things like > exit polling loop and shutdown. > > Since changing existing semantic might break applications, add > a new rte_epoll_wait_interruptible() function that does the > same thing as rte_epoll_wait but will return -1 and errno of EINTR > if it receives a signal. > > Signed-off-by: Stephen Hemminger > Reviewed-by: Harman Kalra Applied, thanks