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 85E2D45AA2; Thu, 3 Oct 2024 22:50:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8A81E40673; Thu, 3 Oct 2024 22:50:14 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mails.dpdk.org (Postfix) with ESMTP id BB5EE40613 for ; Thu, 3 Oct 2024 22:50:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1727988610; x=1759524610; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=sGU7PZ3eTatnSDkIzHSVESZzpKRz3fw+vS6zKshPqcw=; b=ExWtB8WTLGTBUac+I0NxIHaFRgzkmgUAHCRCG80dZCC6Z1LlbnS4mb7F TY26DfeiM+mqIK+B8oGI/opRaLjNbS+oUVxhetOc1ItUCwRX3lJiMlomP 6XW0QRnU0QQvjwuk46cTyLXiMEAsfIdavDalmxmRiouIw/kiNEjv6wnet GoWG3RrqB3HukZSjo3ppnhC8oexZrcG+IaKwz1tir49WqQE7EnYq3uT6j JgjmcAvspfjheWfmlyhm67P+MHUl6t3bsRi0g8kFqum2bP8ztxxbrKU4v lEvhIaYn2brblDiL856vDqraHH7Fe/SXhIQgGCk0HH1aTZANpJhYdRG9Q A==; X-CSE-ConnectionGUID: a8Tjco45Rd6xhqLsrfHZKA== X-CSE-MsgGUID: 3iFBa6MnRwKUG6NmZXGERw== X-IronPort-AV: E=McAfee;i="6700,10204,11214"; a="27334262" X-IronPort-AV: E=Sophos;i="6.11,175,1725346800"; d="scan'208";a="27334262" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Oct 2024 13:50:09 -0700 X-CSE-ConnectionGUID: kL0f8+p5TJ+Ncy2a3nnlew== X-CSE-MsgGUID: bcYTqfzfRbC9z5M1yDHUzg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,175,1725346800"; d="scan'208";a="78895985" Received: from txanpdk02.an.intel.com ([10.123.117.76]) by fmviesa005.fm.intel.com with ESMTP; 03 Oct 2024 13:50:08 -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 v14 3/3] event/dsw: add capability for independent enqueue Date: Thu, 3 Oct 2024 15:50:02 -0500 Message-Id: <20241003205002.4090954-4-abdullah.sevincer@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241003205002.4090954-1-abdullah.sevincer@intel.com> References: <20240909160506.2655354-3-abdullah.sevincer@intel.com> <20241003205002.4090954-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 | 1 + drivers/event/dsw/dsw_evdev.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst index 98e9732100..4e4ca4fc23 100644 --- a/doc/guides/rel_notes/release_24_11.rst +++ b/doc/guides/rel_notes/release_24_11.rst @@ -76,6 +76,7 @@ New Features use ``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. 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