Lines Matching refs:cryptodev
303 struct cryptodev *cryptodev; in pipeline_port_in_create() local
305 cryptodev = cryptodev_find(params->dev_name); in pipeline_port_in_create()
306 if (cryptodev == NULL) in pipeline_port_in_create()
309 if (params->rxq.queue_id > cryptodev->n_queues - 1) in pipeline_port_in_create()
312 pp.sym_crypto.cryptodev_id = cryptodev->dev_id; in pipeline_port_in_create()
313 pp.sym_crypto.queue_id = params->cryptodev.queue_id; in pipeline_port_in_create()
314 pp.sym_crypto.f_callback = params->cryptodev.f_callback; in pipeline_port_in_create()
315 pp.sym_crypto.arg_callback = params->cryptodev.arg_callback; in pipeline_port_in_create()
579 struct cryptodev *cryptodev; in pipeline_port_out_create() local
581 cryptodev = cryptodev_find(params->dev_name); in pipeline_port_out_create()
582 if (cryptodev == NULL) in pipeline_port_out_create()
585 if (params->cryptodev.queue_id >= cryptodev->n_queues) in pipeline_port_out_create()
588 pp.sym_crypto.cryptodev_id = cryptodev->dev_id; in pipeline_port_out_create()
589 pp.sym_crypto.queue_id = params->cryptodev.queue_id; in pipeline_port_out_create()
591 pp.sym_crypto.crypto_op_offset = params->cryptodev.op_offset; in pipeline_port_out_create()
593 pp_nodrop.sym_crypto.cryptodev_id = cryptodev->dev_id; in pipeline_port_out_create()
594 pp_nodrop.sym_crypto.queue_id = params->cryptodev.queue_id; in pipeline_port_out_create()
598 params->cryptodev.op_offset; in pipeline_port_out_create()