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 D95904568D; Tue, 23 Jul 2024 08:52:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C4A0F40E28; Tue, 23 Jul 2024 08:52:57 +0200 (CEST) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id CB9A940289 for ; Tue, 23 Jul 2024 08:41:42 +0200 (CEST) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 8BEB3BD74 for ; Tue, 23 Jul 2024 08:41:42 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 80538BED5; Tue, 23 Jul 2024 08:41:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED,AWL, T_SCC_BODY_TEXT_LINE autolearn=disabled version=4.0.0 X-Spam-Score: -1.3 Received: from [192.168.1.86] (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 82249BED2; Tue, 23 Jul 2024 08:41:40 +0200 (CEST) Message-ID: <5536d6dd-3261-4937-abe9-4ada23fc1d29@lysator.liu.se> Date: Tue, 23 Jul 2024 08:41:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 3/3] event/dsw: add capability for independent enqueue To: Abdullah Sevincer , dev@dpdk.org Cc: jerinj@marvell.com, bruce.richardson@intel.com, pravin.pathak@intel.com, mattias.ronnblom@ericsson.com, manish.aggarwal@intel.com References: <20240621222408.583464-3-abdullah.sevincer@intel.com> <20240711195444.2627373-1-abdullah.sevincer@intel.com> <20240711195444.2627373-4-abdullah.sevincer@intel.com> Content-Language: en-US From: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= In-Reply-To: <20240711195444.2627373-4-abdullah.sevincer@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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 2024-07-11 21:54, Abdullah Sevincer wrote: > To use independent enqueue capability applications need to set flag > RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ during port setup only if the > capability RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ exists. Hence, this > commit adds the capability of independent enqueue to the DSW driver. > > Signed-off-by: Abdullah Sevincer > --- > doc/guides/rel_notes/release_24_07.rst | 4 ++++ > drivers/event/dsw/dsw_evdev.c | 3 ++- > 2 files changed, 6 insertions(+), 1 deletion(-) > > diff --git a/doc/guides/rel_notes/release_24_07.rst b/doc/guides/rel_notes/release_24_07.rst > index d8564b19f0..c04f014943 100644 > --- a/doc/guides/rel_notes/release_24_07.rst > +++ b/doc/guides/rel_notes/release_24_07.rst > @@ -167,6 +167,10 @@ New Features > * Added support for independent enqueue feature. Updated Event Device and > PMD feature list. > > +* **Updated DSW Driver for independent enqueue feature** > + > + * Added capability flag for DSW to advertise independent enqueue feature. > + > > Removed Items > ------------- > diff --git a/drivers/event/dsw/dsw_evdev.c b/drivers/event/dsw/dsw_evdev.c > index 0dea1091e3..5c483d869c 100644 > --- a/drivers/event/dsw/dsw_evdev.c > +++ b/drivers/event/dsw/dsw_evdev.c > @@ -230,7 +230,8 @@ dsw_info_get(struct rte_eventdev *dev __rte_unused, > RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE| > RTE_EVENT_DEV_CAP_NONSEQ_MODE| > RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT| > - RTE_EVENT_DEV_CAP_CARRY_FLOW_ID > + RTE_EVENT_DEV_CAP_CARRY_FLOW_ID | > + RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ > }; > } > Thanks! Reviewed-by: Mattias Rönnblom