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 B54B44594A; Mon, 9 Sep 2024 18:05:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9BACE41132; Mon, 9 Sep 2024 18:05:16 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by mails.dpdk.org (Postfix) with ESMTP id 016D7410DD for ; Mon, 9 Sep 2024 18:05:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725897914; x=1757433914; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=HepXgrvSnuZWPGuVR2EAUYu+KWh+dRWLfqcLdjxeudE=; b=b29Yqyu2N9bV+KIzzC0QblWHeFq/AWd4LM7xVTlCr30WrixfeP/6NfVm bwvjzI7taDA+ytpl2bQYGgOhCR24cMx3Xu+l53gaZc9vzJIPkmTH5x7b5 Z5sWk99SFrXylLH8BEBtWMAOXR5VT8JcvtQSSjD2DQMuzI7PJOy69ldtp pLBA+2NM3TffMdcOSpmsmOrbI3A1v/X4ZU0EbACuHmqgdeNtQhZ2EYrwP mgRarcF3wClTJQZUnzanWz7HoJLEFYqlEZvzUsl0qFx1yo6RdHdLwhLQg Yv79f25HTyVtNpSkKB/ZFJepDDRYbbpAlO/qupy3NBQtQXu7/UT7TaPJm Q==; X-CSE-ConnectionGUID: +6XOWZOQSA6inyPnC7t2eg== X-CSE-MsgGUID: Fmi+S741Sx+pnx7nE3G1JQ== X-IronPort-AV: E=McAfee;i="6700,10204,11190"; a="35747960" X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="35747960" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2024 09:05:13 -0700 X-CSE-ConnectionGUID: JGu6Ob6hR0CNpWrmQ0Pkhw== X-CSE-MsgGUID: +UBselAeSc6rqIOxGTcAOQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,214,1719903600"; d="scan'208";a="67456762" Received: from txanpdk02.an.intel.com ([10.123.117.76]) by orviesa008.jf.intel.com with ESMTP; 09 Sep 2024 09:05:13 -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 v12 3/3] event/dsw: add capability for independent enqueue Date: Mon, 9 Sep 2024 11:05:06 -0500 Message-Id: <20240909160506.2655354-4-abdullah.sevincer@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240909160506.2655354-1-abdullah.sevincer@intel.com> References: <20240830162357.2057922-2-abdullah.sevincer@intel.com> <20240909160506.2655354-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/rel_notes/release_24_11.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_11.rst b/doc/guides/rel_notes/release_24_11.rst index 61796f24e6..c505215ae1 100644 --- a/doc/guides/rel_notes/release_24_11.rst +++ b/doc/guides/rel_notes/release_24_11.rst @@ -66,6 +66,10 @@ New Features ``RTE_EVENT_PORT_CFG_INDEPENDENT_ENQ`` to enable the feature if the capability ``RTE_EVENT_DEV_CAP_INDEPENDENT_ENQ`` exists. +* **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 }; } -- 2.25.1