[dpdk-dev] [RFC v2 6/7] app/testpmd: macsec on/off commands using rte_security interface

Stephen Hemminger stephen at networkplumber.org
Fri Oct 25 21:01:13 CEST 2019


On Fri, 25 Oct 2019 17:54:08 +0000
Pavel Belous <Pavel.Belous at aquantia.com> 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"


More information about the dev mailing list