[v3,0/3] periodic mode for event timer adapter
Message ID | cover.1615967694.git.sthotton@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 95525A00C2; Wed, 17 Mar 2021 09:04:46 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82647242B55; Wed, 17 Mar 2021 09:04:46 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 7A3D24014D for <dev@dpdk.org>; Wed, 17 Mar 2021 09:04:44 +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 12H80lWq022153; Wed, 17 Mar 2021 01:04:43 -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=+R5mywFwaDc8cXEM/mlFrNy8xRifD1aZHWWwdBm+EpM=; b=TvFR/HE3EvGcHcSUerEGVzvsWcl3CaovryiqEgUEFw3U2HS7z5G6ZRMmY7vgsSc7azeS C8zPCpvqdWm2JiMU5Adx3mngLrPHkwFCwm5FkTi/JZgEY+962dCuavggj7YkmFDNKacl mxq/G6JWDYWyDO1uBtDG5z8IdAPk86lixewJkOdloWW34z5bc2Qq/H3aaVamb8H1ZuFI KaN9KTjffBufLeuFlbLAB6N/M/LWkbOM9/M0WDEODR8kfnF9U9Y2AMWk5xS9ZKQdrpO5 lDBwSdLlZAER5XVX4+9wQtiJba/dM6zAh0UUwJ1CkpltB1vtYYDdRIyn8M/TJ+9FesK3 iQ== Received: from dc6wp-exch01.marvell.com ([4.21.29.232]) by mx0a-0016f401.pphosted.com with ESMTP id 37b5vdhbgk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 17 Mar 2021 01:04:43 -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; Wed, 17 Mar 2021 04:04:42 -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; Wed, 17 Mar 2021 04:04:42 -0400 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id A85F53F7041; Wed, 17 Mar 2021 01:04:39 -0700 (PDT) From: Shijith Thotton <sthotton@marvell.com> To: Erik Gabriel Carrillo <erik.g.carrillo@intel.com> CC: Shijith Thotton <sthotton@marvell.com>, Pavan Nikhilesh <pbhagavatula@marvell.com>, Jerin Jacob <jerinj@marvell.com>, <dev@dpdk.org> Date: Wed, 17 Mar 2021 13:34:18 +0530 Message-ID: <cover.1615967694.git.sthotton@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1615738894.git.sthotton@marvell.com> References: <cover.1615738894.git.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-17_02:2021-03-17, 2021-03-17 signatures=0 Subject: [dpdk-dev] [PATCH v3 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Shijith Thotton
March 17, 2021, 8:04 a.m. UTC
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. v3: - Text and checkpatch related corrections. v2: - Updated rst and doxygen documentation. 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 | 138 ++++++++++++++++-- doc/guides/prog_guide/event_timer_adapter.rst | 16 +- drivers/event/octeontx2/otx2_tim_evdev.c | 29 +++- drivers/event/octeontx2/otx2_tim_evdev.h | 1 + lib/librte_eventdev/rte_event_timer_adapter.h | 13 ++ lib/librte_eventdev/rte_eventdev.h | 3 + 6 files changed, 181 insertions(+), 19 deletions(-)