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 32C25A00BE; Tue, 28 Apr 2020 03:43:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9699F1D56E; Tue, 28 Apr 2020 03:43:35 +0200 (CEST) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id 44C5F1D51A for ; Tue, 28 Apr 2020 03:43:34 +0200 (CEST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20200428014333euoutp01792784c0f22848a772890e8f0c7aec15~J2FdseN9X1846618466euoutp01E for ; Tue, 28 Apr 2020 01:43:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20200428014333euoutp01792784c0f22848a772890e8f0c7aec15~J2FdseN9X1846618466euoutp01E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1588038213; bh=tT8p8OETiRhpgp3ZsdBE44q8bT2DtojYdeapuEla2BE=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=O9a2ARaE3JSVztmxJIL+ZKS7Jp3Y/25ZZkuFLdrZe5TZFU58nK3ih4TGLSp8XlMRe iHmRCNIkJZoGDytk7wESZIF2fa5BMkhfOgR6hW49csNq46J3YSgWt+agyYQDfY8oQV BIWBVtPaNMdB+r1+AslObP75L8w/7NhawxxJJd+M= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20200428014333eucas1p17b43fba83c4f0ed9ef132992f9580d29~J2FdVHrdS1254012540eucas1p1r; Tue, 28 Apr 2020 01:43:33 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4E.58.60698.54A87AE5; Tue, 28 Apr 2020 02:43:33 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200428014332eucas1p1e619f9b9d0e7b2ae9b9442325f71c59e~J2FcepmLB1742917429eucas1p13; Tue, 28 Apr 2020 01:43:32 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200428014332eusmtrp1833738509fc4047ba3289f29484d79c3~J2FceEmZK0383803838eusmtrp1L; Tue, 28 Apr 2020 01:43:32 +0000 (GMT) X-AuditID: cbfec7f5-a0fff7000001ed1a-ac-5ea78a45c88d Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id B1.7E.08375.44A87AE5; Tue, 28 Apr 2020 02:43:32 +0100 (BST) Received: from [106.210.88.70] (unknown [106.210.88.70]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200428014331eusmtip1404d388afbbf7227c9e5af3f700cdde2~J2FcDhMSc3215432154eusmtip12; Tue, 28 Apr 2020 01:43:31 +0000 (GMT) To: Stephen Hemminger , David Marchand Cc: Liron Himi , dpdk-dev From: Lukasz Wojciechowski Message-ID: <4cd2eaf1-d1d4-0ac1-754b-77d7ef1e18ed@partner.samsung.com> Date: Tue, 28 Apr 2020 03:43:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200427095750.0d96a532@hermes.lan> Content-Transfer-Encoding: 8bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEKsWRmVeSWpSXmKPExsWy7djPc7quXcvjDGa94LLYvqKLzeLdp+1M Fiv2S1ksviPnwOLxa8FSVo/JCy8ye/ScnMfk8X7fVbYAligum5TUnMyy1CJ9uwSujDlTJrMV XOaum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XuqBqXjNKdJ+axgaSEBbQlrg1 +Qc7iC0ikCBxd+JzFhCbWcBG4vzi44wQDUeZJO7vXMoEkmATsJU4MvMrK8gCXgE3iWcnlUDC LAKqElcOXgHbKyoQK9FyURMkzCsgKHFy5hOwkZwChhIvbrxnhxhvJjFv80NmCFteonnrbChb XOLWk/lMExiFZiFpn4WkZRaSlllIWhYwsqxiFEktLc5Nzy021CtOzC0uzUvXS87P3cQIjKNt x35u3sF4aWPwIUYBDkYlHt4H+5fFCbEmlhVX5h5ilOBgVhLhfZQBFOJNSaysSi3Kjy8qzUkt PsRoCvTbRGYp0eR8YIznlcQbmhqaW1gamhubG5tZKInzdggcjBESSE8sSc1OTS1ILYLpY+Lg lGpgVLioO23SnTL/pkjHMM4M77icafOco/c9+hiT6xRcsUi/0d2x52urmGLQMjU1LSUORt1O q0+Pva7w7lNn6xHt+HTgi47NP54N727kSF27e6J2aufCxe1uv77uFFDtebwh68uLjemOh3nn ur+t/Tm9qpirWmzZcomu3PQLq9rfTRPbc3Bzk462EktxRqKhFnNRcSIAtFlRobkCAAA= X-CMS-MailID: 20200428014332eucas1p1e619f9b9d0e7b2ae9b9442325f71c59e X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20200427165808eucas1p2c3740203acc102c24858b3d81486244c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20200427165808eucas1p2c3740203acc102c24858b3d81486244c References: <20200427075048.6afca853@hermes.lan> <20200427095750.0d96a532@hermes.lan> Subject: Re: [dpdk-dev] rte epoll functions 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" W dniu 27.04.2020 o 18:57, Stephen Hemminger pisze: > On Mon, 27 Apr 2020 17:01:21 +0200 > David Marchand wrote: > >> On Mon, Apr 27, 2020 at 4:51 PM Stephen Hemminger >> wrote: >>> On Mon, 27 Apr 2020 13:33:27 +0000 >>> Liron Himi wrote: >>> >>>> Hi, >>>> >>>> >>>> We noticed that the implementation of rte_epoll_wait doesn't stopped on signal such as SIGINT. >>>> >>>> Is anyone know why? >>>> >>>> If that on purpose and cannot be changed, how application can exit gracefully when using rx interrupts for example. >>>> >>>> Regards, >>>> Liron >>>> >>> I noticed that, submitted a patch, and it has been unmerged for 9 months >>> https://protect2.fireeye.com/url?k=b1d79a91-ec04c185-b1d611de-0cc47a31ce4e-7c8024d7bc014fef&q=1&u=https%3A%2F%2Fpatchwork.dpdk.org%2Fpatch%2F57047%2F >> - Indeed, there was no review nor any comment about the "bien fondé" >> of this patch for 9 months, >> - We don't need a new symbol, this should be fixed + symbol versioning >> to keep current behavior. >> >> > We do need a new symbol. People may want the old behavior. Do we need new symbol and new functionality? One can use signalfd to create a file descriptor for set of signals and just pass it to epoll. -- Lukasz Wojciechowski Principal Software Engineer Samsung R&D Institute Poland Samsung Electronics Office +48 22 377 88 25 l.wojciechow@partner.samsung.com