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 4327A45AD2; Mon, 7 Oct 2024 10:13:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CCF2D40EE2; Mon, 7 Oct 2024 10:13:36 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id 66C9640E68 for ; Mon, 7 Oct 2024 10:13:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728288813; x=1759824813; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5s78/n6Ek0jaU2ZW3a0Zh07r9DwzOZYqhpMCbnJJDFI=; b=l1X4TmrqyjEOt9/KeWoHgpJqgwdCF6NVYAw7ErzSv5q5rnd6nUAyjEo/ Zxq9ZAaAXk9WfYqXzzcvZZdu8DAphOycS7PEjayc66reBy02/qbxRs3oT UqLk9jChJkq0cioeFfs26jgcmcsV7j/oBb1u4fKtclNRjtrnDXK9W15Oq LmUhXqiCB+l5BevDeLS8QGdHWpR7hDWC6SnJGbuDEDBt110882nW5nssm HNpbY5e3fHFX9+eR724YvUelJ+mlx8hT3pME2wpudMA/laUZ5ra49qcei Tepr3GFGO2RdkwWveL1XjOrlhRShLjjBeHEKGwlJp9nUWVmybHUoUqyqg g==; X-CSE-ConnectionGUID: EDS63o4oTsynHPrZaBkY/w== X-CSE-MsgGUID: sv0vnfarQoSBX2TgjIErqg== X-IronPort-AV: E=McAfee;i="6700,10204,11217"; a="27367089" X-IronPort-AV: E=Sophos;i="6.11,183,1725346800"; d="scan'208";a="27367089" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2024 01:13:32 -0700 X-CSE-ConnectionGUID: VClna+ijSremkkGVPO+4pA== X-CSE-MsgGUID: LSPoIy7RQpCbRrTolAtVYQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,183,1725346800"; d="scan'208";a="106226745" Received: from txanpdk02.an.intel.com ([10.123.117.76]) by orviesa002.jf.intel.com with ESMTP; 07 Oct 2024 01:13:30 -0700 From: Abdullah Sevincer To: dev@dpdk.org Cc: jerinj@marvell.com, bruce.richardson@intel.com, pravin.pathak@intel.com, mattias.ronnblom@ericsson.com, manish.aggarwal@intel.com, Abdullah Sevincer Subject: [PATCH v18 3/3] event/dsw: add capability for independent enqueue Date: Mon, 7 Oct 2024 03:13:24 -0500 Message-Id: <20241007081324.155986-4-abdullah.sevincer@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241007081324.155986-1-abdullah.sevincer@intel.com> References: <20241003205002.4090954-2-abdullah.sevincer@intel.com> <20241007081324.155986-1-abdullah.sevincer@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 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 Acked-by: Mattias Rönnblom --- doc/guides/eventdevs/features/dsw.ini | 1 + doc/guides/rel_notes/release_24_11.rst | 2 ++ drivers/event/dsw/dsw_evdev.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/guides/eventdevs/features/dsw.ini b/doc/guides/eventdevs/features/dsw.ini index 4038b9dd3d..d8633abc7a 100644 --- a/doc/guides/eventdevs/features/dsw.ini +++ b/doc/guides/eventdevs/features/dsw.ini @@ -11,6 +11,7 @@ burst_mode = Y nonseq_mode = Y multiple_queue_port = Y carry_flow_id = Y +independent_enq = Y [Eth Rx adapter Features] multi_eventq = Y diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst index 1485447393..f806c08244 100644 --- a/doc/guides/rel_notes/release_24_11.rst +++ b/doc/guides/rel_notes/release_24_11.rst @@ -77,6 +77,8 @@ New Features * Updated DLB2 driver for independent enqueue feature. + * Updated DSW driver for independent enqueue feature. + Removed Items ------------- diff --git a/drivers/event/dsw/dsw_evdev.c b/drivers/event/dsw/dsw_evdev.c index 8a1a2db8ac..9fb187bc74 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 }; } -- 2.25.1