MCPcopy Create free account
hub / github.com/F-Stack/f-stack / validate_mldts_op

Function validate_mldts_op

dpdk/app/test-bbdev/test_bbdev_perf.c:2707–2727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2705}
2706
2707static int
2708validate_mldts_op(struct rte_bbdev_mldts_op **ops, const uint16_t n,
2709 struct rte_bbdev_mldts_op *ref_op)
2710{
2711 unsigned int i;
2712 int ret;
2713 struct op_data_entries *mldts_data_orig =
2714 &test_vector.entries[DATA_HARD_OUTPUT];
2715 for (i = 0; i < n; ++i) {
2716 ret = check_mldts_status_and_ordering(ops[i], i, ref_op->status);
2717 TEST_ASSERT_SUCCESS(ret,
2718 "Checking status and ordering for MLDTS failed");
2719 TEST_ASSERT_SUCCESS(validate_op_mldts_chain(
2720 &ops[i]->mldts.output,
2721 mldts_data_orig),
2722 "MLDTS Output buffers (op=%u) are not matched",
2723 i);
2724 }
2725
2726 return TEST_SUCCESS;
2727}
2728
2729static void
2730create_reference_dec_op(struct rte_bbdev_dec_op *op)

Callers 3

dequeue_event_callbackFunction · 0.85
latency_test_mldtsFunction · 0.85

Calls 2

validate_op_mldts_chainFunction · 0.85

Tested by

no test coverage detected