From patchwork Sat Oct 5 17:51:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Abdullah Sevincer X-Patchwork-Id: 145220 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6BE345A8D; Sat, 5 Oct 2024 19:51:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B42240E03; Sat, 5 Oct 2024 19:51:37 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by mails.dpdk.org (Postfix) with ESMTP id 841E340BA2 for ; Sat, 5 Oct 2024 19:51:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728150694; x=1759686694; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tOFJZWjuRsb9EgChf0EiyC+vUjHNCckXe6w8yiLDElg=; b=aWlZiNQvZQuJTkqFNuibEGgllbgxxDmddl8lzk6AVAxi7BfjnNCi4Nrs 7FmiHtl3IjTS6h3jsMAC21LXgHzE1M32AaVKdLZWjI5bI3mjTl2geg2SD uKqMiOeuyrDpWyCdARe/AO/8I/b9q+7cDr8YtUaAzLuiO3xSRxyciHV/m GJw3CJVA+eZIummQ/NCU7BmfYgQ0gyZtClzuKSFlGNAB4jw7Kg2Nu+opW agk6NNqgKgLb1V+HSnDMtG3tS9WActJkNkEcA3vedydKd82SGf14LEHdz +tu9NSlKu8xS8nM2z04JfIb6Pd0Msm9dYxE8xpD8gWHNOpJEByr3v0V0H w==; X-CSE-ConnectionGUID: +jYWqFPNQX2WUQ4j0MsIrw== X-CSE-MsgGUID: dxCtmwCBT7uFCYGcLxsJ2g== X-IronPort-AV: E=McAfee;i="6700,10204,11216"; a="38714784" X-IronPort-AV: E=Sophos;i="6.11,180,1725346800"; d="scan'208";a="38714784" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2024 10:51:33 -0700 X-CSE-ConnectionGUID: 5ws1wQnlSNWWh4kv96NBNg== X-CSE-MsgGUID: G0nPWwtITWKyti6UOXIkvw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,180,1725346800"; d="scan'208";a="74604881" Received: from txanpdk02.an.intel.com ([10.123.117.76]) by fmviesa006.fm.intel.com with ESMTP; 05 Oct 2024 10:51:32 -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 v15 3/3] event/dsw: add capability for independent enqueue Date: Sat, 5 Oct 2024 12:51:26 -0500 Message-Id: <20241005175126.59966-4-abdullah.sevincer@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241005175126.59966-1-abdullah.sevincer@intel.com> References: <20241003205002.4090954-2-abdullah.sevincer@intel.com> <20241005175126.59966-1-abdullah.sevincer@intel.com> MIME-Version: 1.0 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 | 2 ++ drivers/event/dsw/dsw_evdev.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst index d020277bf5..09f1ed0b95 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 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 }; }