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

Function test_combined

dpdk/app/test/test_pdcp.c:2050–2070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2048}
2049
2050static int
2051test_combined(struct pdcp_test_conf *ul_conf)
2052{
2053 struct pdcp_test_conf dl_conf;
2054 int ret;
2055
2056 if (ul_conf->entity.pdcp_xfrm.pkt_dir == RTE_SECURITY_PDCP_DOWNLINK)
2057 return TEST_SKIPPED;
2058
2059 ul_conf->entity.reverse_iv_direction = true;
2060 ul_conf->output_len = 0;
2061
2062 ret = test_attempt_single(ul_conf);
2063 if (ret != TEST_SUCCESS)
2064 return ret;
2065
2066 uplink_to_downlink_convert(ul_conf, &dl_conf);
2067 ret = test_attempt_single(&dl_conf);
2068
2069 return ret;
2070}
2071
2072#define MIN_DATA_LEN 0
2073#define MAX_DATA_LEN 9000

Callers 1

Calls 2

test_attempt_singleFunction · 0.85

Tested by

no test coverage detected