cryptodev: fix function prototype
qp_detach_session function was using the attach_session_t
function prototype, instead of detach_session_t.
Since both of them have the same parameters, there were
no compilation issues, but it is not consistent.
Fixes: d816fdea55
("cryptodev: add API to associate session with queue pair")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
parent
ab46f829ad
commit
d368364dc3
@ -390,7 +390,7 @@ struct rte_cryptodev_ops {
|
||||
/**< Clear a Crypto sessions private data. */
|
||||
cryptodev_sym_queue_pair_attach_session_t qp_attach_session;
|
||||
/**< Attach session to queue pair. */
|
||||
cryptodev_sym_queue_pair_attach_session_t qp_detach_session;
|
||||
cryptodev_sym_queue_pair_detach_session_t qp_detach_session;
|
||||
/**< Detach session from queue pair. */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user