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 86C9E457A5; Mon, 12 Aug 2024 22:01:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A34B40E39; Mon, 12 Aug 2024 22:00:51 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id B0D8940E31 for ; Mon, 12 Aug 2024 22:00:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723492850; x=1755028850; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=132NzOLldf/cxduw8PfyAQdVcopXetuhxBOK0guMOUg=; b=IpbP9LDox0woJXndTzlqi6z0g3pybmgp8Zg4zhVK0liiaguo/VmitzNy BHI3yFCqiiAv70ZdOQhGcX+Ay6LdcJRFW0nsuzWIDxTDAu3JlxxpDL2Rv zN7ZbmHuZ1V8te22uaKQW6RW9ZYabjJXJAUeygNw/r+cZ9utI2YJPsGVo Hd0ZGPSkMCuQ3o97sr0mZ6io14lpkJ9pIx44x9S8abKsNAsF5wx+gyhot KaLuECeDwMdhsg/qFnFVmTLnkpZ+tFPpcboiw9lp6sKFXOgdMo8xjuCyp KuNDotL7WFDZ/wEtEwGirg1IQyTfJ3UKNNJo3w9dNHGrvF0jzMl+wBHvB Q==; X-CSE-ConnectionGUID: QWWnn3a1RCipkxkvKVsJSQ== X-CSE-MsgGUID: 71Nif7oAQ4SisPSAYr+UPQ== X-IronPort-AV: E=McAfee;i="6700,10204,11162"; a="25417213" X-IronPort-AV: E=Sophos;i="6.09,284,1716274800"; d="scan'208";a="25417213" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2024 13:00:49 -0700 X-CSE-ConnectionGUID: iz95KAGqTPqMs+q4J0Rqsw== X-CSE-MsgGUID: 38zRMkCVSXC0ftAN7yqILw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,284,1716274800"; d="scan'208";a="59082229" Received: from txanpdk02.an.intel.com ([10.123.117.76]) by orviesa008.jf.intel.com with ESMTP; 12 Aug 2024 13:00:48 -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 v8 3/3] event/dsw: add capability for independent enqueue Date: Mon, 12 Aug 2024 15:00:30 -0500 Message-Id: <20240812200030.988314-4-abdullah.sevincer@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240812200030.988314-1-abdullah.sevincer@intel.com> References: <20240711195444.2627373-3-abdullah.sevincer@intel.com> <20240812200030.988314-1-abdullah.sevincer@intel.com> MIME-Version: 1.0 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 --- 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 04f389876a..b8d1f36e54 100644 --- a/doc/guides/rel_notes/release_24_11.rst +++ b/doc/guides/rel_notes/release_24_11.rst @@ -35,6 +35,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 }; } -- 2.25.1