From: Pablo de Lara Date: Wed, 13 Dec 2017 15:55:00 +0000 (+0000) Subject: cryptodev: fix function prototype X-Git-Tag: spdx-start~115 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d368364dc3cc22bc0be871ff379ea95dedf94ac5;p=dpdk.git 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: d816fdea557c ("cryptodev: add API to associate session with queue pair") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara --- diff --git a/lib/librte_cryptodev/rte_cryptodev_pmd.h b/lib/librte_cryptodev/rte_cryptodev_pmd.h index c3bf91c3cf..089848e0b2 100644 --- a/lib/librte_cryptodev/rte_cryptodev_pmd.h +++ b/lib/librte_cryptodev/rte_cryptodev_pmd.h @@ -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. */ };