| 611 | } |
| 612 | |
| 613 | static enum rte_security_pdcp_domain |
| 614 | pdcp_test_param_domain_get(enum pdcp_test_suite_type suite_type, const int index) |
| 615 | { |
| 616 | enum rte_security_pdcp_domain ret; |
| 617 | |
| 618 | switch (suite_type) { |
| 619 | case PDCP_TEST_SUITE_TY_BASIC: |
| 620 | ret = pdcp_test_params[index].domain; |
| 621 | break; |
| 622 | case PDCP_TEST_SUITE_TY_SDAP: |
| 623 | ret = list_pdcp_sdap_tests[index].param.domain; |
| 624 | break; |
| 625 | default: |
| 626 | RTE_LOG(ERR, USER1, "Invalid suite_type: %d\n", suite_type); |
| 627 | ret = -1; |
| 628 | } |
| 629 | |
| 630 | return ret; |
| 631 | } |
| 632 | |
| 633 | static uint8_t |
| 634 | pdcp_test_data_sn_size_get(enum pdcp_test_suite_type suite_type, const int index) |
no outgoing calls
no test coverage detected