Re: [dpdk-dev] [PATCH v3] cryptodev: allocate driver structure statically

2017-09-06 Thread De Lara Guarch, Pablo
gra...@nxp.com > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v3] cryptodev: allocate driver structure > statically > > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara > > Sent: Wednesday 16 August 2017 03:

Re: [dpdk-dev] [PATCH v3] cryptodev: allocate driver structure statically

2017-09-04 Thread Rybalchenko, Kirill
.agra...@nxp.com > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH v3] cryptodev: allocate driver structure statically > > When register a crypto driver, a cryptodev driver structure was being > allocated, using malloc. > Since this call may fail, it is safe

[dpdk-dev] [PATCH v3] cryptodev: allocate driver structure statically

2017-08-16 Thread Pablo de Lara
When register a crypto driver, a cryptodev driver structure was being allocated, using malloc. Since this call may fail, it is safer to allocate this memory statically in each PMD, so driver registration will never fail. Coverity issue: 158645 Fixes: 7a364faef185 ("cryptodev: remove crypto device