DPDK patches and discussions
 help / color / mirror / Atom feed
From: Nicolas Chautru <nicolas.chautru@intel.com>
To: dev@dpdk.org, akhil.goyal@nxp.com
Cc: bruce.richardson@intel.com, Nicolas Chautru <nicolas.chautru@intel.com>
Subject: [dpdk-dev] [PATCH v3 5/7] app/bbdev: skip bler ut when compression is used
Date: Tue, 18 Aug 2020 17:05:55 -0700	[thread overview]
Message-ID: <1597795557-39612-6-git-send-email-nicolas.chautru@intel.com> (raw)
In-Reply-To: <1597795557-39612-1-git-send-email-nicolas.chautru@intel.com>

bler test results are not valid when LLR compression
is used or for loopback scenarios. Skipping these.

Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
---
 app/test-bbdev/test_bbdev_perf.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c
index e2c1d64..a6cd94b 100644
--- a/app/test-bbdev/test_bbdev_perf.c
+++ b/app/test-bbdev/test_bbdev_perf.c
@@ -3648,7 +3648,11 @@ typedef int (test_case_function)(struct active_device *ad,
 			RTE_ALIGN(sizeof(struct thread_params) * num_lcores,
 				RTE_CACHE_LINE_SIZE));
 
-	if (test_vector.op_type == RTE_BBDEV_OP_LDPC_DEC)
+	if ((test_vector.op_type == RTE_BBDEV_OP_LDPC_DEC) &&
+			!check_bit(test_vector.ldpc_dec.op_flags,
+			RTE_BBDEV_LDPC_INTERNAL_HARQ_MEMORY_LOOPBACK)
+			&& !check_bit(test_vector.ldpc_dec.op_flags,
+			RTE_BBDEV_LDPC_LLR_COMPRESSION))
 		bler_function = bler_pmd_lcore_ldpc_dec;
 	else
 		return TEST_SKIPPED;
-- 
1.8.3.1


  parent reply	other threads:[~2020-08-19  0:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19  0:05 [dpdk-dev] [PATCH v3 0/7] BBDEV test updates Nicolas Chautru
2020-08-19  0:05 ` [dpdk-dev] [PATCH v3 1/7] app/bbdev: add explicit ut for latency vs validation Nicolas Chautru
2020-09-15  9:49   ` Aidan Goddard
2020-09-15 10:01   ` Dave Burley
2020-08-19  0:05 ` [dpdk-dev] [PATCH v3 2/7] app/bbdev: add explicit check for counters Nicolas Chautru
2020-09-15  9:53   ` Aidan Goddard
2020-09-15 10:02   ` Dave Burley
2020-08-19  0:05 ` [dpdk-dev] [PATCH v3 3/7] app/bbdev: include explicit HARQ preloading Nicolas Chautru
2020-08-19  0:05 ` [dpdk-dev] [PATCH v3 4/7] app/bbdev: define wait for offload Nicolas Chautru
2020-08-19  0:05 ` Nicolas Chautru [this message]
2020-09-15  9:55   ` [dpdk-dev] [PATCH v3 5/7] app/bbdev: skip bler ut when compression is used Aidan Goddard
2020-09-15 10:03   ` Dave Burley
2020-08-19  0:05 ` [dpdk-dev] [PATCH v3 6/7] app/bbdev: reduce duration of throughput test Nicolas Chautru
2020-08-19  0:05 ` [dpdk-dev] [PATCH v3 7/7] app/bbdev: update offload test to dequeue full ring Nicolas Chautru
2020-09-15  9:55   ` Aidan Goddard
2020-09-15 10:05   ` Dave Burley
2020-10-07  0:13 ` [dpdk-dev] [PATCH v3 0/7] BBDEV test updates Chautru, Nicolas
2020-10-07  6:37   ` Akhil Goyal
2020-10-07 16:00     ` Chautru, Nicolas
2020-10-20 16:08     ` Chautru, Nicolas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1597795557-39612-6-git-send-email-nicolas.chautru@intel.com \
    --to=nicolas.chautru@intel.com \
    --cc=akhil.goyal@nxp.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).