Lines Matching refs:cdev_id
1896 add_mapping(struct rte_hash *map, const char *str, uint16_t cdev_id, in add_mapping() argument
1920 if (ipsec_ctx->tbl[i].id == cdev_id) in add_mapping()
1929 ipsec_ctx->tbl[i].id = cdev_id; in add_mapping()
1934 cdev_id, qp, i); in add_mapping()
1950 add_cdev_mapping(struct rte_cryptodev_info *dev_info, uint16_t cdev_id, in add_cdev_mapping() argument
1983 ret |= add_mapping(map, str, cdev_id, qp, params, in add_cdev_mapping()
1999 ret |= add_mapping(map, str, cdev_id, qp, params, in add_cdev_mapping()
2009 check_cryptodev_mask(uint8_t cdev_id) in check_cryptodev_mask() argument
2011 if (enabled_cryptodev_mask & (1 << cdev_id)) in check_cryptodev_mask()
2023 int16_t cdev_id; in cryptodevs_init() local
2051 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in cryptodevs_init()
2054 if (check_cryptodev_mask((uint8_t)cdev_id)) in cryptodevs_init()
2057 rte_cryptodev_info_get(cdev_id, &cdev_info); in cryptodevs_init()
2062 cdev_id, in cryptodevs_init()
2073 if (add_cdev_mapping(&cdev_info, cdev_id, qp, in cryptodevs_init()
2086 dev_conf.socket_id = rte_cryptodev_socket_id(cdev_id); in cryptodevs_init()
2097 if (rte_cryptodev_configure(cdev_id, &dev_conf)) in cryptodevs_init()
2099 cdev_id); in cryptodevs_init()
2107 if (rte_cryptodev_queue_pair_setup(cdev_id, qp, in cryptodevs_init()
2110 "cdev_id %u\n", 0, cdev_id); in cryptodevs_init()
2112 if (rte_cryptodev_start(cdev_id)) in cryptodevs_init()
2114 cdev_id); in cryptodevs_init()
2302 int16_t cdev_id, port_id, n; in max_session_size() local
2306 for (cdev_id = 0; cdev_id != n; cdev_id++) { in max_session_size()
2307 sz = rte_cryptodev_sym_get_private_session_size(cdev_id); in max_session_size()
2316 sec_ctx = rte_cryptodev_get_sec_ctx(cdev_id); in max_session_size()
2801 uint32_t cdev_id; in main() local
3009 for (cdev_id = 0; cdev_id < rte_cryptodev_count(); cdev_id++) { in main()
3010 printf("Closing cryptodev %d...", cdev_id); in main()
3011 rte_cryptodev_stop(cdev_id); in main()
3012 rte_cryptodev_close(cdev_id); in main()