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 0C30645AD8; Mon, 7 Oct 2024 14:25:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC060402BB; Mon, 7 Oct 2024 14:25:06 +0200 (CEST) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) by mails.dpdk.org (Postfix) with ESMTP id 694B54026C for ; Mon, 7 Oct 2024 14:25:05 +0200 (CEST) Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-4583083d019so30550571cf.3 for ; Mon, 07 Oct 2024 05:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728303905; x=1728908705; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RQ+gX8LIGgr3BtdofIIa/vge5rEAYxtl4CcsymyvNBA=; b=JAxWYVyyDtGZkY4GrG2Nc/pxqvZCHvNR98P0ZGHKIvuKukVPYFRea4tZu8uGnMjNL/ 8qVmDdPoBPQ6PMTfl++gQD3kaWNZvqWpa8oV9opv8PiftOq+4C4rxXwwOxTFMKkSih3p exm6oDQON3suQyGflFEXmjy1G5lJyo16f6KybrJMyuBHeaOCgmTnjVDiIXrsQq8SbmbX Gq/pXH7heVEYp+6Pee2v53hcQHiAyCYLDGTDSHcXfYfCNmLyrPBnx86NfLLmJqFz1CgS 0tjFmOOL7j1ARMFthxKo4SoBZ3UzZ1/MKk0f0TUTFgTV8UxmlK/WFLHFInb7UXzXMfO8 S7Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728303905; x=1728908705; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RQ+gX8LIGgr3BtdofIIa/vge5rEAYxtl4CcsymyvNBA=; b=ZCl3B04JZJxAbjK4bWwGq/hPp4yDAJ+fkGedCTA7jJ0NIPAXV94jO/rWsnSpCHRtIf i/Ni2NSScIRVK02JBih59vADymPnM64DEbWnIlXIhWg2yqN4ojZieb606pf05CHfkoQ0 J0wsSZWFC97LdtbRcgMa+Faan2tdI99eUO1Fl9V4hxPerNnkd6nhdHjBj29vxRE2mH5C z6gofkdtUrIKWsg+KJMO8b9k6b4dDZX7z0fbSOJUSKlXdWLjgj88VqVEpEpcINr5Wqwf zHbeNlIzExogctqIWZ/LKLSQJXKn2LjVCf7N8IyUO+zg5GVfOFdZYtvGSqyldvnNVqoC OsVg== X-Forwarded-Encrypted: i=1; AJvYcCUNFyZXeQ4gNZwLYLdCOBQWT5LBDw/6ZjyzO6fei+q+dz39Dd5VJxw4mLZC6LEtJiLMlJA=@dpdk.org X-Gm-Message-State: AOJu0YyxldZtKmNDkDtLca3Fwj6kN4Hw1D87nF9O1M24kPaWZ+3VNvRe kd1SmnTYl/sjV8H5a8vP/1ZRr+oEskw5O5aypWWMYe5ARcuvZd1GCybdDof2sUS0JKoGYKX/D7N XFeN8knOHiTGYDqggV9H7AuPgzMg= X-Google-Smtp-Source: AGHT+IG1/EEpYXqiEYXloaoKqPBNLmikDbpByljTghVjQGOePJoRfFNAK3xWi9W3PQPUa8QcLDzri8SNfEbcU/NmpN0= X-Received: by 2002:a05:622a:4e0c:b0:458:3be2:d2d5 with SMTP id d75a77b69052e-45d9bad0418mr168859371cf.41.1728303904659; Mon, 07 Oct 2024 05:25:04 -0700 (PDT) MIME-Version: 1.0 References: <20241005080001.8681-1-pbhagavatula@marvell.com> <20241006170608.14182-1-pbhagavatula@marvell.com> <20241006170608.14182-4-pbhagavatula@marvell.com> In-Reply-To: <20241006170608.14182-4-pbhagavatula@marvell.com> From: Jerin Jacob Date: Mon, 7 Oct 2024 17:54:38 +0530 Message-ID: Subject: Re: [PATCH v8 3/6] eventdev: add event preschedule hint To: pbhagavatula@marvell.com Cc: jerinj@marvell.com, sthotton@marvell.com, abdullah.sevincer@intel.com, hemant.agrawal@nxp.com, sachin.saxena@oss.nxp.com, harry.van.haaren@intel.com, mattias.ronnblom@ericsson.com, liangma@liangbit.com, peter.mccarthy@intel.com, stephen@networkplumber.org, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Sun, Oct 6, 2024 at 10:44=E2=80=AFPM wrote: > > From: Pavan Nikhilesh > > Add a new eventdev API to provide a hint to the eventdev PMD to > pre-schedule the next event into the event port, without releasing > the current flow context. > Event device that support this feature advertises the capability > using the RTE_EVENT_DEV_CAP_PRESCHEDULE_EXPLICIT capability flag. > > Application can invoke `rte_event_port_preschedule` to hint the PMD, > if event device does not support this feature it is treated as a no-op. > > Signed-off-by: Pavan Nikhilesh > --- > Starting the EventDev > ~~~~~~~~~~~~~~~~~~~~~ > diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_note= s/release_24_11.rst > index f7cc2ec047..e4ba9c2d53 100644 > --- a/doc/guides/rel_notes/release_24_11.rst > +++ b/doc/guides/rel_notes/release_24_11.rst > @@ -76,7 +76,8 @@ New Features > level pre-scheduling type. > * Added ``rte_event_port_preschedule_modify`` to modify pre-scheduling= type > on a given event port. > - 1) Don't delete this new line. Also add new line between features. Final one should like below, * **Added event device pre-scheduling support.** Added support for pre-scheduling of events to event ports to improve scheduling performance and latency. * Added ``rte_event_dev_config::preschedule_type`` to configure the devic= e level pre-scheduling type. * Added ``rte_event_port_preschedule_modify`` to modify pre-scheduling ty= pe on a given event port. * Added ``rte_event_port_preschedule`` to allow applications provide expl= icit pre-schedule hints to event ports. 2)Due to the merge of https://patches.dpdk.org/project/dpdk/list/?series=3D= 33326 Capa flags value are changed. Please rebase. > + * Added ``rte_event_port_preschedule`` to allow applications provide e= xplicit > + pre-schedule hints to event ports. >