| 2705 | } |
| 2706 | |
| 2707 | static int |
| 2708 | validate_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 | |
| 2729 | static void |
| 2730 | create_reference_dec_op(struct rte_bbdev_dec_op *op) |
no test coverage detected