Re: [dpdk-dev] [PATCH v2 5/5] cryptodev: move device specific structures

2021-10-18 Thread Akhil Goyal
> > +struct rte_cryptodev_data { > > + /** Device ID for this instance */ > > + uint8_t dev_id; > > + /** Socket ID where memory is allocated */ > > + uint8_t socket_id; > > + /** Unique identifier name */ > > + char name[RTE_CRYPTODEV_NAME_MAX_LEN]; > > + > > + __extension__ > > +

Re: [dpdk-dev] [PATCH v2 5/5] cryptodev: move device specific structures

2021-10-11 Thread Zhang, Roy Fan
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Monday, October 11, 2021 1:43 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; david.march...@redhat.com; > hemant.agra...@nxp.com; ano...@marvell.com; De Lara Guarch, Pablo > ; Trahe, Fiona ; > Doherty, Declan ; ma...@nvidia.com;

[dpdk-dev] [PATCH v2 5/5] cryptodev: move device specific structures

2021-10-11 Thread Akhil Goyal
The device specific structures - rte_cryptodev and rte_cryptodev_data are moved to cryptodev_pmd.h to hide it from the applications. Signed-off-by: Akhil Goyal --- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c| 1 - drivers/crypto/ccp/ccp_dev.h | 2 +- drivers/crypto/cnxk/cn1