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 46329454E2; Mon, 24 Jun 2024 17:07:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E195E410D0; Mon, 24 Jun 2024 17:07:17 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mails.dpdk.org (Postfix) with ESMTP id 09E5640E30 for ; Mon, 24 Jun 2024 17:07:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719241632; x=1750777632; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6k367TWHmQVOgvD0jBdmNX69u18ltXRhWKGwfP39VOg=; b=NYv/mKNygvc8gY8Oi1SlQHPb2xUKk0Zib/aHQ2KaeqDfGbtYCuovFqEL TaILsSlPj1/q21GVqHLV2fL0pt2CIECam2b6klbcM+9Oj+WSkEFWykTG5 vBb4PgapeJ5uQrf8DJRM+40XTXlyHpI7NG/qhZWNWLfG7XaS1xWuLTvFA h3gf2wtPmWSaqQcaGuSzoaQyQM8T/4Jrtj4Cr+Fi4zcqOcei2wBZo5EDC jpxJa3J2K+XUhLthZ7alyRm0m24Cn6FZJeXHiNsqrSj3x/9Aga95fft2t 7Lt5Mt8e4dpR2aij0ZkxrcORkxQ+zo/n/LcGif912PKF255FEeSrU7pWD g==; X-CSE-ConnectionGUID: e6KEyViaTFGb189mzN8RIw== X-CSE-MsgGUID: jIbnyw1qS0CwzDiPewXADw== X-IronPort-AV: E=McAfee;i="6700,10204,11113"; a="16042027" X-IronPort-AV: E=Sophos;i="6.08,262,1712646000"; d="scan'208";a="16042027" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2024 08:07:11 -0700 X-CSE-ConnectionGUID: vFIQQ3mcSouIXyYnRADfhQ== X-CSE-MsgGUID: pIJj4SrPQaiXoObzX7BGEw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,262,1712646000"; d="scan'208";a="44025869" Received: from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103]) by orviesa008.jf.intel.com with ESMTP; 24 Jun 2024 08:07:11 -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 v2 6/9] test/bbdev: add soft output parsing capability Date: Mon, 24 Jun 2024 08:02:34 -0700 Message-Id: <20240624150237.47169-7-hernan.vargas@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20240624150237.47169-1-hernan.vargas@intel.com> References: <20240624150237.47169-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 Add vector parsing capability for soft output vectors. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_vector.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/test-bbdev/test_bbdev_vector.c b/app/test-bbdev/test_bbdev_vector.c index 42fa630041e9..b3e9d4bb7504 100644 --- a/app/test-bbdev/test_bbdev_vector.c +++ b/app/test-bbdev/test_bbdev_vector.c @@ -837,6 +837,10 @@ parse_ldpc_decoder_params(const char *key_token, char *token, ret = parse_data_entry(key_token, token, vector, DATA_HARQ_OUTPUT, op_data_prefixes[DATA_HARQ_OUTPUT]); + else if (starts_with(key_token, op_data_prefixes[DATA_SOFT_OUTPUT])) + ret = parse_data_entry(key_token, token, vector, + DATA_SOFT_OUTPUT, + op_data_prefixes[DATA_SOFT_OUTPUT]); else if (!strcmp(key_token, "e")) { vector->mask |= TEST_BBDEV_VF_E; ldpc_dec->cb_params.e = (uint32_t) strtoul(token, &err, 0); -- 2.37.1