On Fri, 25 Oct 2019 17:54:08 +0000 Pavel Belous <[email protected]> wrote:
> +static struct rte_mempool *get_security_pool(struct rte_security_ctx *ctx)
> +{
> + struct rte_mempool *mp = rte_mempool_lookup(TESTPMD_MEMPOOL_NAME);
> +
> + if (!mp) {
> + unsigned int ssize = rte_security_session_get_size(ctx);
> +
> + if (ssize) {
> + mp = rte_mempool_create("testpmd_security_pool",
> + 1, /* One sesion */
spelling "session"

