From patchwork Wed Jun 22 16:54:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ganapati Kundapura X-Patchwork-Id: 113262 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 94EBBA034C; Wed, 22 Jun 2022 18:54:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C5B642836; Wed, 22 Jun 2022 18:54:22 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 577BF427F1 for ; Wed, 22 Jun 2022 18:54:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655916855; x=1687452855; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=VJGEymrS++m5x3kJdyF96z+okocOJiO4ocNau7lPKVw=; b=FWKXSMrqtcwm7Mi53OarR5+xx98GIIS7lhWiFpUPYV3Fs3qyPPkFDqB2 dQUJVbNFNGWagzPi+ejzU6DJlGkr927WnQ0g7/C44NUMDi0qOU/FBBda1 O6D84SUK2mRKH8AiNS6Jopa6lQmMmbMx8WCVgCE+p5RgapeRDyyHutft0 rREVvlC37AiqSbKGX30Bfb3hdFZ0rZsdflixEAEyukODhoyQevXkqM3ER y0oZ9WL8RDAH6y0bW8ozmpmugsrcsYdGqxCjgPsGWo+qbkwXqh90X3jB4 m2/SZJ1Sp78k57fR40xDVvb5dgXjV8xS6KH6yfUnSpCc+rWOK2o6q3SdR w==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="281549254" X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="281549254" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 09:54:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="677645890" Received: from txandevlnx322.an.intel.com ([10.123.117.44]) by FMSMGA003.fm.intel.com with ESMTP; 22 Jun 2022 09:54:13 -0700 From: Ganapati Kundapura To: dev@dpdk.org, jerinj@marvell.com, jay.jayatheerthan@intel.com, s.v.naga.harish.k@intel.com Subject: [PATCH v8 6/7] doc/eth_rx: update instance get API Date: Wed, 22 Jun 2022 11:54:04 -0500 Message-Id: <20220622165405.533042-6-ganapati.kundapura@intel.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220622165405.533042-1-ganapati.kundapura@intel.com> References: <20220622103756.421869-1-ganapati.kundapura@intel.com> <20220622165405.533042-1-ganapati.kundapura@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 Added rte_event_eth_rx_adapter_instance_get() details Signed-off-by: Ganapati Kundapura Reviewed-by: Naga Harish K S V --- doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst index 3b4ef50..5b9d0cf 100644 --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst @@ -177,6 +177,12 @@ used otherwise it returns -EINVAL. The ``rte_event_eth_rx_adapter_queue_stats_reset`` function can be used to reset queue level stats when queue level event buffer is in use. +Getting Adapter instance id +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The ``rte_event_eth_rx_adapter_instance_get()`` function reports +rx adapter instance id for a specified ethernet device id and rx queue index. + Interrupt Based Rx Queues ~~~~~~~~~~~~~~~~~~~~~~~~~~