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 1D677458AC; Fri, 30 Aug 2024 22:15:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DCAC42F61; Fri, 30 Aug 2024 22:14:54 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id 364EE42F1F for ; Fri, 30 Aug 2024 22:14:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725048884; x=1756584884; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=C4VNbI0t1TUrBB39aiJA0jFhMtwxP0mJXeVeOc93iJs=; b=GuWArsRoQSY85MmSWgbZCsXKxM0rr5xqvmqsyOQBrcnLAGGq1tTwfUoZ L0u3c9Cc4LDEF0AWjVj1MMI0WYCDE7ctqfmMfYhOmMg1iXuzQPyHy+HSO Zp0qjeYHHKOIaqkllXWX0Bn6TnS7sIel30MPCWw4IAoast8IBEjytgsmK IQ83+vObrRPbhoQR7zGvmd0+QVZdI3s2LEQiLqefNiFzC7tcjdw0PEAZ+ ZEwCZhWsoWCt69ASfQE3lSA/sK7jQAVctLpbsw1V5+9Uq16J+Tz/fB3hF Bs1ZhHZNPTGoYeisZfV/Dn6LP1GVM3yJjCWmPs4/iSQpCtLoLBWuwS/pM w==; X-CSE-ConnectionGUID: 7sleALmXTCijLqHTsRyocw== X-CSE-MsgGUID: O1isEQyYRrih5wuXCa1x8w== X-IronPort-AV: E=McAfee;i="6700,10204,11180"; a="23661209" X-IronPort-AV: E=Sophos;i="6.10,189,1719903600"; d="scan'208";a="23661209" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2024 13:14:43 -0700 X-CSE-ConnectionGUID: t7dNl0YNTiSrAkFLmv0ZkQ== X-CSE-MsgGUID: q1YmLKtuQ226nCoNwNKVjQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,189,1719903600"; d="scan'208";a="94731900" Received: from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103]) by orviesa002.jf.intel.com with ESMTP; 30 Aug 2024 13:14:42 -0700 From: Hernan Vargas To: dev@dpdk.org, gakhil@marvell.com, trix@redhat.com, maxime.coquelin@redhat.com Cc: nicolas.chautru@intel.com, qi.z.zhang@intel.com, Hernan Vargas Subject: [PATCH v1 09/10] baseband/acc: reset ring data valid bit Date: Fri, 30 Aug 2024 13:09:51 -0700 Message-Id: <20240830200952.182685-10-hernan.vargas@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240830200952.182685-1-hernan.vargas@intel.com> References: <20240830200952.182685-1-hernan.vargas@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 Reset only the valid bit to keep info ring data notably for dumping. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_vrb_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_vrb_pmd.c b/drivers/baseband/acc/rte_vrb_pmd.c index 581779160569..6353a27e69b2 100644 --- a/drivers/baseband/acc/rte_vrb_pmd.c +++ b/drivers/baseband/acc/rte_vrb_pmd.c @@ -411,7 +411,7 @@ vrb_check_ir(struct acc_device *acc_dev) rte_bbdev_log(WARNING, "InfoRing: ITR:%d Info:0x%x", int_nb, ring_data->detailed_info); /* Initialize Info Ring entry and move forward. */ - ring_data->val = 0; + ring_data->valid = 0; } info_ring_head++; ring_data = acc_dev->info_ring + (info_ring_head & ACC_INFO_RING_MASK); -- 2.37.1