[PATCH v1] crypto: fix build issues on crypto callbacks macro undefined

Kundapura, Ganapati ganapati.kundapura at intel.com
Wed May 22 10:51:49 CEST 2024


Hi Akhil,
2 acked for this patch but it's still not yet accepted.
Anything more required for this patch?

Thanks,
Ganapati


> -----Original Message-----
> From: Power, Ciara <ciara.power at intel.com>
> Sent: Wednesday, April 17, 2024 5:11 PM
> To: Kundapura, Ganapati <ganapati.kundapura at intel.com>; dev at dpdk.org
> Cc: Gujjar, Abhinandan S <abhinandan.gujjar at intel.com>;
> gakhil at marvell.com; fanzhang.oss at gmail.com
> Subject: RE: [PATCH v1] crypto: fix build issues on crypto callbacks macro
> undefined
> 
> 
> 
> > -----Original Message-----
> > From: Kundapura, Ganapati <ganapati.kundapura at intel.com>
> > Sent: Tuesday, April 16, 2024 9:12 AM
> > To: dev at dpdk.org
> > Cc: Gujjar, Abhinandan S <abhinandan.gujjar at intel.com>; Power, Ciara
> > <ciara.power at intel.com>; gakhil at marvell.com; fanzhang.oss at gmail.com
> > Subject: [PATCH v1] crypto: fix build issues on crypto callbacks macro
> > undefined
> >
> > Crypto callbacks macro is defined with value 1 and being used with
> > ifdef, on config value is changed to 0 to disable, crypto callback
> > changes still being compiled.
> >
> > Defined crypto callbacks macro without value, undef to disable
> >
> > Wrapped crypto callback changes with RTE_CRYPTO_CALLBACKS macro to fix
> > build issues when macro is undefined.
> >
> > As callback head nodes have valid pointer, this patch checks the next
> > node from the head if callbacks registered.
> >
> > Fixes: 1c3ffb9 ("cryptodev: add enqueue and dequeue callbacks")
> > Fixes: 5523a75 ("test/crypto: add case for enqueue/dequeue callbacks")
> >
> > Signed-off-by: Ganapati Kundapura <ganapati.kundapura at intel.com>
> >
> 
> Acked-by: Ciara Power <ciara.power at intel.com>


More information about the dev mailing list