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 905BAA0547; Wed, 15 Jul 2020 17:40:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B55192C4F; Wed, 15 Jul 2020 17:40:13 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 927242C38 for ; Wed, 15 Jul 2020 17:40:11 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06FFFOjT026376; Wed, 15 Jul 2020 08:40:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pfpt0818; bh=6WAq0UWyKVsScXfUpLAB/CoiHcpZxvTWipqIGdQ4Pv8=; b=F3HlgB1D+AYohx1ViPwpBOIZC5a8T0p2qwltQRUnKbM9qmocR7uzRn5Ne1D+D3ZG+fM1 a1zHJabxrR68dCYaBaWIsijiZ+FOPw3kqCPasLEeuCftiRpCOHNcfSHddhBzVJjTaXCj uZrl9yS8H8FL2gEzm1MdLOsGp+lmjM0bpeuJ5BLemuCbpJfFxBbi3sS221bNpQqKoGA0 QglA/oLO7AMek9YYsyqU1PEKnGCCuwIYxWM8DzlrDZ1sZ7PoU5557rgLvZ8tnnphnHh9 pEZpmqahslw0hAgem+FGf1HxsgyC7sD+Av6WZOs04yyrX92yK7oenRN+fUPM8VumPRmB 5g== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 327asnj8xh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 15 Jul 2020 08:40:10 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 15 Jul 2020 08:40:09 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.171) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 15 Jul 2020 08:40:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TeFYUreW8k62Ie+86mEwi/X47CM9PluEKpE7bNOxrIYphvaCOC7A+76tWP30PR1gyh47x6LF5zpu84gyfId5p9+34PjysfZyJpy1oFIYtLvMTdVUaIldn1HnXvY/24XcGo6SIhTAu+HU9etKrI56j/ZXDIztuzXy9GZmlh4goOXD0TXg2TuEe7IwmU4R8EYo0yLIt95fvwVyiUUsJngf/0Qu1hfSmLqx9nHmjF/FkU2EuyRsf2GNS2T1T8bt6ErPJ5mioI9dfj85hYqDOJrITgqmHSUNR3oUHhgfWH37oiMnY8+BmdSzEncDsHoLU9C5cax1lKafrAP4x0k+0+upVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6WAq0UWyKVsScXfUpLAB/CoiHcpZxvTWipqIGdQ4Pv8=; b=jZ+0lgUKTZtOmRJwTwupmUZiDBN/x29YaGvDj3WpnxVQQ+gNIY1sPEF3+KPPuM4TZ2EuA3qQik+YOY0UGe67YXe9yJM6F5BptImm+R0vic0vS/AzfirxqywFoLtFJ4IRaAkPKF934zfExbmHKHvJKDuDeE/9iL5//2HPZLe+FiLdh4c0bQXMgPQ9UQHSfRzZmlRw0B96OmqJYoll/MzO+D3MpqhK0dvZh+ZoBUOQRrBriHSEslhGiBS4d1lhvKyWxgmIX8t+w3kBf/mPwM/tGhOET1QmMKCOvUGPMGS2xUpjXUiKZLwf2Qxa3rNGVIpYeWvxyUAYw4nn0cctC3G6fQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6WAq0UWyKVsScXfUpLAB/CoiHcpZxvTWipqIGdQ4Pv8=; b=QMhXaPzWxJ1EgW4dHJxTHll2n2HlgIM1IS85TYQIdpVF3V6Zqrc94XUwgszNMOpwnXHjKVEZyupdHa3laT65cgwIqqJTkvQMzFkomHcJvCrD4MX/eAMEFDB8fXKsl+hGG+JSESbq9GHUeKV04WU2AeRKCT2XpIURKNQ1dhWQqV4= Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=marvell.com; Received: from MWHPR18MB1070.namprd18.prod.outlook.com (2603:10b6:300:a5::11) by MWHPR18MB1293.namprd18.prod.outlook.com (2603:10b6:320:2b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Wed, 15 Jul 2020 15:40:07 +0000 Received: from MWHPR18MB1070.namprd18.prod.outlook.com ([fe80::e895:bdac:e157:2ed2]) by MWHPR18MB1070.namprd18.prod.outlook.com ([fe80::e895:bdac:e157:2ed2%11]) with mapi id 15.20.3195.018; Wed, 15 Jul 2020 15:40:07 +0000 Date: Wed, 15 Jul 2020 21:09:52 +0530 From: Harman Kalra To: Stephen Hemminger CC: Message-ID: <20200715153951.GA97537@outlook.office365.com> References: <20190724172037.7776-1-stephen@networkplumber.org> <20200713224133.6b7f72ba@hermes.lan> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200713224133.6b7f72ba@hermes.lan> User-Agent: Mutt/1.10.0 (2018-05-17) X-ClientProxiedBy: BM1PR01CA0091.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::31) To MWHPR18MB1070.namprd18.prod.outlook.com (2603:10b6:300:a5::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from outlook.office365.com (115.113.156.2) by BM1PR01CA0091.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Wed, 15 Jul 2020 15:40:05 +0000 X-Originating-IP: [115.113.156.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b607f3be-2eaa-4335-07db-08d828d5598f X-MS-TrafficTypeDiagnostic: MWHPR18MB1293: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yfscrgAdw1hUFX5bUEdM78xCmcRbqMn3MyCkMeS3PnDa/ZS7ayf2MalLbFFCliO7RpSUUYVoDf6Hayi8anZlEpDh4sHrZjMqcgWtd0OmrdKm2bYJU35yzhZpPEaAIC1JdrXKrk1JTo/ZY45Vt0j56WPJQCbhY4V2rf6Pz4XUzm6v36meUITql1nNk2XPX2730stXHGr7vQgsMhAq1su6M7OEtHc+VAzhapZTJEhTGPvit19L+q4M3FZg7i7ni66l0ENXEP/PIZKcuZrBdenlMHGB7w6k3g+5ZU3hv9vSc6RqB2ZYVogEh9589fM6tIiB7w+A95NKYwinBNHklLIMRA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR18MB1070.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(39860400002)(376002)(136003)(396003)(366004)(55236004)(2906002)(16526019)(8936002)(478600001)(6916009)(52116002)(5660300002)(8676002)(86362001)(66556008)(186003)(4326008)(6666004)(6506007)(33656002)(55016002)(9686003)(316002)(956004)(66476007)(26005)(1076003)(7696005)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: B9/L99uKcAPaR4nhM8O6OCkMQWViV4r6+wGTekn3xDb5+ODSTpIvcPJtB3V2jidTNsz2FPRTiQVGvyKk+kcdo8ZYaKtK54CpfzvvDBNhr47CSBE76vZ8R4enkxUdK5KlqAdb5I2fGScaqXDmH+FNAtGTkAZUxXR73pdvNWVCJZgLGlsfsqyUiHDeXHtHyC46OheI3sXtkcS3xyRoSVeZ+UUpWvh01R0GS/r7KJovQkEPKOZdlXENcOWbCtnVXOvPOxuIFdI6spnU4X4VRUqzfarhymrlD2QKKagUoL4LldWFBdvskw5cWOCY9eZdsLz4wi0EnmUsMCKVv/TlLJZKmxV5Do9e9qF57ZqdufCwxr6HZ4Jxtic0p08plBxqzegoHh6peC53AI6YlrMJs70d2J7xje50oXo8J3FOwzMO2LvDNBtWFJlS0A1PMobwhYiOwrKOciJuIe1R73BryAzhaSD4gmnX1gEbwR7jlTywf1A= X-MS-Exchange-CrossTenant-Network-Message-Id: b607f3be-2eaa-4335-07db-08d828d5598f X-MS-Exchange-CrossTenant-AuthSource: MWHPR18MB1070.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2020 15:40:07.3164 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 07ILGXh6W7fzPndYhLwKPGBtCnNEEXrukCFYGFAHnGAmgoNvtt6H/5NIkGoifsOYshk/58m1Ef8sSttLcABZMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR18MB1293 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-15_12:2020-07-15, 2020-07-15 signatures=0 Subject: Re: [dpdk-dev] [PATCH] 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" On Mon, Jul 13, 2020 at 10:41:33PM -0700, Stephen Hemminger wrote: > On Wed, 24 Jul 2019 10:20:37 -0700 > Stephen Hemminger wrote: > > > 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 Hi Stephen, I have reviewed and tested the patch, looks good to me. Can you please rebase the patch to latest tree. Thanks Harman > > This patch has been sitting unreviewed, uncommented, and unmerged for > two releases. It seems only patches from HW vendors get the attention.