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 BD33E43284; Sat, 4 Nov 2023 00:42:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E209042DDC; Sat, 4 Nov 2023 00:41:38 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 7BA70402F1; Sat, 4 Nov 2023 00:41:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699054890; x=1730590890; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=K5laztTk40TNhFHRgSg6GceYHN96nJUB/NhDpyRZ1G0=; b=N9RNQ7Y8Q+L8Va+TUTKYemAymRtd0sZslYN2eBKXPYmHF5RAIY5jBVv3 n3eRButO6/zTtEmCGjGxEfuZJypZ8tfTVvOrHdNOMBOtgOaCRDR5tLFRZ DsPQQDlTM+o9JgBMj1gI4de5ENPzubHOld0Rknqb0fcVxvKc4dkzxULDk KcWdYUvbXsgbDn1HD5czdt7cTL5QN/mr8eRPyAQmv4cMr0CS4F0tJS4Yd lJ73iWrG8cV6j9v4Iz9Tcofl/bnXb9rnHQiRX9mzP+nQuDnsCBx/f2ibC hnLAtA9PWeIGmy9qQG3Vd4pzCRTgHA5S91YUiCSuge8OjjLLGVfvY/Exb w==; X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="386213581" X-IronPort-AV: E=Sophos;i="6.03,275,1694761200"; d="scan'208";a="386213581" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2023 16:41:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10883"; a="935249156" X-IronPort-AV: E=Sophos;i="6.03,275,1694761200"; d="scan'208";a="935249156" Received: from spr-npg-bds1-eec2.sn.intel.com (HELO spr-npg-bds1-eec2..) ([10.233.181.123]) by orsmga005.jf.intel.com with ESMTP; 03 Nov 2023 16:41:30 -0700 From: Nicolas Chautru To: dev@dpdk.org, maxime.coquelin@redhat.com Cc: hemant.agrawal@nxp.com, david.marchand@redhat.com, hernan.vargas@intel.com, stable@dpdk.org Subject: [PATCH v3 06/10] test/bbdev: ldpc encoder concatenation vector Date: Fri, 3 Nov 2023 23:34:09 +0000 Message-Id: <20231103233413.756110-7-nicolas.chautru@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231103233413.756110-1-nicolas.chautru@intel.com> References: <20231103233413.756110-1-nicolas.chautru@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 From: Hernan Vargas Add support for LDPC encoder concatenation configuration from the test vector. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_vector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_vector.c b/app/test-bbdev/test_bbdev_vector.c index c26727cd35..0ef1481f2a 100644 --- a/app/test-bbdev/test_bbdev_vector.c +++ b/app/test-bbdev/test_bbdev_vector.c @@ -284,8 +284,10 @@ op_ldpc_encoder_flag_strtoul(char *token, uint32_t *op_flag_value) *op_flag_value = RTE_BBDEV_LDPC_ENC_INTERRUPTS; else if (!strcmp(token, "RTE_BBDEV_LDPC_ENC_SCATTER_GATHER")) *op_flag_value = RTE_BBDEV_LDPC_ENC_SCATTER_GATHER; + else if (!strcmp(token, "RTE_BBDEV_LDPC_ENC_CONCATENATION")) + *op_flag_value = RTE_BBDEV_LDPC_ENC_CONCATENATION; else { - printf("The given value is not a turbo encoder flag\n"); + printf("The given value is not a LDPC encoder flag - %s\n", token); return -1; } -- 2.34.1