cryptodev: fix pool element size for undefined operation
authorJunxiao Shi <git@mail1.yoursunny.com>
Tue, 9 Oct 2018 14:16:23 +0000 (10:16 -0400)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 17 Oct 2018 10:23:40 +0000 (12:23 +0200)
commitf49d7e9a99477c00c1f666e999dc62a0f73e5db3
tree8d0f5444dda5d2fb7169f18a9d16f25c9cf97da8
parent3721c39f405a8a6d861c2ed6f35b0d086bfc79e9
cryptodev: fix pool element size for undefined operation

The documentation of rte_crypto_op_pool_create indicates that
specifying RTE_CRYPTO_OP_TYPE_UNDEFINED would create a pool that
supports all operation types. This change makes the code
consistent with documentation.

Fixes: c0f87eb5252b ("cryptodev: change burst API to be crypto op oriented")
Cc: stable@dpdk.org
Signed-off-by: Junxiao Shi <git@mail1.yoursunny.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
lib/librte_cryptodev/rte_cryptodev.c