From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <Pavan.Bhagavatula@cavium.com>
Received: from NAM02-SN1-obe.outbound.protection.outlook.com
 (mail-sn1nam02on0042.outbound.protection.outlook.com [104.47.36.42])
 by dpdk.org (Postfix) with ESMTP id B9FB91B88A
 for <dev@dpdk.org>; Wed,  4 Apr 2018 18:50:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=ezfG0HOVRnp0ooPe3RBaAzBk0iUpWpCAya9pmQtF8lk=;
 b=mKDpXoiG+CK9BmEpKj9NzYapwkqwPEdXsc72VwS2DsuR3Ut1tFw4tkfvfRUArbGKeQ6r1SsxkRAT0GVCjoVsiHsM/yW203+mRNj7S4dBDk1uodsUAPMmDfNOrNd7vVIibcfZyJSeh0TdqBEgDO5hq3vKjfBJWEuOhZxDlZvK4zI=
Authentication-Results: spf=none (sender IP is )
 smtp.mailfrom=Pavan.Bhagavatula@cavium.com; 
Received: from ltp-pvn (103.16.71.47) by
 BN6PR07MB3457.namprd07.prod.outlook.com (2603:10b6:405:64::20) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.653.12; Wed, 4 Apr 2018 16:50:34 +0000
Date: Wed, 4 Apr 2018 22:20:13 +0530
From: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
To: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>,
 jerin.jacob@caviumnetworks.com
Cc: dev@dpdk.org
Message-ID: <20180404165012.GA21642@ltp-pvn>
References: <1522697994-22515-1-git-send-email-erik.g.carrillo@intel.com>
 <1522791863-28882-1-git-send-email-erik.g.carrillo@intel.com>
 <1522791863-28882-4-git-send-email-erik.g.carrillo@intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1522791863-28882-4-git-send-email-erik.g.carrillo@intel.com>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-Originating-IP: [103.16.71.47]
X-ClientProxiedBy: SG2PR01CA0103.apcprd01.prod.exchangelabs.com
 (2603:1096:3:15::29) To BN6PR07MB3457.namprd07.prod.outlook.com
 (2603:10b6:405:64::20)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: a1df03df-da96-40b1-22bb-08d59a4c3036
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0;
 RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);
 SRVR:BN6PR07MB3457; 
X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457;
 3:SpCQGIwAG3Tqdnazafuw9BsMqKe24U2eHTD7u6ahuBu0G9zsQdnbh+vwEEEexLZGG285pBOuAbqs3D+0xh5cs+NIZLRJ0BSPWVtnl8ENgUacOv3bK39RHJpU6g5kcwoMjsvL+5fo6XqJwwutYEM3Rr2On3eGlAIcFiuQZ7kxLBTynVAPKls5Rr3m1yGHz9+H8jvK7ODL9kJpr81LYFdecF4LRCTiWbQ0lGlQcsrgAId39JwY3xnu3dyjLdscRFaI;
 25:0QIQYNVa5TntxZ1jnHhig+Wt8+Nf9ukOtIMbuIID4ri5FTXVQphKojbobpPzYMcmljCqBKQzlud/Aon9tpwglYD43XDIwmtn0QEJTiP0RzsK5cDDdi4QPh6H9TDFYjhajT36fITTUiCCHIX0P9keLbmYQ07NZdutXcfRnfiTsVGDobNHlZ3HlXNcjZVwO+ZQ5/acvJlEN7Ax/U2vQdHbXjKP1U84KEXmhWP03sNYD0vSQfOgLg5Duc5kUuFj5TKvgqxE6IO2hgZO8ymRwpgGa9Bb2WO08ftRJy1OaGz+rI4LiZUS4mdJRtpvOKdAK/TLHWZFgWgdnKU47RnunFxagg==;
 31:kzr7Pf/EAQR7OlISiBdueIr01Mop1e1efRSd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ld5tnZYzTWr4Amt3rRFINmdInFd8hd2gDQC7tmroBvtb3eA9Bw2N/Im6uk6N+eT2dh3WQ5NFUAdazq02lPHxqAoihtzCg7kpmICmpJeYsbNvCE3eb1AibgUVWoMJjXklijOZBZ6xrhkHMrV+
X-Microsoft-Antispam-PRVS: <BN6PR07MB345708B90D984105AA318A4C80A40@BN6PR07MB3457.namprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(228905959029699);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
 RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(10201501046)(3231221)(944501327)(52105095)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);
 SRVR:BN6PR07MB3457; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3457; 
X-Forefront-PRVS: 0632519F33
X-Forefront-Antispam-Report: SFV:NSPM;
 SFS:(10009020)(39380400002)(346002)(366004)(39850400004)(396003)(376002)(199004)(189003)(6246003)(81156014)(3846002)(81166006)(186003)(446003)(305945005)(106356001)(5660300001)(16526019)(956004)(229853002)(55016002)(8936002)(1076002)(11346002)(16586007)(486006)(53936002)(72206003)(476003)(58126008)(33716001)(8676002)(4326008)(33656002)(9686003)(6636002)(76176011)(66066001)(97736004)(68736007)(23726003)(25786009)(33896004)(6496006)(52116002)(105586002)(6666003)(59450400001)(386003)(50466002)(6116002)(26005)(2906002)(47776003)(42882007)(478600001)(316002)(7736002)(18370500001)(107986001)(42262002);
 DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3457; H:ltp-pvn; FPR:; SPF:None;
 LANG:en; PTR:InfoNoRecords; A:1; MX:1; 
