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 B040CA0561; Wed, 17 Mar 2021 19:07:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F28F140E6A; Wed, 17 Mar 2021 19:07:34 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 54959140E1D for ; Wed, 17 Mar 2021 19:07:31 +0100 (CET) IronPort-SDR: Af7OF3O7qsHp1vl0ggj3pOJlQrKLTzo202S4JJ/moMtlwVJXElFHkooWuY0G3QMio4ph/AQIvI IEtStTfWtGVg== X-IronPort-AV: E=McAfee;i="6000,8403,9926"; a="169434844" X-IronPort-AV: E=Sophos;i="5.81,257,1610438400"; d="scan'208";a="169434844" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2021 11:07:30 -0700 IronPort-SDR: bS4A2R5NdrjhVA6i/5HTik3nRkT6+pEcPQkubx9mNpekS41Y4aaLkl3WSYZaHOPwGhkYKP5wtD FhtPs1eB1u8w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,257,1610438400"; d="scan'208";a="602329527" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 17 Mar 2021 11:07:30 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 17 Mar 2021 11:07:29 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 17 Mar 2021 11:07:29 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 17 Mar 2021 11:07:29 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.175) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 17 Mar 2021 11:07:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BHiMyn2nWYrr9BQdJ3XqCnrx0zGkFHBCc6+tgkdq7eizDPUOKJARJb9WGP6v15iRTffVb4bz3pzHheK1u8VDllu2cCjDJez9uJ1/+68A8lTBKyddNPaTaHyX4loKnFXHsq5sNcLvUSaBpTxeE/7ZAeid1liki9HolPMoo1JE7LgsVXGaFKjoxw/lgAmKsSkEY6pAHindiZ87Kom8goveLc+Ngzd88EoAQ0vZdXfXliK8ycJkr3Bzo8K/gAXB08A8TKdZsAr04nG/eMIhlnoc2bL+i7JuXuHTWdIjUb6mozvS//u5zgtNUxw0YDK03xyzWfXIaEuPLzr9HzpFGTG5qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VstGCJrLfN/9rdvDc7QiughFjInG0kW6y9Dptwv5314=; b=MZM4Ca6ywrOimxROfXn/fAA1RNFFYywTJNBlVDzEtct1b2sTKCUAlbCMvvUMBWLpA6g2Kgwi/8w40AOQnLU1KuhuzjMBun/xMVAditv4Su1yRUxcObPdOPpObHko0M51JaoeJTum+4aUIiTTKmOwhWdmkwhBoOyP+0OcGKrvQnbltC1RWIZ81yDIV4vrDCYo5TI+CYeu5VPYWzPkJfpa9fYgljiwzLk2L+7VN7XouY2lW/VCaTIOdRSpyR8s4bVFzTShoBc/qAgIJFOPkELZ97D4oGm4agZl8Td0jdI9ZP0cCVlilwmMcufFv5EUQk3nw/PGTSN20owi24AvWTGqRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VstGCJrLfN/9rdvDc7QiughFjInG0kW6y9Dptwv5314=; b=u3F+Mg5DbjSFjeUtKRy0LeZxnCQcJl0khlcH0cdq7usQ60U5Y7aPWg39l6dZWiD/QfXrX662Id2WtQzmQfAMaEwUl70mkO5E4UP8LLHsl2fCcVbsG3Ztkeky6Ivb86g2pgZ+Dl8e85rVY2PB9hE+go6G9CpJLOhppFYtkWEf/2Q= Received: from SA2PR11MB5196.namprd11.prod.outlook.com (2603:10b6:806:119::18) by SN6PR11MB3230.namprd11.prod.outlook.com (2603:10b6:805:b8::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Wed, 17 Mar 2021 18:07:28 +0000 Received: from SA2PR11MB5196.namprd11.prod.outlook.com ([fe80::e5ae:2c7e:c1b4:c0ae]) by SA2PR11MB5196.namprd11.prod.outlook.com ([fe80::e5ae:2c7e:c1b4:c0ae%7]) with mapi id 15.20.3955.018; Wed, 17 Mar 2021 18:07:28 +0000 From: "Carrillo, Erik G" To: Shijith Thotton CC: Pavan Nikhilesh , Jerin Jacob , "dev@dpdk.org" Thread-Topic: [PATCH v3 1/3] eventdev: introduce adapter flags for periodic mode Thread-Index: AQHXGwROIh2aDkcdRk2z91jvFBOk/qqIemkw Date: Wed, 17 Mar 2021 18:07:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [136.49.192.164] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b4355318-74d3-4e11-f452-08d8e96f8692 x-ms-traffictypediagnostic: SN6PR11MB3230: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G9dudWnRC4+b4raOBRnv8aaztCdM4nk/+1GZNDJ2rKafKN6OduiJyawL16UfZARlyqmceSWOfqTk53jszXrUl0AcSfwDMEnF379/Ih3nS2RGCiUIPLD1aNC7ziUGkOCCBQIXAo7HMZepHl4VNmHUvOvd4/6Un1+Py0vtfAitmBaZlxnL84AALE0zonqTzUJKO+K6dD+7jtEFhKxaR4nB3XwhsC2sZva6o1Sq0DNfOiuvpc1nteq3AE7eLTaU9pllF5p0xLCDrXQIBap4YYSxgqxlqJyMKTaNi1rZ3QGD7AThmbC/SN5O81E/clJux5wuDPtbEhoi80Z0UOnyMLVekvb6zb/bpReHtcIlrmDdO8FxQNLnrjHBg/I+TwqMrZLZDSJg6KE32m/YW132XltYVhtQ6xExwq28OUZBQbyinAjcPVDJxq1+sFgCzGHHyICPCHXW5Dm53EMlWx6RvwAZr6Qo+rvXAc/X9OAG0j4bRnzSiavQ/coB23LvYTZZZzLsIiVWZb0vQuXfkXTJXzMTwoZB2o3tNYStySCRswiwrGUtYHxegYQn1MvTshQvARiC x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR11MB5196.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(366004)(376002)(346002)(39860400002)(396003)(26005)(316002)(33656002)(5660300002)(55016002)(66446008)(7696005)(64756008)(83380400001)(52536014)(53546011)(9686003)(2906002)(66556008)(76116006)(54906003)(6506007)(66946007)(186003)(66476007)(8676002)(8936002)(4326008)(86362001)(6916009)(478600001)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?vJheSQFZbIK/L89PiaF7optHUNBto1/ocwN3s55dRfzhAjdlTBNn73kxEG?= =?iso-8859-1?Q?YJ8+jimsE0skAnd7/XPhjb+pBJX5q3alHxXEZJA4hnO7sBoZT6EpkBDmfu?= =?iso-8859-1?Q?hTO0M/J65hs4h3dzCmditmbMqyHDujo2ZC6yUT0mcvJf/nhC3KC8S3qSuw?= =?iso-8859-1?Q?AuJDoiK9D51ianSqICxfulvBf/LoLGCEFa7+irADd/5Kpk99oYq05dy83g?= =?iso-8859-1?Q?G26uadx8HEN7IMELaUyf9FzZkbb/CwcC9XsiV3C2cP3HLhPEBH2UjbfeQJ?= =?iso-8859-1?Q?D4E7ZFbZYkN7YIWl2Bf5gPHYTPW5fbHStDr1ILamTa5pouLnaAkHjaliu0?= =?iso-8859-1?Q?gOrufjcIX2rzM204njkoAcmYgSFgJzg1m5mDyK42DKYEZQe3Dq73ioaYYk?= =?iso-8859-1?Q?HvbFhJo+HF6XHqc3r7E4uW302puB7VllqprVN4R9pdiR345/pT7O6fyNBU?= =?iso-8859-1?Q?2/zzofobtHPINQH3va1G6PCOfGKgJj4Foi0M7BuKwjyA6rmwnF4RCRrjQU?= =?iso-8859-1?Q?UpYAcXWuw/tVC1DFeMrKFEWEnKZXCN5mlOCMhxCBHWfR+1WGN5Y9PwFH3q?= =?iso-8859-1?Q?SqmeolqsOcxui2PvuPT9lLib/Z0hU0N0AcLWliKBvgDO9fPOjBlgYFlpaS?= =?iso-8859-1?Q?BoFPn75WaQtXhCpkOFgXj/KvcRkvKiPiJg+lY7YJGQf9xHRXvwjrKyiKR9?= =?iso-8859-1?Q?wc3kLJgh0etYVCsBg5yOM+RrT8gPxdH3njBb/R+BC7FwjVnSpWaohC2RSm?= =?iso-8859-1?Q?KKs+0VrhKKRqEOgvAX9T97nClm0b4yE/qz2dfvmTzgv1mh8kN/KIFwqb4E?= =?iso-8859-1?Q?pXxfOH6J3R41BV9g52p60H5XPZP/gTllrOvZ4M3gpVeyARbNahjYlYMGQN?= =?iso-8859-1?Q?O51yjqZON7fMNNiRHcKHXyRk9+Cdy+nJySGBmKbsBs7xODOQZI+fnSYvpm?= =?iso-8859-1?Q?oKf9nqKj4o7/PjeoqMaIDoC8ADGxNenQpbjV3LDeUilD/am+y3Tr56cp8d?= =?iso-8859-1?Q?Obf0SOtj5eE8MJn76PdNhx+4Gk5bDIokvU3fGjnPDL50JB8FLazqYls4kE?= =?iso-8859-1?Q?TEoUo0zcSNP0U9H571FcdALteyP+3C15m7Edcxa0fnlOv7RPmJmaDnNbOW?= =?iso-8859-1?Q?8W2WdJJm/ZE0i+jQ3o64U89LBArKLeK1W9vUMA5GRXeSoZrZpHG5UqBaJG?= =?iso-8859-1?Q?1Mtmz3q7UZhUNqgGlWVDyqYTnvxeSCRGNJ3QqtmUgaJra2qiFKjy5MY1Wu?= =?iso-8859-1?Q?YLGDw5IUn7ID2esqR2/0buPkJZA1si/wSWxqOfDhGVpLBVJmVKWjWwSStM?= =?iso-8859-1?Q?hwQ5HqqJGMlS6gwoS46KH9L8XfZmc2IzBQuzXBKIa/xsaBdgyvx6gP/wS4?= =?iso-8859-1?Q?xj2HXlXW1Q?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR11MB5196.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4355318-74d3-4e11-f452-08d8e96f8692 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2021 18:07:27.8726 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 41axHh7w+JF2Cu1d1i+8xFXa/b5ZRK92QQnLBJwOPac0JGXlL2XLeYzOpDeOo5SZHNO1W0pnojAzLeRAnV9acwm5OrTFS+xGJsxNpLHDbmU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3230 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/3] eventdev: introduce adapter flags for periodic mode 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" > -----Original Message----- > From: Shijith Thotton > Sent: Wednesday, March 17, 2021 3:04 AM > To: Carrillo, Erik G > Cc: Shijith Thotton ; Pavan Nikhilesh > ; Jerin Jacob ; > dev@dpdk.org > Subject: [PATCH v3 1/3] eventdev: introduce adapter flags for periodic mo= de >=20 > A timer adapter in periodic mode can be used to arm periodic timers. > This patch adds flags used to advertise capability and configure timer ad= apter > in periodic mode. Capability flag should be set for adapters which suppor= t > periodic mode. >=20 > Below is a programming sequence on the usage: > /* check for periodic mode support by reading capability. */ > rte_event_timer_adapter_caps_get(...); >=20 > /* create adapter in periodic mode by setting periodic flag > (RTE_EVENT_TIMER_ADAPTER_F_PERIODIC) and resolution. */ > rte_event_timer_adapter_create_ext(...); >=20 > /* arm periodic timer of configured resolution */ > rte_event_timer_arm_burst(...); >=20 > /* timer event will be periodically generated at configured > resolution till cancel is called. */ > while (running) { rte_event_dequeue_burst(...); } >=20 > /* cancel periodic timer which stops generating events */ > rte_event_timer_cancel_burst(...); >=20 > Signed-off-by: Shijith Thotton Thanks, Shijith: Acked-by:=A0Erik Gabriel Carrillo