From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4C63A0566; Mon, 8 Mar 2021 21:45:55 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5917C22A3A1; Mon, 8 Mar 2021 21:45:54 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7F2A422A369 for ; Mon, 8 Mar 2021 21:45:52 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 128Kaw2A007261; Mon, 8 Mar 2021 12:45:51 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=yM5M9oUfU82U7376XBmtwHYAi8ji79mse65wRhBvGNM=; b=TrPAwAJ9+ac8ANHD5FrYyQIAwnknenhc4MGlfiWmbkrVcHuyOBvd/UN6uBmG6Y3uAf3Z xxyv8fK6xtFbgUOtlogNWoZH9vWauCqKK8WMkVy4now7XxhT630o0P34di/5CpK8pQmj eZBfFC9/bePIpZkZo1XtVth8L+0VJCrncbdUzXc8Q3xjVk9095bla2Q38l5I/4qegphW khQMnPT8Aa/8aN5cIlTvr4ho16EkAwScR9z0ZtVlyN30jHv5o0XxkmxJ0IriLpQM/DFM WtYze1gzPUZSZtYYLz3uPc2XQPqNmzTL1nRGKAQkPp9dPAOakcNpeSIV2c9Hm1TdaHI1 BA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 374drqw4x5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 08 Mar 2021 12:45:51 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 8 Mar 2021 12:45:49 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 8 Mar 2021 12:45:49 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 8 Mar 2021 12:45:49 -0800 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id D453A3F703F; Mon, 8 Mar 2021 12:45:47 -0800 (PST) From: Shijith Thotton To: Erik Gabriel Carrillo CC: Shijith Thotton , Pavan Nikhilesh , Jerin Jacob , Date: Tue, 9 Mar 2021 02:15:40 +0530 Message-ID: <20210308204543.2903723-1-sthotton@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-08_17:2021-03-08, 2021-03-08 signatures=0 Subject: [dpdk-dev] [PATCH 0/3] periodic mode for event timer adapter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Arming periodic timers are not supported by the event timer adapter right now. This series adds that support. A timer adapter configured in periodic mode can be used to arm periodic timers. First patch adds a flag to expose periodic mode capability of an adapter and flag to configure the adapter in periodic mode. Second one adds unit tests for periodic mode. Third one is a hardware implementation of the feature. Shijith Thotton (3): eventdev: introduce adapter flags for periodic mode test/event: add unit tests for periodic timer event/octeontx2: add timer periodic mode support app/test/test_event_timer_adapter.c | 136 ++++++++++++++++-- doc/guides/prog_guide/event_timer_adapter.rst | 33 +++++ drivers/event/octeontx2/otx2_tim_evdev.c | 29 +++- drivers/event/octeontx2/otx2_tim_evdev.h | 1 + lib/librte_eventdev/rte_event_timer_adapter.h | 6 + lib/librte_eventdev/rte_eventdev.h | 3 + 6 files changed, 190 insertions(+), 18 deletions(-) -- 2.25.1