| 652 | } |
| 653 | |
| 654 | static uint8_t |
| 655 | pdcp_test_packet_direction_get(enum pdcp_test_suite_type suite_type, const int index) |
| 656 | { |
| 657 | uint8_t ret; |
| 658 | |
| 659 | switch (suite_type) { |
| 660 | case PDCP_TEST_SUITE_TY_BASIC: |
| 661 | ret = pdcp_test_packet_direction[index]; |
| 662 | break; |
| 663 | case PDCP_TEST_SUITE_TY_SDAP: |
| 664 | ret = list_pdcp_sdap_tests[index].packet_direction; |
| 665 | break; |
| 666 | default: |
| 667 | RTE_LOG(ERR, USER1, "Invalid suite_type: %d\n", suite_type); |
| 668 | return -1; |
| 669 | } |
| 670 | |
| 671 | return ret; |
| 672 | } |
| 673 | |
| 674 | static enum rte_crypto_cipher_algorithm |
| 675 | pdcp_test_param_cipher_alg_get(enum pdcp_test_suite_type suite_type, const int index) |
no outgoing calls
no test coverage detected