| 590 | } |
| 591 | |
| 592 | static uint8_t |
| 593 | pdcp_test_bearer_get(enum pdcp_test_suite_type suite_type, const int index) |
| 594 | { |
| 595 | uint8_t ret; |
| 596 | |
| 597 | switch (suite_type) { |
| 598 | case PDCP_TEST_SUITE_TY_BASIC: |
| 599 | ret = pdcp_test_bearer[index]; |
| 600 | break; |
| 601 | case PDCP_TEST_SUITE_TY_SDAP: |
| 602 | ret = list_pdcp_sdap_tests[index].bearer; |
| 603 | break; |
| 604 | default: |
| 605 | RTE_LOG(ERR, USER1, "Invalid suite_type: %d\n", suite_type); |
| 606 | ret = -1; |
| 607 | |
| 608 | } |
| 609 | |
| 610 | return ret; |
| 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) |
no outgoing calls
no test coverage detected