Received-SPF: None (protection.outlook.com: cavium.com does not designate
 permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB3457;
 23:edCyAozWK11CTt/J0zgP9Zra6xld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LzAWM8hzNOYcP/6bwLL9HZtcZgF0f02TWfr8AZEhkvkbdcCfYg/RQageIYyEfEQai1s2/iVOPDjkIjfKGlxxHiioar2m5hKZZhUEzvVEFkGulhZxwqQ+NABblNEUdNgf1ys1OG+nWDebzDUfi2JwqT2AZNmFkfgB4k0Wp87W3+W6acPovjk9zRkv4LwdxOjmJDeKkVQjTxX12jRKK3mZypT2B8aCuik0tmzAhmFUPtuqCOGXF+9soAVKkdlIgDTrK6WQFqGmHd3BjglnYMhainPjLIXso5jue7OA==;
 5:050z4cSmdhSy4oV0Ql6ERDUOtiqqDiB38lToXwusZNezu452cBVa7amE2ibo57JEKTvZ87yH/qBCDVtOAilXJ8yooPT981e1FMjHJ5S1hhKHj8FVwFXANtYMrJ6dVvQasMemo1oMhaoDvH8Bo8c3ee8yKGVc4eAnkwEtHQrBI8U=;
 24:cdGIYdPw+EgwldbTzcnROFI4lhr8114gN+zjkeiNt5CoBrFeUGb8pBtApZY4m4rA6ucHTS1eMNYS+IpCrN08azGigz+RuMuSZyAlsPs+aIY=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457;
 7:wWt+XGUtQF08qejZ/Fc1EgtKR2eBrCwBWmq6MprBbmGdcgg2v66PoiVM5c3UKQMlnxOJyxSnne7Mz3o+hDMFsQL0eEUQekWZ0hHCNTTC4fASzWY3LKFf2e6W9677+eD8sVgi3WJTkF9HOXWjfe4trL3OwjehhZeC9TMcWG6d5TYc2FP051vRzcmQS02Qiaa7hXuz/s2dTftucGC13v6oX4C31vc2ppTcW07cLtqUSeHh7FZiONmJYQsbbqCxbBTk
X-OriginatorOrg: caviumnetworks.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2018 16:50:34.3590 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: a1df03df-da96-40b1-22bb-08d59a4c3036
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3457
Subject: Re: [dpdk-dev] [PATCH v10 3/9] eventtimer: add common code
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Apr 2018 16:50:38 -0000

On Tue, Apr 03, 2018 at 04:44:17PM -0500, Erik Gabriel Carrillo wrote:
> This commit adds the logic that is shared by all event timer adapter
> drivers; the common code handles instance allocation and some
> initialization.
>
> Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
> ---
>  config/common_base                                |   1 +
>  drivers/event/sw/sw_evdev.c                       |  18 +
>  lib/librte_eventdev/Makefile                      |   2 +
>  lib/librte_eventdev/rte_event_timer_adapter.c     | 387 ++++++++++++++++++++++
>  lib/librte_eventdev/rte_event_timer_adapter_pmd.h | 114 +++++++
>  lib/librte_eventdev/rte_eventdev.c                |  22 ++
>  lib/librte_eventdev/rte_eventdev.h                |  20 ++
>  lib/librte_eventdev/rte_eventdev_pmd.h            |  35 ++
>  lib/librte_eventdev/rte_eventdev_version.map      |  20 +-
>  9 files changed, 618 insertions(+), 1 deletion(-)
>  create mode 100644 lib/librte_eventdev/rte_event_timer_adapter.c
>  create mode 100644 lib/librte_eventdev/rte_event_timer_adapter_pmd.h
>
<snip>
>  DPDK_18.02 {
> @@ -80,3 +79,22 @@ DPDK_18.05 {
>
>  	rte_event_dev_stop_flush_callback_register;
>  } DPDK_18.02;
> +
> +EXPERIMENTAL {
> +	global:
> +
> +        rte_event_timer_adapter_caps_get;

A trivial extra space issue here please remove it with that,

Acked-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>

> +	rte_event_timer_adapter_create;
> +	rte_event_timer_adapter_create_ext;
> +	rte_event_timer_adapter_free;
> +	rte_event_timer_adapter_get_info;
> +	rte_event_timer_adapter_lookup;
> +	rte_event_timer_adapter_service_id_get;
> +	rte_event_timer_adapter_start;
> +	rte_event_timer_adapter_stats_get;
> +	rte_event_timer_adapter_stats_reset;
> +	rte_event_timer_adapter_stop;
> +	rte_event_timer_arm_burst;
> +	rte_event_timer_arm_tmo_tick_burst;
> +	rte_event_timer_cancel_burst;
> +} DPDK_18.05;
> --
> 2.6.4
>