Re: [dpdk-dev] [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast.

2017-10-17 Thread Stokes, Ian
. > > Hi Ian, > > > -Original Message- > > From: Stokes, Ian > > Sent: Tuesday, October 17, 2017 12:04 PM > > To: dev@dpdk.org > > Cc: De Lara Guarch, Pablo ; Stokes, > > Ian > > Subject: [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast. > > > > When compiling with an applic

Re: [dpdk-dev] [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast.

2017-10-17 Thread De Lara Guarch, Pablo
Hi Ian, > -Original Message- > From: Stokes, Ian > Sent: Tuesday, October 17, 2017 12:04 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Stokes, Ian > > Subject: [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast. > > When compiling with an application that includes rte_cr

[dpdk-dev] [PATCH v1 1/1] rte_crypto.h: Fix compilation issue with Ofast.

2017-10-17 Thread Ian Stokes
When compiling with an application that includes rte_cryptodev.h with Ofast, an error is reported regarding enumeration RTE_CRYPTO_OP_TYPE_UNDEFINED not handled in switch case in function __rte_crypto_op_reset(). Fix this by adding case for RTE_OP_TYPE_UNDEFINED. Signed-off-by: Ian Stokes ---