From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id BD7E3A00E6 for ; Tue, 11 Jun 2019 15:37:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D6F0A1C3D0; Tue, 11 Jun 2019 15:37:39 +0200 (CEST) Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [67.231.157.127]) by dpdk.org (Postfix) with ESMTP id B0E601C3B5 for ; Tue, 11 Jun 2019 15:37:38 +0200 (CEST) Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.27/8.16.0.27) with SMTP id x5BDLpiR010834; Tue, 11 Jun 2019 14:37:37 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=jan2016.eng; bh=G5cvZE6kjPUsAH+vYlyxjba7RjRyYC53uQN9emHFMPc=; b=hjOSeXDKwjz6J2IKEEY7X5NFSDUo3lCa1BM9quoGlx/ndasWul87MOkO6hu15DzrJ9V5 JDMZEZlFqqZrr4eOUsSr/CTW4HRP9CFNkIpAjW/LT1rNbC5JqhT9aHlCi8r7p7h+H4LV R2QtU3Fe4BOcVpAhKe6ry8KGUtF9/EcJOolI4qFrjfT4iUDoHvD3vaJ9/U+HczFcCC/w 9ZL1/A1yLUj8UhtveiuvAfq+JDvjEzrlQPLWFvOO5E/5l+PBORR/8ltlu6UvnzPfO3xY 49X7RBmY+825cBiexwyjKEwTbt0cLoA1C1ogX6icwwkZR6mMLlMs/HVDZKEpHy/FO47a wA== Received: from prod-mail-ppoint4 (prod-mail-ppoint4.akamai.com [96.6.114.87] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2t1qtdcaqn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jun 2019 14:37:36 +0100 Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.27/8.16.0.27) with SMTP id x5BDWo5a029791; Tue, 11 Jun 2019 09:37:35 -0400 Received: from email.msg.corp.akamai.com ([172.27.25.30]) by prod-mail-ppoint4.akamai.com with ESMTP id 2t08bxft8u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 11 Jun 2019 09:37:35 -0400 Received: from USTX2EX-DAG1MB3.msg.corp.akamai.com (172.27.27.103) by ustx2ex-dag1mb3.msg.corp.akamai.com (172.27.27.103) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 11 Jun 2019 08:37:34 -0500 Received: from USTX2EX-DAG1MB3.msg.corp.akamai.com ([172.27.27.103]) by ustx2ex-dag1mb3.msg.corp.akamai.com ([172.27.27.103]) with mapi id 15.00.1473.003; Tue, 11 Jun 2019 08:37:34 -0500 From: "Sanford, Robert" To: Stephen Hemminger , "erik.g.carrillo@intel.com" CC: "dev@dpdk.org" Thread-Topic: [RFC] rte_timer: add rte_timer_next_ticks Thread-Index: AQHVH94wzWXeutvTrE2AViMn46xAgKaWhqsA Date: Tue, 11 Jun 2019 13:37:33 +0000 Message-ID: <83AA51E6-C1D2-4E09-B240-88326ECFD853@akamai.com> References: <20190610224441.5461-1-stephen@networkplumber.org> In-Reply-To: <20190610224441.5461-1-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.10.0.180812 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.19.248.86] Content-Type: text/plain; charset="utf-8" Content-ID: <7D51D42571C72040A652B0A849AB47DA@akamai.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-11_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906110092 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-11_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906110092 Subject: Re: [dpdk-dev] [RFC] rte_timer: add rte_timer_next_ticks 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" SGkgU3RlcGhlbiwNCg0KVGhlIGNvZGUgc2VlbXMgZmluZS4gTXkgb25seSBjb21tZW50IGlzIHRo YXQgdGhlcmUgaXMgbm90IGEgYmxhbmsgbGluZSBiZWZvcmUgdGhlIG5ldyBjb2RlLCBpbiBib3Ro IHRoZSAuYyBhbmQgLmguDQoNCi0tDQpSZWdhcmRzLA0KUm9iZXJ0DQoNCu+7v09uIDYvMTAvMTks IDY6NDUgUE0sICJTdGVwaGVuIEhlbW1pbmdlciIgPHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3Jn PiB3cm90ZToNCg0KSXQgaXMgdXNlZnVsIHRvIGtub3cgd2hlbiB0aGUgbmV4dCB0aW1lciB3aWxs IGV4cGlyZSB3aGVuDQp1c2luZyBydGVfZXBvbGxfd2FpdCAob3Igc2xlZXAgd2hlbiBpZGxlKS4g VGhpcyBleHBlcmlt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