Re: [dpdk-dev] [PATCH v2 1/1] cryptodev: fix build with Ofast.

2017-10-19 Thread De Lara Guarch, Pablo
> -Original Message- > From: Stokes, Ian > Sent: Tuesday, October 17, 2017 4:17 PM > To: De Lara Guarch, Pablo ; > dev@dpdk.org > Cc: sta...@dpdk.org > Subject: RE: [PATCH v2 1/1] cryptodev: fix build with Ofast. > > > > -Original Message- > > > From: Stokes, Ian > > > Sent: Tues

Re: [dpdk-dev] [PATCH v2 1/1] cryptodev: fix build with Ofast.

2017-10-17 Thread Stokes, Ian
> > -Original Message- > > From: Stokes, Ian > > Sent: Tuesday, October 17, 2017 3:15 PM > > To: dev@dpdk.org > > Cc: De Lara Guarch, Pablo ; Stokes, > > Ian > > Subject: [PATCH v2 1/1] cryptodev: fix build with Ofast. > > > > When compiling with an application that includes rte_cryptodev.

Re: [dpdk-dev] [PATCH v2 1/1] cryptodev: fix build with Ofast.

2017-10-17 Thread De Lara Guarch, Pablo
> -Original Message- > From: Stokes, Ian > Sent: Tuesday, October 17, 2017 3:15 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Stokes, Ian > > Subject: [PATCH v2 1/1] cryptodev: fix build with Ofast. > > When compiling with an application that includes rte_cryptodev.h with > Ofast,

[dpdk-dev] [PATCH v2 1/1] cryptodev: fix build 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 a case for RTE_CRYPTO_OP_TYPE_UNDEFINED. Fixes: c0f87eb5252b ("c