| 2048 | } |
| 2049 | |
| 2050 | static int |
| 2051 | test_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 |
no test coverage detected