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 325C3A054F; Sun, 14 Mar 2021 17:46:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E3E5A160824; Sun, 14 Mar 2021 17:46:11 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id C49C540138 for ; Sun, 14 Mar 2021 17:46:10 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12EGfJ2x000890; Sun, 14 Mar 2021 09:46:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=IJpFkJ9mS92XD6ApQ6ehM2Z4giTjZEt1MzLqkVIoUmM=; b=HCK6VPe9c88I1c9EgDQpeBGZW43L/VEd70vzQ9UDpKR1/oT8m3bwF5uMFpba1inoRdOz 4J3fTqLnFn/1OhFa8r8Ac2GjBb9J+kYIet0new0JfHeP52MkXBbFbbimg1g0oURyp+nQ JpyWYL9JtRBAEXKN/WQpv7A93ObfRkBQsUpB+XlkuEAtJOhKd+BZDRo17y1sg4Y2cH9X 88AmHR6trDUBJfSfIvvYK3+BM3qFRWP5eJb+9ugVlFlkDFkF671EJK8P7CFl3EycPD+j WqCrxzq9tmLjRjHYHJLxPuV7Z8GBmOrKrC76/0nlxhF8/qbli3YTd+dlFpO0nrbZus+t CA== Received: from dc6wp-exch01.marvell.com ([4.21.29.232]) by mx0a-0016f401.pphosted.com with ESMTP id 378umtajfa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 14 Mar 2021 09:46:09 -0700 Received: from DC6WP-EXCH01.marvell.com (10.76.176.21) by DC6WP-EXCH01.marvell.com (10.76.176.21) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 14 Mar 2021 12:44:29 -0400 Received: from maili.marvell.com (10.76.176.51) by DC6WP-EXCH01.marvell.com (10.76.176.21) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 14 Mar 2021 12:44:29 -0400 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id 468CA3F7040; Sun, 14 Mar 2021 09:46:06 -0700 (PDT) From: Shijith Thotton To: Erik Gabriel Carrillo CC: Shijith Thotton , Pavan Nikhilesh , Jerin Jacob , Date: Sun, 14 Mar 2021 22:15:55 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210308204543.2903723-1-sthotton@marvell.com> References: <20210308204543.2903723-1-sthotton@marvell.com> 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-14_09:2021-03-12, 2021-03-14 signatures=0 Subject: [dpdk-dev] [PATCH v2 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 --- v2: Updated rst and doxygen documentation. app/test/test_event_timer_adapter.c | 136 ++++++++++++++++-- doc/guides/prog_guide/event_timer_adapter.rst | 15 +- drivers/event/octeontx2/otx2_tim_evdev.c | 29 +++- drivers/event/octeontx2/otx2_tim_evdev.h | 1 + lib/librte_eventdev/rte_event_timer_adapter.h | 11 ++ lib/librte_eventdev/rte_eventdev.h | 3 + 6 files changed, 176 insertions(+), 19 deletions(-) -- 2.25.1