From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 154A81B209 for ; Fri, 28 Sep 2018 13:36:39 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180928113638euoutp02c2ba4c3944ad8ba5afe61166baf4cbb4~YjUSHWbaZ1750917509euoutp027 for ; Fri, 28 Sep 2018 11:36:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180928113638euoutp02c2ba4c3944ad8ba5afe61166baf4cbb4~YjUSHWbaZ1750917509euoutp027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1538134598; bh=aHlUYraflwW2Gsem5GnfBSaNnbTUNt9zqb7YjU6Xw/I=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=L5I1ABW8Hf6RSGBu/j25h+VtV4dCH1tPJMt5oooNqAA9ideR2TZ5CTmmd9Ab4Vold L89MeAS+kesgDO1QGqCEXAHnxrCgVA/9l26baHUvUr1hZSiqXg3yADxzldn3/eDvM+ VNUxnZk6c2+pFExZmpt8qeQCb9jmjX0AJ3e0SSf8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180928113637eucas1p2ae55d3629ad0a872e954197766d1a0d0~YjURiiait1638916389eucas1p2Y; Fri, 28 Sep 2018 11:36:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id EE.C8.04294.5421EAB5; Fri, 28 Sep 2018 12:36:37 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20180928113636eucas1p1fa735300734434c2a13e4ac9e9a6898a~YjUQx8IDm0519005190eucas1p17; Fri, 28 Sep 2018 11:36:36 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20180928113636eusmtrp2b8f9017a566f0f0b010e86d9d2db5390~YjUQgWEpY0309303093eusmtrp24; Fri, 28 Sep 2018 11:36:36 +0000 (GMT) X-AuditID: cbfec7f4-835ff700000010c6-63-5bae12456e9f Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 56.09.04284.4421EAB5; Fri, 28 Sep 2018 12:36:36 +0100 (BST) Received: from [106.109.129.180] (unknown [106.109.129.180]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20180928113635eusmtip27a8d2baad0059fd383881ed920820561~YjUPz2QmY2993329933eusmtip2G; Fri, 28 Sep 2018 11:36:35 +0000 (GMT) To: dev@dpdk.org Cc: Jingjing Wu , Konstantin Ananyev , Wenzhuo Lu , Beilei Xing , Qi Zhang , Xiao Wang , Bruce Richardson , Stephen Hemminger , Keith Wiles , Ferruh Yigit From: Ilya Maximets Date: Fri, 28 Sep 2018 14:38:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180914110109.29900-1-i.maximets@samsung.com> Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHeXfOtqM5eT0aPlgZDA2SvCR+OIF5AQujlD5FOFBnnlR003bU UtG85S3T6Mt0lWmat5mJTM01FackSzGRRCvBSiFMtHIDs0xzO0p++73/5//nufBSBG0QulFJ ynRWpZSnSEX2ZO/rzUnvc3SnzG9jiWbu/igWMHPtwczaep+AmR8YFzPvSjfFTG29GTEzYxsE 833rKcmou6pFTOO8O9Mz8RcxQ19HxCEO4b/rnwnDGw3LgvBKU50gvErXji6TUfaB8WxKUiar 8g2KtU/sejVFpt1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pM/XYarIpNQEfi1OojjCA2r4CdxP6z+5lAbBYBVYnHn/awgdiiAhES q5e/YIWoEZQ4OfMJ2EmcAjYSPZfWgfUyC6hL/Jl3iRnCFpdo+rKSFcKWl9j+dg7zBEahWUja ZyFpmYWkZRaSlgWMLKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzEC43PbsZ+bdzBe2hh8iFGA g1GJhzfh0ZpoIdbEsuLK3EOMEhzMSiK8+6rXRgvxpiRWVqUW5ccXleakFh9iNAV6biKzlGhy PjB15JXEG5oamltYGpobmxubWSiJ8543qIwSEkhPLEnNTk0tSC2C6WPi4JRqYNRfYO9QJsRl WvHSRGVzAae9gQnTTTG+j7OtzpncYTy+rm0z3+ctVs43Vjx8duX3nlbjXJ+sLNnw3aGHJs77 yba6SdUv5uev6583Jk7gXv/ETPdoxOWAV2w+N/8EOhpW5T1q23vK2fcWi+kK3+DCN+ceqt89 +dru8FHfSbdtf9xtUfUtbmXY/kuJpTgj0VCLuag4EQA31aZg5QIAAA== Message-Id: <20180928113636eucas1p1fa735300734434c2a13e4ac9e9a6898a~YjUQx8IDm0519005190eucas1p17@eucas1p1.samsung.com> X-CMS-MailID: 20180928113636eucas1p1fa735300734434c2a13e4ac9e9a6898a X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20180914105928eucas1p2be05dc93e02df94e895de24d5564927c X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180914105928eucas1p2be05dc93e02df94e895de24d5564927c References: <20180903144311eucas1p2b6499c49dbd0d54334e973113cdc5ad6~Q6vBsFYRm1033710337eucas1p2D@eucas1p2.samsung.com> <20180914110109.29900-1-i.maximets@samsung.com> Subject: Re: [dpdk-dev] [PATCH v2 0/2] CPU non-blocking delay 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: Fri, 28 Sep 2018 11:36:39 -0000 Any thoughts on this? Best regards, Ilya Maximets. On 14.09.2018 14:01, Ilya Maximets wrote: > For meson build without deprecation warnings following > patch should be applied first: > http://patches.dpdk.org/patch/44129/ This patch already accepted. I could rebase on latest dpdk-next-net or dpdk-next-net-intel if required (it's trivial). > > Version 2: > * Added comment for EINTR handling for nanosleep. [Stephen Hemminger] > > Ilya Maximets (2): > eal: add nanosleep based delay function > drivers/net: use sleep delay by default for intel NICs > > drivers/net/avf/Makefile | 1 + > drivers/net/avf/base/avf_osdep.h | 4 +- > drivers/net/e1000/Makefile | 1 + > drivers/net/e1000/base/e1000_osdep.h | 2 +- > drivers/net/e1000/meson.build | 2 + > drivers/net/i40e/base/i40e_osdep.h | 6 +-- > drivers/net/ifc/base/ifcvf_osdep.h | 2 +- > drivers/net/ixgbe/base/ixgbe_osdep.h | 2 +- > drivers/net/ixgbe/meson.build | 3 +- > lib/librte_eal/common/eal_common_timer.c | 24 +++++++++ > .../common/include/generic/rte_cycles.h | 11 ++++ > lib/librte_eal/rte_eal_version.map | 1 + > test/test/autotest_data.py | 6 +++ > test/test/meson.build | 1 + > test/test/test_cycles.c | 51 ++++++++++++++----- > 15 files changed, 94 insertions(+), 23 deletions(-) >