DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/fips_validation: fix session private mempool
@ 2019-01-15 10:36 Fan Zhang
  2019-01-16 11:55 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 3+ messages in thread
From: Fan Zhang @ 2019-01-15 10:36 UTC (permalink / raw)
  To: dev; +Cc: akhil.goyal

This patch fixes the incorrect session private mempool passing
to cryptodev.

Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
---
 examples/fips_validation/fips_dev_self_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/fips_validation/fips_dev_self_test.c b/examples/fips_validation/fips_dev_self_test.c
index 2c7e9d241..ac366cbac 100644
--- a/examples/fips_validation/fips_dev_self_test.c
+++ b/examples/fips_validation/fips_dev_self_test.c
@@ -1449,7 +1449,7 @@ run_single_test(uint8_t dev_id,
 		return -ENOMEM;
 
 	ret = rte_cryptodev_sym_session_init(dev_id,
-			sess, &xform, env->sess_pool);
+			sess, &xform, env->sess_priv_pool);
 	if (ret < 0) {
 		RTE_LOG(ERR, PMD, "Error %i: Init session\n", ret);
 		return ret;
-- 
2.13.6

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] examples/fips_validation: fix session private mempool
  2019-01-15 10:36 [dpdk-dev] [PATCH] examples/fips_validation: fix session private mempool Fan Zhang
@ 2019-01-16 11:55 ` De Lara Guarch, Pablo
  2019-01-17 23:09   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2019-01-16 11:55 UTC (permalink / raw)
  To: Zhang, Roy Fan, dev; +Cc: akhil.goyal



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Fan Zhang
> Sent: Tuesday, January 15, 2019 10:37 AM
> To: dev@dpdk.org
> Cc: akhil.goyal@nxp.com
> Subject: [dpdk-dev] [PATCH] examples/fips_validation: fix session private
> mempool
> 
> This patch fixes the incorrect session private mempool passing to cryptodev.
> 
> Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test")
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] examples/fips_validation: fix session private mempool
  2019-01-16 11:55 ` De Lara Guarch, Pablo
@ 2019-01-17 23:09   ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2019-01-17 23:09 UTC (permalink / raw)
  To: Zhang, Roy Fan; +Cc: dev, De Lara Guarch, Pablo, akhil.goyal

> > This patch fixes the incorrect session private mempool passing to cryptodev.
> > 
> > Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test")
> > 
> > Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-17 23:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 10:36 [dpdk-dev] [PATCH] examples/fips_validation: fix session private mempool Fan Zhang
2019-01-16 11:55 ` De Lara Guarch, Pablo
2019-01-17 23:09   ` Thomas Monjalon

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).