[dpdk-dev] [PATCH 3/3] examples/ipsec_secgw: create session mempools for ethdevs
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Mon Jan 8 12:03:23 CET 2018
> -----Original Message-----
> From: Nicolau, Radu
> Sent: Tuesday, December 12, 2017 12:50 PM
> To: dev at dpdk.org
> Cc: Ananyev, Konstantin <konstantin.ananyev at intel.com>; Yigit, Ferruh
> <ferruh.yigit at intel.com>; Gonzalez Monroy, Sergio
> <sergio.gonzalez.monroy at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Doherty, Declan
> <declan.doherty at intel.com>; akhil.goyal at nxp.com; Nicolau, Radu
> <radu.nicolau at intel.com>
> Subject: [PATCH 3/3] examples/ipsec_secgw: create session mempools for
> ethdevs
>
> Also moved offloaded packets from cryptodev queues
>
> Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
> ---
> examples/ipsec-secgw/ipsec-secgw.c | 42
> +++++++++++++++++++++++++++++++++++++-
> examples/ipsec-secgw/ipsec.c | 31 ++++++++++++++--------------
> examples/ipsec-secgw/ipsec.h | 4 ++--
> 3 files changed, 58 insertions(+), 19 deletions(-)
>
> diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-
> secgw/ipsec-secgw.c
> index c98454a..08d5b5a 100644
> --- a/examples/ipsec-secgw/ipsec-secgw.c
> +++ b/examples/ipsec-secgw/ipsec-secgw.c
> @@ -1244,7 +1244,7 @@ cryptodevs_init(void)
> struct rte_cryptodev_config dev_conf;
> struct rte_cryptodev_qp_conf qp_conf;
> uint16_t idx, max_nb_qps, qp, i;
> - int16_t cdev_id;
> + int16_t cdev_id, port_id;
These two variables should be uint16_t (port_id is actually uint8_t).
For the rest of the patch: Akhil, could you review it?
Thanks,
Pablo
More information about the dev
mailing list