| 656 | } |
| 657 | |
| 658 | static int |
| 659 | create_session(struct ipsec_unitest_params *ut, |
| 660 | struct rte_cryptodev_qp_conf *qp, uint8_t crypto_dev, uint32_t j) |
| 661 | { |
| 662 | if (ut->ss[j].type == RTE_SECURITY_ACTION_TYPE_NONE) |
| 663 | return create_crypto_session(ut, qp, crypto_dev, j); |
| 664 | else |
| 665 | return create_dummy_sec_session(ut, qp, j); |
| 666 | } |
| 667 | |
| 668 | static int |
| 669 | fill_ipsec_param(uint32_t replay_win_sz, uint64_t flags) |
no test coverage detected