From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20086.outbound.protection.outlook.com [40.107.2.86]) by dpdk.org (Postfix) with ESMTP id 162A9D4CE for ; Wed, 9 May 2018 12:02:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=U+WAgd0XQ9cqj9V3YpsCkBWBPz+XzsKByxf3G+3xDL0=; b=q2IoOg6XZVVVdWFUs1nxsXxOS3slem/1UhFBopcElTBeTcO2oFKXZxM2zQZK+QkFTAtjiLv2P9AwV1wakx8oBScMn10wjFBIiAhXBRvYlM6shaUfSUW7jol0EOZh8pfEI7MrmOgG84hr9o50XcNndiaOf+Bf9psimVNyG6A6vhM= Received: from AM2PR04MB0753.eurprd04.prod.outlook.com (10.160.56.141) by AM2PR04MB0706.eurprd04.prod.outlook.com (10.160.55.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.755.16; Wed, 9 May 2018 10:02:32 +0000 Received: from AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::50e2:b5b1:c4ed:69d6]) by AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::50e2:b5b1:c4ed:69d6%7]) with mapi id 15.20.0755.012; Wed, 9 May 2018 10:02:32 +0000 From: Hemant Agrawal To: Shreyansh Jain , "jerin.jacob@caviumnetworks.com" CC: "dev@dpdk.org" , Nipun Gupta Thread-Topic: [PATCH 1/2] event/dpaa2: remove check on return value from epoll wait Thread-Index: AQHT53TCn8ofWDSPhUqlQbAgzvn5jaQnKpmA Date: Wed, 9 May 2018 10:02:32 +0000 Message-ID: References: <20180509092053.5956-1-shreyansh.jain@nxp.com> In-Reply-To: <20180509092053.5956-1-shreyansh.jain@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM2PR04MB0706; 7:vVwDlnsC+Z2QqM+reAOva3JYTrhnapiqLHRKjohu0IjqJFe/zTqk92wHfWmZwqFRcLHO9rtL+R70t9/cvwLzA2knC+4HMizsoTzPtbJuAC0jCuEmxlbrhJ96WvtrYfRqzuLAqiQGf4hxI8ElZQ9yKKA4r4lR8B7e8gQ8Te/GZK7ChLRoMI5EcWYFsXp66Ii3YQmVMFqE+Mw+S2p/XQ14e9jHic5Ee6pQAkRyATcH+RKOnArBW4MrNhjB1R/SN+UX x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0706; x-ms-traffictypediagnostic: AM2PR04MB0706: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:AM2PR04MB0706; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0706; x-forefront-prvs: 0667289FF8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(366004)(346002)(39380400002)(396003)(189003)(199004)(76176011)(7696005)(6506007)(2900100001)(11346002)(6436002)(305945005)(7736002)(81166006)(14454004)(8676002)(81156014)(6116002)(3846002)(476003)(99286004)(3660700001)(54906003)(25786009)(110136005)(68736007)(446003)(2906002)(316002)(86362001)(3280700002)(6246003)(26005)(97736004)(229853002)(53936002)(5660300001)(66066001)(2501003)(6346003)(4326008)(478600001)(102836004)(5250100002)(74316002)(44832011)(55016002)(486006)(8936002)(106356001)(33656002)(105586002)(9686003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0706; H:AM2PR04MB0753.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-microsoft-antispam-message-info: fEOsXI/6JIXRf3tXsNwGcuXzOAfTnxnfdz7mgzK9xnkpJhpHP/Kd54iEwSs9NWy+5R1uo/t1Gc1ldF5OheeLDJYyDZocQVxMePGixSbew+DZcvmdgptptW2DxfpoHTLZZocXMAAtR9RxbHx7B9CgNsNo+2M/w7WzGgx/XQKA/sG7ey+8QzqV72rp3s1/znhD spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 4bbe9c31-ecfa-40e5-6f46-08d5b593fb71 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4bbe9c31-ecfa-40e5-6f46-08d5b593fb71 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2018 10:02:32.5167 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0706 Subject: Re: [dpdk-dev] [PATCH 1/2] event/dpaa2: remove check on return value from epoll wait 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: Wed, 09 May 2018 10:02:35 -0000 Subject: [PATCH 1/2] event/dpaa2: remove check on return value from epoll w= ait Importance: High From: Nipun Gupta Driver shouldn't take decision on signals received. The return from epoll w= as blocking on EINTR which is not the right use-case. Fixes: 36d87bb92230 ("event/dpaa2: handle timeout using interrupts in deque= ue") Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal