* [dpdk-dev] [PATCH] cryptodev: fix function prototype
@ 2017-12-13 15:55 Pablo de Lara
2018-01-09 11:48 ` De Lara Guarch, Pablo
0 siblings, 1 reply; 2+ messages in thread
From: Pablo de Lara @ 2017-12-13 15:55 UTC (permalink / raw)
To: declan.doherty; +Cc: dev, Pablo de Lara, stable
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 <pablo.de.lara.guarch@intel.com>
---
lib/librte_cryptodev/rte_cryptodev_pmd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_cryptodev/rte_cryptodev_pmd.h b/lib/librte_cryptodev/rte_cryptodev_pmd.h
index 744405e..0cec6b5 100644
--- a/lib/librte_cryptodev/rte_cryptodev_pmd.h
+++ b/lib/librte_cryptodev/rte_cryptodev_pmd.h
@@ -389,7 +389,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. */
};
--
2.9.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] cryptodev: fix function prototype
2017-12-13 15:55 [dpdk-dev] [PATCH] cryptodev: fix function prototype Pablo de Lara
@ 2018-01-09 11:48 ` De Lara Guarch, Pablo
0 siblings, 0 replies; 2+ messages in thread
From: De Lara Guarch, Pablo @ 2018-01-09 11:48 UTC (permalink / raw)
To: Doherty, Declan; +Cc: dev, stable
> -----Original Message-----
> From: De Lara Guarch, Pablo
> Sent: Wednesday, December 13, 2017 3:55 PM
> To: Doherty, Declan <declan.doherty@intel.com>
> Cc: dev@dpdk.org; De Lara Guarch, Pablo
> <pablo.de.lara.guarch@intel.com>; stable@dpdk.org
> Subject: [PATCH] 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 <pablo.de.lara.guarch@intel.com>
Applied to dpdk-next-crypto.
Pablo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-09 11:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 15:55 [dpdk-dev] [PATCH] cryptodev: fix function prototype Pablo de Lara
2018-01-09 11:48 ` De Lara Guarch, Pablo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).