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 BD339A04A3; Sun, 14 Jun 2020 10:53:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9F3F64C87; Sun, 14 Jun 2020 10:53:48 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30057.outbound.protection.outlook.com [40.107.3.57]) by dpdk.org (Postfix) with ESMTP id DA6B549E0 for ; Sun, 14 Jun 2020 10:53:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=huQlZYv2wMGlZN3w5cDjrpB08bEFmR72Xueu0Jt2ImNI6ei5IfPMasuQ1Qp8ai+TQAftiVevy2ZHiiW42+yMo4gCM/IMKKHrvFyLBBsxQ27dAcx695afc3rit7b/qFYrcRJXIDTVHJr1ATfy3XjdnATHj2p56DZP1xCW254PsNL+J9zRvCuRqadvReFm9/2dLlUf0m/ChJQWSusKU2r4OYpy8jxEuQ5bNKxgHdwhf5pVHycL+gpztDk9QhMxi/HfHlED5Nbrd2trFNF1rSpbl+4wp8lV4F+IVdHMIl/ZKlJsjjNAIcjfuZ4Kju6G0J5FSr84JcNLUKUnKqVNFXnkuA== 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=lzBhGoB1gQCLVVmmHQlJJOH8+6XjMukkt1XzzwRs5MQ=; b=mbodDgVwTqXC2KEZj6g0jjYFaMlS69R0/OvfY6l/IgH7n1tZsCgMwLxKTb9BgbH7kVkFmS9DGPfCU+iFhS+2fda9KCoI2iGYW1Is5Si95DiCE6LvGz8y/243jbzPmJQb2rrbCxLBl82TfNqY1QvVkxC5wMXLk2ksNGw24e0cdFRRjqJrCXL7kaISPlhTXoY/MpW5oNTLyFQ0ofOHIZUH5qWEDQ++Q6OqOP9MADw7QBbXqGMq4EcSFDJm40Jsl9V9870eHreJ7m2Ru2C49dSB7Cb3FwZUibB5B5zDFkUXo1LUswFmdCuoOEiFVk7VgmQTVTaGN0MxnnvFyBO5Kb4QAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lzBhGoB1gQCLVVmmHQlJJOH8+6XjMukkt1XzzwRs5MQ=; b=bi80S4Ie72lYZFRw6RI81cMoYk5PBKXt8gZMZ2cnebvklomb22qFbREuFF+d0khnhmmtYxWy7yDOkXbpkROmS5yuVWKwdjmxR9vfB8R92wQuiIV3KKzUiiHu2m3aoJv6aRvtBhuU6LLzaAOGiBs/sUrIXOB7E0Oed6A6x1GZiFA= Received: from AM0PR05MB5313.eurprd05.prod.outlook.com (2603:10a6:208:f2::28) by AM0PR05MB5299.eurprd05.prod.outlook.com (2603:10a6:208:ed::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.18; Sun, 14 Jun 2020 08:53:46 +0000 Received: from AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::3069:d8f4:fadc:4d7]) by AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::3069:d8f4:fadc:4d7%5]) with mapi id 15.20.3088.028; Sun, 14 Jun 2020 08:53:46 +0000 From: Tal Shnaiderman To: Fady Bader , "dev@dpdk.org" CC: Fady Bader , Thomas Monjalon , Tasnim Bashar , Yohad Tor , "dmitry.kozliuk@gmail.com" , "harini.ramakrishnan@microsoft.com" , "ocardona@microsoft.com" , "anand.rawat@intel.com" , "ranjit.menon@intel.com" Thread-Topic: [PATCH v8 0/3] eal timer split and implementation for Windows Thread-Index: AQHWQigSKFBg2zs4CUKskjYDcHzhUKjXzMNg Date: Sun, 14 Jun 2020 08:53:45 +0000 Message-ID: References: <20200614084348.22404-1-fady@mellanox.com> In-Reply-To: <20200614084348.22404-1-fady@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [37.142.1.17] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: a34383e9-3096-4048-d2f3-08d8104072aa x-ms-traffictypediagnostic: AM0PR05MB5299: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 04347F8039 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: COJqnGdK1rShRIlroJwToRdzM05lbOnOnQBmanB8Yy01kx05lSn3g6LMa+/V5x8jc39+giDRzmayEDmX1hZ+C8RSTmQkTxerJ0VRuBvPm5hEyexNe777O3mJXNvSwArNM0h+xRsOzWi1u0ACWS9vwBAWiTmCy6y76nhiyChFrKUuDhgR2E9q0dKsKMG0aF9zsqR3oLBhVCjjMU2oSxcaer6XG4v19zCUTu0hA3PqPrVombd1DljpfNEHtmkFfVJWtXGzw0J9zUYXViXCAxDF/WRIJXGR0/H3Ec7GQtr3YokkBlL+ywcZWWQZL7/Bxnkd x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB5313.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(136003)(366004)(39860400002)(376002)(346002)(66946007)(33656002)(66476007)(66446008)(64756008)(66556008)(52536014)(76116006)(71200400001)(8676002)(478600001)(55016002)(86362001)(186003)(7696005)(8936002)(5660300002)(54906003)(2906002)(110136005)(4326008)(9686003)(83380400001)(26005)(6506007)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: f0n3S3jKEqjdux+zRdq8c76KSuGBdDBpJ2/k6XK/aiMReA98yW4/m64BBpr+qkjwhGI5X6fprGJvgw953wndiJXz8b34QIkk6hvM5akxv4+TbwI6LFtpjmbZc9bUU+sAzhKRC7XstvPo/S/8MAY+LUxtiD6S89/lrIIp2SYtzz2+sDzUjdPMqzk6xl/bJtcKeayaAJBXe7RD8T8AVwc1m9UOdztRAIoi14sfBAXfrAOhVNnh3tn9qQwtdrSVvgr83a5ZtUe04zu0N7DH8niNrhuWnYO5cnnG2OFJuN0G7UQsLbmzMV+Y6rWrmd8kS1UoPeCTgsOLt+KeQrHB0MyCDedDpEj7duwZT3ZVpZ7O+PwnX3/T+QqM0wGNUIlWIygVT/htLzrFNIGk5xxNmkFZ9lnAn7mmSBXEDGGP1FZvQ0EUfxMxepN9NAVn/XRyN+AeXqyfuNicSndYVkK41438fZV0dk+z02alTYc4rybr1cA= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a34383e9-3096-4048-d2f3-08d8104072aa X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jun 2020 08:53:45.9744 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2lM+ZM9ChO+7Qk21QHQ76BWFhuUxYXR86scExUm9YdI85MXyvQY6GfO4nPLDobpMGAfbSnYEt4vHM4LTuJ9rZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5299 Subject: Re: [dpdk-dev] [PATCH v8 0/3] eal timer split and implementation for Windows 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" > Subject: [PATCH v8 0/3] eal timer split and implementation for Windows >=20 > This patchset splits OS dependent EAL timer functions and implements them > for windows. >=20 > v2: > * fixing styles and correctness errors. > v3: > * fixing correctness, get_tsc_freq was reimplemented. > v4: > * rebasing to the new version of "Windows basic memory management" > series. > * fixing styles and correctness errors. > v5: > * breaking the dependency on "Windows basic memory management" > series. > * fixing correctness errors and warnings. > v6: > * fixing styles and correctness errors. > v7: > * fixing make errors. > v8: > * fixing error handling issue. > * removed unneded headers. >=20 > Fady Bader (3): > timer: move from common to Unix directory > eal: proc type function for Windows > timer: support EAL functions on Windows >=20 > lib/librte_eal/common/eal_common_timer.c | 22 -------- > lib/librte_eal/common/meson.build | 1 + > lib/librte_eal/freebsd/Makefile | 4 ++ > lib/librte_eal/linux/Makefile | 4 ++ > lib/librte_eal/meson.build | 4 ++ > lib/librte_eal/unix/eal_unix_timer.c | 29 ++++++++++ > lib/librte_eal/unix/meson.build | 6 +++ > lib/librte_eal/windows/eal.c | 12 +++++ > lib/librte_eal/windows/eal_timer.c | 90 > ++++++++++++++++++++++++++++++++ > lib/librte_eal/windows/include/rte_os.h | 2 + > lib/librte_eal/windows/meson.build | 1 + > 11 files changed, 153 insertions(+), 22 deletions(-) create mode 100644 > lib/librte_eal/unix/eal_unix_timer.c > create mode 100644 lib/librte_eal/unix/meson.build create mode 100644 > lib/librte_eal/windows/eal_timer.c >=20 > -- > 2.16.1.windows.4 Tested-by: Tal Shnaiderman Reviewed-by: Tal Shnaiderman