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

Function pdcp_test_param_domain_get

dpdk/app/test/test_pdcp.c:613–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613static enum rte_security_pdcp_domain
614pdcp_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
633static uint8_t
634pdcp_test_data_sn_size_get(enum pdcp_test_suite_type suite_type, const int index)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected