From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0059.outbound.protection.outlook.com [104.47.37.59]) by dpdk.org (Postfix) with ESMTP id A7C9A2C01 for ; Mon, 12 Mar 2018 09:11:28 +0100 (CET) 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=b9G/pWnK4xF2JyC0oLMGXvPUE3RwhqV7wRdRdN2OSt4=; b=nY1PqAjHznsbploGmn3zKuFlX1c7PKvw2juSFp+91DpgHzW0ENBXacY8Hk63c+i4phJhjI1Mt1UWw2XcSORJdeZDx2aaCgEY08E3FrHEv+mA126URJDTKfQSLLL3x6jaI8qjt3MEntePlIYc+sCthCxEsErk+Km0VVLLRUDPF+o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (122.178.251.71) by BN3PR07MB2514.namprd07.prod.outlook.com (2a01:111:e400:7bbf::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 12 Mar 2018 08:11:24 +0000 Date: Mon, 12 Mar 2018 13:41:07 +0530 From: Jerin Jacob To: Erik Gabriel Carrillo Cc: pbhagavatula@caviumnetworks.com, dev@dpdk.org, nipun.gupta@nxp.com, hemant.agrawal@nxp.com Message-ID: <20180312081106.GB7119@jerin> References: <1515630074-29020-1-git-send-email-erik.g.carrillo@intel.com> <1520546046-6973-1-git-send-email-erik.g.carrillo@intel.com> <1520546046-6973-3-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: <1520546046-6973-3-git-send-email-erik.g.carrillo@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [122.178.251.71] X-ClientProxiedBy: PN1PR01CA0108.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::24) To BN3PR07MB2514.namprd07.prod.outlook.com (2a01:111:e400:7bbf::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f55acd2f-c34c-45d4-0709-08d587f0d9d4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 3:G8RVizlfvMUYhmvfGQa1Evc+Um6rW2OQRgGCAO8ay2GrTqjhqoN96ARgtVgU81HHqFR+mZs7Rr89uq3o6pvMuNYhZLwgFbBFHVbqXtvkhxyHyWZP8kaD+VH/BO1slOdAdQRF+P5PNlrBg/gI+51JXCgwvxb21T4QRdeXx1f88QCRxo9XtwpjcLt0VZOdX/qxavaVgU0DgbQG7GWJpguV2WTXUZSM6iHxJy/0fZn0g3qpdzH53NsbhavEsI1mbnqc; 25:m1pGMDCwP/SZy52t7CC4dVZ+gXyuDdr7D/o4JeBM+5BmKqiQsbiy/nbGHIkxPTd5mhTp6QZmL85st35wYfBnYkmunCSDbIsMAGUxT3Ic3LyUSzo5qQSPCxCxqMwMhQOMv1GUZmSXUOf7TLrk2i16Brf5CeUJV33n5pr1zvGL0YNsPsAE5mPw5fXnoxxvE+3lz5GQfjJi5DueAbXykeyy5yurnAbEbz4k55q79JlH90JLEafYAwRWRUWiWCRiVyCKwmKCfY1mjbpx7QbWUE+iNg/MDsMPlTm76UPmoa1fF5aIi3TU01TDdFfFq+Wal5uyePMTFhQR9eRce9lPKVCwzg==; 31:JAuhOdmvMznDlytbaYF6STqNpJdXYd9yIGpFN2RQf8aOaOTlekS1tA2CBZJ7iKsRrIPjNj5ECdXLL3qBR9W3XWXIKgFw7/7eAl3M+II5vJNbRSiO4BYqY0wowciDdRxoruzdq+VDdTFsjoC0vXt1Ys6egRYysBA6PHA26E3ZVux5rOdS4ABavL36WnFbyV6xmj46e+1WgYoHmfV7cQ8EmQv38ec6XXAnNfBhIELnHqA= X-MS-TrafficTypeDiagnostic: BN3PR07MB2514: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 20:AvzO8J5TCZqTOsLtceaYDRHIut9wLDQQwWOx4HCYHQaeAbx8/vGtsJKYaTHsntfMnUCOWooKJYCiMlm6Zhjbw0lNWXwqOgY5Uo1CWQvXYUYWCBo+evj0GTcRt/4e0l6RUJ/D9OvSZQlfmhG5cDERbiVqkUnZM42wvtiypGSSjLzFkjznLSYQ+OhmulwwLaMOt4a7wwuoKsw8Ldf45j/Cag01aFFODqlaT4Ru/RrxPmGMCjc0Dw/dszsbuXglVUyswmuOdoNSE+MCvyyD+7o6PJv6JcyvUASILGZjdL6M/Jiu7VY3lrnOKSkCYbx8rf9OnSNpqoLKRbmORjkYZpdv3dyfv4KLmFleUAedIpZpcUoGW9iE1gBwQ8AywUQEl6xnBJRMr7yNBOyeqcDA0puKUTtLJ4ao/mZxaE1PdooZk4L905oSZLbrJG5/DnHzMKGjHgUNis8pR8YibksD4DPV+jNAA6fUQEiaadPnh/li9VUQW8v+ptdnx+aksOAfq5xWkEt2JUPGELRCXGi7ZYYLcT7icBYyuKgMRiB8/hcAEYMp+RD42Y5bVIh+Ge7otA8yZtbYOPGYlzH5BrpMpmwdU4jGpbZ7xpe8EZNdskeRfXo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(10201501046)(3231220)(944501244)(52105095)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:BN3PR07MB2514; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2514; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2514; 4:JhKRcvk4itfTbDChChBaAD+bImLJUi8a488Zqtq4+tQhdRSggoVR5kZvjPYCT3BGsqVQn8JZPC4JRHycu/T85rcAWAyfmp/wvJpKPRlgrr3qK3ByemV+fjnTYpt4XsRcIYT3NR7I4ROw1S2dLpOVfeXtMI44jIH/gyg8nYraGvg3p1vC7A6LQ7apkvRoMIVASWjQffQ20UQE4917lwj82zSqMPVUfYwVE3jgfu+cVMh4l7NbSABZczPsOFDJtIQNnNjo0YGM/IlpDsrfIaITvro/88LRQu5+/HxSa8/FW7YD/qeF5qPIPJkmJv01g9Vqyth0NAyIljRQebNYBNKr+zZyhOwaS/loyni8wdbiTfg= X-Forefront-PRVS: 06098A2863 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(39850400004)(39380400002)(346002)(13464003)(199004)(189003)(26005)(53936002)(105586002)(66066001)(186003)(16526019)(33656002)(229853002)(4326008)(6246003)(6916009)(6666003)(2950100002)(47776003)(25786009)(33716001)(478600001)(68736007)(72206003)(50466002)(55016002)(386003)(9686003)(33896004)(16586007)(58126008)(316002)(2906002)(42882007)(8936002)(7736002)(106356001)(97736004)(305945005)(6116002)(23726003)(8656006)(3846002)(8676002)(81166006)(81156014)(76176011)(5660300001)(52116002)(6496006)(1076002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2514; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2514; 23:f7R+OxMc3GEgAvqq8Afsr5hgsqHcmIwCxTVBrLbnh?= =?us-ascii?Q?DJT6m+gPgq4IsSvth6g0yVjUk6h9PUioy3m32C0N/W5OOqpOBYa4kRH0vWtA?= =?us-ascii?Q?lvbjvhIFCr85BtprT/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Eu4aAIRMlHD6aC9Qi4+CA/q0Qf1zhRCPla8cx/SzxCTrIo/YYL8WCK14lPOjrwOHVIGVjk=; 24:gqZ2orbc/awoPxUHiJ/2kYdN7u8oKoJcDIDY+VftqpD2dgrXNG1bdTJupJGChSAbf7nAWP+vMfDd3g5ewmRRVkCjN42ch7Xi0wyTQJEOz0A=; 7:QZaJljrzSIBdj2J1XLrFyAxl4t8s1gXjwo70AwQORdh9mVW8AS2J8I3o+uSqodIzk8W5cERD2ABg+tI6ImljDaYNDrV7EiBMN2y4wieieQf7r3p8ovYGR3cd34Eryw+bRzz1vkMVd4i8Dq2jhp8ZLmgsVWGHhe1ZNnThIp21LMN0MBE7nXhLWAW1IDCSDBQ3+oDqHRzkAvOdfWUre2xJqRzGVlAEZcLYLwwZHN4otOq6xzaR9UaYPDshCnvxlHDo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2018 08:11:24.2370 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f55acd2f-c34c-45d4-0709-08d587f0d9d4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2514 Subject: Re: [dpdk-dev] [PATCH v7 2/7] eventtimer: add common code 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: Mon, 12 Mar 2018 08:11:29 -0000 -----Original Message----- > Date: Thu, 8 Mar 2018 15:54:01 -0600 > From: Erik Gabriel Carrillo > To: pbhagavatula@caviumnetworks.com > CC: dev@dpdk.org, jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, > hemant.agrawal@nxp.com > Subject: [PATCH v7 2/7] eventtimer: add common code > X-Mailer: git-send-email 1.7.10 > > 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 It fails to build at least on clang 5.0(GCC 7.3 builds fine) /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:280:10: error: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Werror,-Wformat] adapter->data->id); ^~~~~~~~~~~~~~~~~ /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:36:58: note: expanded from macro 'EVTIM_LOG_ERR' #define EVTIM_LOG_ERR(...) EVTIM_LOG(ERR, evtim_logtype, __VA_ARGS__) ^~~~~~~~~~~ /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:34:43: note: expanded from macro 'EVTIM_LOG' "\n", __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /export/dpdk-next-eventdev/build/include/rte_common.h:382:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /export/dpdk-next-eventdev/build/include/rte_common.h:380:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" ^~~~~~~~~~~ /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:350:28: error: format specifies type 'unsigned short' but the argument has type 'uint8_t' (aka 'unsigned char') [-Werror,-Wformat] "before freeing", adapter->data->id); ^~~~~~~~~~~~~~~~~ /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:36:58: note: expanded from macro 'EVTIM_LOG_ERR' #define EVTIM_LOG_ERR(...) EVTIM_LOG(ERR, evtim_logtype, __VA_ARGS__) ^~~~~~~~~~~ /export/dpdk-next-eventdev/lib/librte_eventdev/rte_event_timer_adapter.c:34:43: note: expanded from macro 'EVTIM_LOG' "\n", __func__, __LINE__, RTE_FMT_TAIL(__VA_ARGS__,))) ^~~~~~~~~~~ /export/dpdk-next-eventdev/build/include/rte_common.h:382:32: note: expanded from macro 'RTE_FMT_TAIL' #define RTE_FMT_TAIL(fmt, ...) __VA_ARGS__ ^~~~~~~~~~~ /export/dpdk-next-eventdev/build/include/rte_common.h:380:39: note: expanded from macro 'RTE_FMT' #define RTE_FMT(fmt, ...) fmt "%.0s", __VA_ARGS__ "" > --- > config/common_base | 1 + > drivers/event/sw/sw_evdev.c | 18 + > lib/librte_eventdev/Makefile | 2 + > lib/librte_eventdev/rte_event_timer_adapter.c | 459 ++++++++++++++++++++++ > lib/librte_eventdev/rte_event_timer_adapter_pmd.h | 150 +++++++ > lib/librte_eventdev/rte_eventdev.h | 3 + > lib/librte_eventdev/rte_eventdev_pmd.h | 35 ++ > lib/librte_eventdev/rte_eventdev_version.map | 20 + > 8 files changed, 688 insertions(+) > create mode 100644 lib/librte_eventdev/rte_event_timer_adapter.c > create mode 100644 lib/librte_eventdev/rte_event_timer_adapter_pmd.h > > diff --git a/lib/librte_eventdev/Makefile b/lib/librte_eventdev/Makefile > index 549b182..8b16e3f 100644 > --- a/lib/librte_eventdev/Makefile > +++ b/lib/librte_eventdev/Makefile > @@ -20,6 +20,7 @@ LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash > SRCS-y += rte_eventdev.c > SRCS-y += rte_event_ring.c > SRCS-y += rte_event_eth_rx_adapter.c > +SRCS-y += rte_event_timer_adapter.c > > # export include files > SYMLINK-y-include += rte_eventdev.h > @@ -29,6 +30,7 @@ SYMLINK-y-include += rte_eventdev_pmd_vdev.h > SYMLINK-y-include += rte_event_ring.h > SYMLINK-y-include += rte_event_eth_rx_adapter.h > SYMLINK-y-include += rte_event_timer_adapter.h > +SYMLINK-y-include += rte_event_timer_adapter_pmd.h > > # versioning export map > EXPORT_MAP := rte_eventdev_version.map > diff --git a/lib/librte_eventdev/rte_event_timer_adapter.c b/lib/librte_eventdev/rte_event_timer_adapter.c > new file mode 100644 > index 0000000..711d6b9 > --- /dev/null > +++ b/lib/librte_eventdev/rte_event_timer_adapter.c > +void __rte_experimental > +rte_event_timer_init(struct rte_event_timer *evtim) > +{ > + evtim->ev.op = RTE_EVENT_OP_NEW; > + evtim->ev.event_type = RTE_EVENT_TYPE_TIMER; > + evtim->state = RTE_EVENT_TIMER_NOT_ARMED; > +} > + > +int __rte_experimental > +rte_event_timer_arm_burst(const struct rte_event_timer_adapter *adapter, > + struct rte_event_timer **evtims, > + uint16_t nb_evtims) > +{ > +#ifdef RTE_LIBRTE_EVENTDEV_DEBUG > + ADAPTER_VALID_OR_ERR_RET(adapter, -EINVAL); > + FUNC_PTR_OR_ERR_RET(adapter->arm_burst, -EINVAL); > +#endif > + > + return adapter->arm_burst(adapter, evtims, nb_evtims); > +} > + > +int __rte_experimental > +rte_event_timer_arm_tmo_tick_burst( > + const struct rte_event_timer_adapter *adapter, > + struct rte_event_timer **evtims, > + const uint64_t timeout_ticks, > + const uint16_t nb_evtims) > +{ > +#ifdef RTE_LIBRTE_EVENTDEV_DEBUG > + ADAPTER_VALID_OR_ERR_RET(adapter, -EINVAL); > + FUNC_PTR_OR_ERR_RET(adapter->arm_tmo_tick_burst, -EINVAL); > +#endif > + > + return adapter->arm_tmo_tick_burst(adapter, evtims, timeout_ticks, > + nb_evtims); > +} > + > +int __rte_experimental > +rte_event_timer_cancel_burst(const struct rte_event_timer_adapter *adapter, > + struct rte_event_timer **evtims, > + uint16_t nb_evtims) > +{ > +#ifdef RTE_LIBRTE_EVENTDEV_DEBUG > + ADAPTER_VALID_OR_ERR_RET(adapter, -EINVAL); > + FUNC_PTR_OR_ERR_RET(adapter->cancel_burst, -EINVAL); > +#endif > + > + return adapter->cancel_burst(adapter, evtims, nb_evtims); > +} Please move fastpath functions to header file as "static inline". That would avoid function all overhead for fastpath functions. Even though it makes header file bit ugly, We are following the same procedure across other subsystems in DPDK to get performance advantage. > + > +#endif /* __RTE_EVENT_TIMER_ADAPTER_PMD_H__ */ > diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h > index f9ad71e..888bcf1 100644 > --- a/lib/librte_eventdev/rte_eventdev.h > +++ b/lib/librte_eventdev/rte_eventdev.h > @@ -1046,6 +1046,9 @@ struct rte_event { > * @see struct rte_event_eth_rx_adapter_queue_conf::rx_queue_flags > */ > > +#define RTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT (1ULL << 1) 1ULL << 0 ?? > +/**< This flag is set when the timer mechanism is in HW. */ > + > + > +EXPERIMENTAL { > + global: > + > + 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_service_id_get; Duplicate entry > + 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_init; > + rte_event_timer_arm_burst; > + rte_event_timer_arm_tmo_tick_burst; > + rte_event_timer_cancel_burst; > +} DPDK_18.02; > -- > 2.6.4 >