Lines Matching refs:rc
245 int rc = -1; in check_cryptodev_capability() local
252 rc = rte_cryptodev_sym_capability_check_auth(cap, in check_cryptodev_capability()
255 if (rc == 0) { in check_cryptodev_capability()
261 rc = rte_cryptodev_sym_capability_check_cipher( in check_cryptodev_capability()
268 return rc; in check_cryptodev_capability()
281 int rc; in testsuite_setup() local
305 rc = check_cryptodev_capability(ut_params, i); in testsuite_setup()
306 if (rc == 0) { in testsuite_setup()
650 int32_t rc; in create_crypto_session() local
658 rc = rte_cryptodev_sym_session_init(dev_id, s, in create_crypto_session()
660 if (rc == 0) { in create_crypto_session()
667 return rc; in create_crypto_session()
728 int rc; in create_sa() local
732 rc = fill_ipsec_param(replay_win_sz, flags); in create_sa()
733 if (rc != 0) in create_sa()
745 rc = create_session(ut, &ts->qp_conf, ts->valid_dev, j); in create_sa()
746 if (rc != 0) in create_sa()
749 rc = rte_ipsec_sa_init(ut->ss[j].sa, &ut->sa_prm, sz); in create_sa()
750 rc = (rc > 0 && (uint32_t)rc <= sz) ? 0 : -EINVAL; in create_sa()
751 if (rc == 0) in create_sa()
752 rc = rte_ipsec_session_prepare(&ut->ss[j]); in create_sa()
754 return rc; in create_sa()
977 uint32_t rc = 0; in crypto_ipsec_4grp_check_mbufs() local
982 rc = TEST_FAILED; in crypto_ipsec_4grp_check_mbufs()
988 rc = TEST_FAILED; in crypto_ipsec_4grp_check_mbufs()
995 rc = TEST_FAILED; in crypto_ipsec_4grp_check_mbufs()
1001 rc = TEST_FAILED; in crypto_ipsec_4grp_check_mbufs()
1005 rc = TEST_FAILED; in crypto_ipsec_4grp_check_mbufs()
1007 return rc; in crypto_ipsec_4grp_check_mbufs()
1013 uint32_t rc = 0; in crypto_ipsec_4grp_check_cnt() local
1017 rc = TEST_FAILED; in crypto_ipsec_4grp_check_cnt()
1020 rc = TEST_FAILED; in crypto_ipsec_4grp_check_cnt()
1023 rc = TEST_FAILED; in crypto_ipsec_4grp_check_cnt()
1026 rc = TEST_FAILED; in crypto_ipsec_4grp_check_cnt()
1028 rc = TEST_FAILED; in crypto_ipsec_4grp_check_cnt()
1030 return rc; in crypto_ipsec_4grp_check_cnt()
1040 uint32_t rc = 0; in crypto_ipsec_2sa_4grp() local
1081 rc = crypto_ipsec_4grp_check_cnt(i, grp); in crypto_ipsec_2sa_4grp()
1082 if (rc != 0) { in crypto_ipsec_2sa_4grp()
1087 rc = crypto_ipsec_4grp_check_mbufs(i, grp); in crypto_ipsec_2sa_4grp()
1088 if (rc != 0) { in crypto_ipsec_2sa_4grp()
1126 int rc = 0; in test_ipsec_crypto_op_alloc() local
1129 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_crypto_op_alloc()
1135 rc = TEST_FAILED; in test_ipsec_crypto_op_alloc()
1139 return rc; in test_ipsec_crypto_op_alloc()
1243 int rc; in test_ipsec_crypto_inb_burst_null_null() local
1246 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_crypto_inb_burst_null_null()
1248 if (rc != 0) { in test_ipsec_crypto_inb_burst_null_null()
1254 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_crypto_inb_burst_null_null()
1260 rc = TEST_FAILED; in test_ipsec_crypto_inb_burst_null_null()
1263 if (rc == 0) { in test_ipsec_crypto_inb_burst_null_null()
1266 rc = test_ipsec_crypto_op_alloc(num_pkts); in test_ipsec_crypto_inb_burst_null_null()
1269 if (rc == 0) { in test_ipsec_crypto_inb_burst_null_null()
1271 rc = crypto_ipsec(num_pkts); in test_ipsec_crypto_inb_burst_null_null()
1272 if (rc == 0) in test_ipsec_crypto_inb_burst_null_null()
1273 rc = crypto_inb_burst_null_null_check( in test_ipsec_crypto_inb_burst_null_null()
1278 rc = TEST_FAILED; in test_ipsec_crypto_inb_burst_null_null()
1282 if (rc == TEST_FAILED) in test_ipsec_crypto_inb_burst_null_null()
1286 return rc; in test_ipsec_crypto_inb_burst_null_null()
1293 int rc = 0; in test_ipsec_crypto_inb_burst_null_null_wrapper() local
1302 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_crypto_inb_burst_null_null_wrapper()
1304 rc = test_ipsec_crypto_inb_burst_null_null(i); in test_ipsec_crypto_inb_burst_null_null_wrapper()
1307 return rc; in test_ipsec_crypto_inb_burst_null_null_wrapper()
1345 int32_t rc; in test_ipsec_crypto_outb_burst_null_null() local
1348 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_crypto_outb_burst_null_null()
1350 if (rc != 0) { in test_ipsec_crypto_outb_burst_null_null()
1356 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_crypto_outb_burst_null_null()
1360 rc = TEST_FAILED; in test_ipsec_crypto_outb_burst_null_null()
1369 rc = TEST_FAILED; in test_ipsec_crypto_outb_burst_null_null()
1373 if (rc == 0) in test_ipsec_crypto_outb_burst_null_null()
1374 rc = test_ipsec_crypto_op_alloc(num_pkts); in test_ipsec_crypto_outb_burst_null_null()
1376 if (rc == 0) { in test_ipsec_crypto_outb_burst_null_null()
1378 rc = crypto_ipsec(num_pkts); in test_ipsec_crypto_outb_burst_null_null()
1379 if (rc == 0) in test_ipsec_crypto_outb_burst_null_null()
1380 rc = crypto_outb_burst_null_null_check(ut_params, in test_ipsec_crypto_outb_burst_null_null()
1387 if (rc == TEST_FAILED) in test_ipsec_crypto_outb_burst_null_null()
1391 return rc; in test_ipsec_crypto_outb_burst_null_null()
1398 int rc = 0; in test_ipsec_crypto_outb_burst_null_null_wrapper() local
1407 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_crypto_outb_burst_null_null_wrapper()
1409 rc = test_ipsec_crypto_outb_burst_null_null(i); in test_ipsec_crypto_outb_burst_null_null_wrapper()
1412 return rc; in test_ipsec_crypto_outb_burst_null_null_wrapper()
1453 int32_t rc; in test_ipsec_inline_crypto_inb_burst_null_null() local
1457 rc = create_sa(RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO, in test_ipsec_inline_crypto_inb_burst_null_null()
1459 if (rc != 0) { in test_ipsec_inline_crypto_inb_burst_null_null()
1465 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_inline_crypto_inb_burst_null_null()
1471 rc = TEST_FAILED; in test_ipsec_inline_crypto_inb_burst_null_null()
1478 rc = TEST_FAILED; in test_ipsec_inline_crypto_inb_burst_null_null()
1482 if (rc == 0) { in test_ipsec_inline_crypto_inb_burst_null_null()
1486 rc = inline_inb_burst_null_null_check(ut_params, i, in test_ipsec_inline_crypto_inb_burst_null_null()
1492 rc = TEST_FAILED; in test_ipsec_inline_crypto_inb_burst_null_null()
1496 if (rc == TEST_FAILED) in test_ipsec_inline_crypto_inb_burst_null_null()
1500 return rc; in test_ipsec_inline_crypto_inb_burst_null_null()
1507 int rc = 0; in test_ipsec_inline_crypto_inb_burst_null_null_wrapper() local
1516 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_inline_crypto_inb_burst_null_null_wrapper()
1518 rc = test_ipsec_inline_crypto_inb_burst_null_null(i); in test_ipsec_inline_crypto_inb_burst_null_null_wrapper()
1521 return rc; in test_ipsec_inline_crypto_inb_burst_null_null_wrapper()
1531 int32_t rc; in test_ipsec_inline_proto_inb_burst_null_null() local
1535 rc = create_sa(RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL, in test_ipsec_inline_proto_inb_burst_null_null()
1537 if (rc != 0) { in test_ipsec_inline_proto_inb_burst_null_null()
1543 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_inline_proto_inb_burst_null_null()
1548 rc = TEST_FAILED; in test_ipsec_inline_proto_inb_burst_null_null()
1555 rc = TEST_FAILED; in test_ipsec_inline_proto_inb_burst_null_null()
1559 if (rc == 0) { in test_ipsec_inline_proto_inb_burst_null_null()
1563 rc = inline_inb_burst_null_null_check(ut_params, i, in test_ipsec_inline_proto_inb_burst_null_null()
1569 rc = TEST_FAILED; in test_ipsec_inline_proto_inb_burst_null_null()
1573 if (rc == TEST_FAILED) in test_ipsec_inline_proto_inb_burst_null_null()
1577 return rc; in test_ipsec_inline_proto_inb_burst_null_null()
1584 int rc = 0; in test_ipsec_inline_proto_inb_burst_null_null_wrapper() local
1593 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_inline_proto_inb_burst_null_null_wrapper()
1595 rc = test_ipsec_inline_proto_inb_burst_null_null(i); in test_ipsec_inline_proto_inb_burst_null_null_wrapper()
1598 return rc; in test_ipsec_inline_proto_inb_burst_null_null_wrapper()
1639 int32_t rc; in test_ipsec_inline_crypto_outb_burst_null_null() local
1643 rc = create_sa(RTE_SECURITY_ACTION_TYPE_INLINE_CRYPTO, in test_ipsec_inline_crypto_outb_burst_null_null()
1645 if (rc != 0) { in test_ipsec_inline_crypto_outb_burst_null_null()
1651 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_inline_crypto_outb_burst_null_null()
1655 rc = TEST_FAILED; in test_ipsec_inline_crypto_outb_burst_null_null()
1657 if (rc == 0) { in test_ipsec_inline_crypto_outb_burst_null_null()
1664 rc = TEST_FAILED; in test_ipsec_inline_crypto_outb_burst_null_null()
1668 if (rc == 0) { in test_ipsec_inline_crypto_outb_burst_null_null()
1672 rc = inline_outb_burst_null_null_check(ut_params, in test_ipsec_inline_crypto_outb_burst_null_null()
1678 rc = TEST_FAILED; in test_ipsec_inline_crypto_outb_burst_null_null()
1682 if (rc == TEST_FAILED) in test_ipsec_inline_crypto_outb_burst_null_null()
1686 return rc; in test_ipsec_inline_crypto_outb_burst_null_null()
1693 int rc = 0; in test_ipsec_inline_crypto_outb_burst_null_null_wrapper() local
1702 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_inline_crypto_outb_burst_null_null_wrapper()
1704 rc = test_ipsec_inline_crypto_outb_burst_null_null(i); in test_ipsec_inline_crypto_outb_burst_null_null_wrapper()
1707 return rc; in test_ipsec_inline_crypto_outb_burst_null_null_wrapper()
1717 int32_t rc; in test_ipsec_inline_proto_outb_burst_null_null() local
1721 rc = create_sa(RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL, in test_ipsec_inline_proto_outb_burst_null_null()
1723 if (rc != 0) { in test_ipsec_inline_proto_outb_burst_null_null()
1729 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_inline_proto_outb_burst_null_null()
1733 rc = TEST_FAILED; in test_ipsec_inline_proto_outb_burst_null_null()
1735 if (rc == 0) { in test_ipsec_inline_proto_outb_burst_null_null()
1741 rc = TEST_FAILED; in test_ipsec_inline_proto_outb_burst_null_null()
1745 if (rc == 0) { in test_ipsec_inline_proto_outb_burst_null_null()
1749 rc = inline_outb_burst_null_null_check(ut_params, in test_ipsec_inline_proto_outb_burst_null_null()
1755 rc = TEST_FAILED; in test_ipsec_inline_proto_outb_burst_null_null()
1759 if (rc == TEST_FAILED) in test_ipsec_inline_proto_outb_burst_null_null()
1763 return rc; in test_ipsec_inline_proto_outb_burst_null_null()
1770 int rc = 0; in test_ipsec_inline_proto_outb_burst_null_null_wrapper() local
1779 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_inline_proto_outb_burst_null_null_wrapper()
1781 rc = test_ipsec_inline_proto_outb_burst_null_null(i); in test_ipsec_inline_proto_outb_burst_null_null_wrapper()
1784 return rc; in test_ipsec_inline_proto_outb_burst_null_null_wrapper()
1794 int rc; in test_ipsec_lksd_proto_inb_burst_null_null() local
1797 rc = create_sa(RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL, in test_ipsec_lksd_proto_inb_burst_null_null()
1799 if (rc != 0) { in test_ipsec_lksd_proto_inb_burst_null_null()
1805 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_lksd_proto_inb_burst_null_null()
1810 rc = TEST_FAILED; in test_ipsec_lksd_proto_inb_burst_null_null()
1813 if (rc == 0) { in test_ipsec_lksd_proto_inb_burst_null_null()
1816 rc = test_ipsec_crypto_op_alloc(num_pkts); in test_ipsec_lksd_proto_inb_burst_null_null()
1819 if (rc == 0) { in test_ipsec_lksd_proto_inb_burst_null_null()
1821 rc = lksd_proto_ipsec(num_pkts); in test_ipsec_lksd_proto_inb_burst_null_null()
1822 if (rc == 0) in test_ipsec_lksd_proto_inb_burst_null_null()
1823 rc = crypto_inb_burst_null_null_check(ut_params, i, in test_ipsec_lksd_proto_inb_burst_null_null()
1828 rc = TEST_FAILED; in test_ipsec_lksd_proto_inb_burst_null_null()
1832 if (rc == TEST_FAILED) in test_ipsec_lksd_proto_inb_burst_null_null()
1836 return rc; in test_ipsec_lksd_proto_inb_burst_null_null()
1843 int rc = 0; in test_ipsec_lksd_proto_inb_burst_null_null_wrapper() local
1852 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_lksd_proto_inb_burst_null_null_wrapper()
1854 rc = test_ipsec_lksd_proto_inb_burst_null_null(i); in test_ipsec_lksd_proto_inb_burst_null_null_wrapper()
1857 return rc; in test_ipsec_lksd_proto_inb_burst_null_null_wrapper()
1864 int rc = 0; in test_ipsec_lksd_proto_outb_burst_null_null_wrapper() local
1873 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_lksd_proto_outb_burst_null_null_wrapper()
1875 rc = test_ipsec_lksd_proto_inb_burst_null_null(i); in test_ipsec_lksd_proto_outb_burst_null_null_wrapper()
1878 return rc; in test_ipsec_lksd_proto_outb_burst_null_null_wrapper()
1907 int rc; in test_ipsec_replay_inb_inside_null_null() local
1910 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_replay_inb_inside_null_null()
1912 if (rc != 0) { in test_ipsec_replay_inb_inside_null_null()
1921 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_null_null()
1923 rc = test_ipsec_crypto_op_alloc(1); in test_ipsec_replay_inb_inside_null_null()
1925 if (rc == 0) { in test_ipsec_replay_inb_inside_null_null()
1927 rc = crypto_ipsec(1); in test_ipsec_replay_inb_inside_null_null()
1928 if (rc == 0) in test_ipsec_replay_inb_inside_null_null()
1929 rc = replay_inb_null_null_check(ut_params, i, 1); in test_ipsec_replay_inb_inside_null_null()
1933 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_null_null()
1937 if ((rc == 0) && (test_cfg[i].replay_win_sz != 0)) { in test_ipsec_replay_inb_inside_null_null()
1949 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_null_null()
1951 rc = test_ipsec_crypto_op_alloc(1); in test_ipsec_replay_inb_inside_null_null()
1953 if (rc == 0) { in test_ipsec_replay_inb_inside_null_null()
1955 rc = crypto_ipsec(1); in test_ipsec_replay_inb_inside_null_null()
1956 if (rc == 0) in test_ipsec_replay_inb_inside_null_null()
1957 rc = replay_inb_null_null_check( in test_ipsec_replay_inb_inside_null_null()
1961 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_null_null()
1966 if (rc == TEST_FAILED) in test_ipsec_replay_inb_inside_null_null()
1971 return rc; in test_ipsec_replay_inb_inside_null_null()
1978 int rc = 0; in test_ipsec_replay_inb_inside_null_null_wrapper() local
1987 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_replay_inb_inside_null_null_wrapper()
1989 rc = test_ipsec_replay_inb_inside_null_null(i); in test_ipsec_replay_inb_inside_null_null_wrapper()
1992 return rc; in test_ipsec_replay_inb_inside_null_null_wrapper()
2000 int rc; in test_ipsec_replay_inb_outside_null_null() local
2003 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_replay_inb_outside_null_null()
2005 if (rc != 0) { in test_ipsec_replay_inb_outside_null_null()
2015 rc = TEST_FAILED; in test_ipsec_replay_inb_outside_null_null()
2017 rc = test_ipsec_crypto_op_alloc(1); in test_ipsec_replay_inb_outside_null_null()
2019 if (rc == 0) { in test_ipsec_replay_inb_outside_null_null()
2021 rc = crypto_ipsec(1); in test_ipsec_replay_inb_outside_null_null()
2022 if (rc == 0) in test_ipsec_replay_inb_outside_null_null()
2023 rc = replay_inb_null_null_check(ut_params, i, 1); in test_ipsec_replay_inb_outside_null_null()
2027 rc = TEST_FAILED; in test_ipsec_replay_inb_outside_null_null()
2031 if ((rc == 0) && (test_cfg[i].replay_win_sz != 0)) { in test_ipsec_replay_inb_outside_null_null()
2041 rc = TEST_FAILED; in test_ipsec_replay_inb_outside_null_null()
2043 rc = test_ipsec_crypto_op_alloc(1); in test_ipsec_replay_inb_outside_null_null()
2045 if (rc == 0) { in test_ipsec_replay_inb_outside_null_null()
2047 rc = crypto_ipsec(1); in test_ipsec_replay_inb_outside_null_null()
2048 if (rc == 0) { in test_ipsec_replay_inb_outside_null_null()
2055 rc = TEST_FAILED; in test_ipsec_replay_inb_outside_null_null()
2061 rc = 0; in test_ipsec_replay_inb_outside_null_null()
2066 if (rc == TEST_FAILED) in test_ipsec_replay_inb_outside_null_null()
2071 return rc; in test_ipsec_replay_inb_outside_null_null()
2078 int rc = 0; in test_ipsec_replay_inb_outside_null_null_wrapper() local
2087 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_replay_inb_outside_null_null_wrapper()
2089 rc = test_ipsec_replay_inb_outside_null_null(i); in test_ipsec_replay_inb_outside_null_null_wrapper()
2092 return rc; in test_ipsec_replay_inb_outside_null_null_wrapper()
2100 int rc; in test_ipsec_replay_inb_repeat_null_null() local
2103 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_replay_inb_repeat_null_null()
2105 if (rc != 0) { in test_ipsec_replay_inb_repeat_null_null()
2114 rc = TEST_FAILED; in test_ipsec_replay_inb_repeat_null_null()
2116 rc = test_ipsec_crypto_op_alloc(1); in test_ipsec_replay_inb_repeat_null_null()
2118 if (rc == 0) { in test_ipsec_replay_inb_repeat_null_null()
2120 rc = crypto_ipsec(1); in test_ipsec_replay_inb_repeat_null_null()
2121 if (rc == 0) in test_ipsec_replay_inb_repeat_null_null()
2122 rc = replay_inb_null_null_check(ut_params, i, 1); in test_ipsec_replay_inb_repeat_null_null()
2126 rc = TEST_FAILED; in test_ipsec_replay_inb_repeat_null_null()
2130 if ((rc == 0) && (test_cfg[i].replay_win_sz != 0)) { in test_ipsec_replay_inb_repeat_null_null()
2144 rc = TEST_FAILED; in test_ipsec_replay_inb_repeat_null_null()
2146 rc = test_ipsec_crypto_op_alloc(1); in test_ipsec_replay_inb_repeat_null_null()
2148 if (rc == 0) { in test_ipsec_replay_inb_repeat_null_null()
2150 rc = crypto_ipsec(1); in test_ipsec_replay_inb_repeat_null_null()
2151 if (rc == 0) { in test_ipsec_replay_inb_repeat_null_null()
2155 rc = TEST_FAILED; in test_ipsec_replay_inb_repeat_null_null()
2160 rc = 0; in test_ipsec_replay_inb_repeat_null_null()
2165 if (rc == TEST_FAILED) in test_ipsec_replay_inb_repeat_null_null()
2170 return rc; in test_ipsec_replay_inb_repeat_null_null()
2177 int rc = 0; in test_ipsec_replay_inb_repeat_null_null_wrapper() local
2186 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_replay_inb_repeat_null_null_wrapper()
2188 rc = test_ipsec_replay_inb_repeat_null_null(i); in test_ipsec_replay_inb_repeat_null_null_wrapper()
2191 return rc; in test_ipsec_replay_inb_repeat_null_null_wrapper()
2200 int rc; in test_ipsec_replay_inb_inside_burst_null_null() local
2204 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_replay_inb_inside_burst_null_null()
2206 if (rc != 0) { in test_ipsec_replay_inb_inside_burst_null_null()
2215 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_burst_null_null()
2217 rc = test_ipsec_crypto_op_alloc(1); in test_ipsec_replay_inb_inside_burst_null_null()
2219 if (rc == 0) { in test_ipsec_replay_inb_inside_burst_null_null()
2221 rc = crypto_ipsec(1); in test_ipsec_replay_inb_inside_burst_null_null()
2222 if (rc == 0) in test_ipsec_replay_inb_inside_burst_null_null()
2223 rc = replay_inb_null_null_check(ut_params, i, 1); in test_ipsec_replay_inb_inside_burst_null_null()
2227 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_burst_null_null()
2231 if ((rc == 0) && (test_cfg[i].replay_win_sz != 0)) { in test_ipsec_replay_inb_inside_burst_null_null()
2241 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_replay_inb_inside_burst_null_null()
2247 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_burst_null_null()
2250 if (rc == 0) { in test_ipsec_replay_inb_inside_burst_null_null()
2253 rc = test_ipsec_crypto_op_alloc(num_pkts); in test_ipsec_replay_inb_inside_burst_null_null()
2256 if (rc == 0) { in test_ipsec_replay_inb_inside_burst_null_null()
2258 rc = crypto_ipsec(num_pkts); in test_ipsec_replay_inb_inside_burst_null_null()
2259 if (rc == 0) in test_ipsec_replay_inb_inside_burst_null_null()
2260 rc = replay_inb_null_null_check( in test_ipsec_replay_inb_inside_burst_null_null()
2264 rc = TEST_FAILED; in test_ipsec_replay_inb_inside_burst_null_null()
2269 if (rc == TEST_FAILED) in test_ipsec_replay_inb_inside_burst_null_null()
2274 return rc; in test_ipsec_replay_inb_inside_burst_null_null()
2281 int rc = 0; in test_ipsec_replay_inb_inside_burst_null_null_wrapper() local
2290 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_replay_inb_inside_burst_null_null_wrapper()
2292 rc = test_ipsec_replay_inb_inside_burst_null_null(i); in test_ipsec_replay_inb_inside_burst_null_null_wrapper()
2295 return rc; in test_ipsec_replay_inb_inside_burst_null_null_wrapper()
2331 int rc = 0; in test_ipsec_crypto_inb_burst_2sa_null_null() local
2334 return rc; in test_ipsec_crypto_inb_burst_2sa_null_null()
2337 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_crypto_inb_burst_2sa_null_null()
2339 if (rc != 0) { in test_ipsec_crypto_inb_burst_2sa_null_null()
2346 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_crypto_inb_burst_2sa_null_null()
2348 if (rc != 0) { in test_ipsec_crypto_inb_burst_2sa_null_null()
2355 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_crypto_inb_burst_2sa_null_null()
2362 rc = TEST_FAILED; in test_ipsec_crypto_inb_burst_2sa_null_null()
2365 if (rc == 0) in test_ipsec_crypto_inb_burst_2sa_null_null()
2366 rc = test_ipsec_crypto_op_alloc(num_pkts); in test_ipsec_crypto_inb_burst_2sa_null_null()
2368 if (rc == 0) { in test_ipsec_crypto_inb_burst_2sa_null_null()
2370 rc = crypto_ipsec_2sa(); in test_ipsec_crypto_inb_burst_2sa_null_null()
2371 if (rc == 0) in test_ipsec_crypto_inb_burst_2sa_null_null()
2372 rc = crypto_inb_burst_2sa_null_null_check( in test_ipsec_crypto_inb_burst_2sa_null_null()
2377 rc = TEST_FAILED; in test_ipsec_crypto_inb_burst_2sa_null_null()
2381 if (rc == TEST_FAILED) in test_ipsec_crypto_inb_burst_2sa_null_null()
2386 return rc; in test_ipsec_crypto_inb_burst_2sa_null_null()
2393 int rc = 0; in test_ipsec_crypto_inb_burst_2sa_null_null_wrapper() local
2402 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_crypto_inb_burst_2sa_null_null_wrapper()
2404 rc = test_ipsec_crypto_inb_burst_2sa_null_null(i); in test_ipsec_crypto_inb_burst_2sa_null_null_wrapper()
2407 return rc; in test_ipsec_crypto_inb_burst_2sa_null_null_wrapper()
2417 int rc = 0; in test_ipsec_crypto_inb_burst_2sa_4grp_null_null() local
2420 return rc; in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2423 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2425 if (rc != 0) { in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2432 rc = create_sa(RTE_SECURITY_ACTION_TYPE_NONE, in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2434 if (rc != 0) { in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2441 for (j = 0; j < num_pkts && rc == 0; j++) { in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2449 rc = TEST_FAILED; in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2452 if (rc == 0) in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2453 rc = test_ipsec_crypto_op_alloc(num_pkts); in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2455 if (rc == 0) { in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2457 rc = crypto_ipsec_2sa_4grp(); in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2458 if (rc == 0) in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2459 rc = crypto_inb_burst_2sa_null_null_check( in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2464 rc = TEST_FAILED; in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2468 if (rc == TEST_FAILED) in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2473 return rc; in test_ipsec_crypto_inb_burst_2sa_4grp_null_null()
2480 int rc = 0; in test_ipsec_crypto_inb_burst_2sa_4grp_null_null_wrapper() local
2489 for (i = 0; i < num_cfg && rc == 0; i++) { in test_ipsec_crypto_inb_burst_2sa_4grp_null_null_wrapper()
2491 rc = test_ipsec_crypto_inb_burst_2sa_4grp_null_null(i); in test_ipsec_crypto_inb_burst_2sa_4grp_null_null_wrapper()
2494 return rc; in test_ipsec_crypto_inb_burst_2sa_4grp_null_null_wrapper()