Hi Anoob, > [Anoob] Shouldn't we make this a union? In symmetric mode, it is done that > way and it makes sense also. > > Something like, > > RTE_STD_C11 > union { > struct rte_cryptodev_asym_session *session; > /**< Handle for the initialised session context */ > struct rte_crypto_asym_xform *xform; > /**< Session-less API crypto operation parameters */ > }; [AK] - Agreed. I will send updated version. > > > > > __extension__ > > union { > > -- > > 2.7.4
- Re: [dpdk-dev] [EXT] [PATCH] cryptodev: extend api of ... Anoob Joseph
- Re: [dpdk-dev] [EXT] [PATCH] cryptodev: extend ap... Kusztal, ArkadiuszX