Re: [dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs

2021-08-08 Thread Matan Azrad
From: Akhil Goyal > The structures rte_cryptodev_sym_session and > rte_cryptodev_asym_session are not used by the application directly. The > application just need an opaque pointer which it can attach to rte_crypto_op > while enqueue. > Hence, these structures can be internal to library hidden

Re: [dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs

2021-08-08 Thread Thomas Monjalon
> > The structures rte_cryptodev_sym_session and > > rte_cryptodev_asym_session are not used by the application directly. The > > application just need an opaque pointer which it can attach to rte_crypto_op > > while enqueue. > > Hence, these structures can be internal to library hidden from the us

Re: [dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs

2021-08-05 Thread Akhil Goyal
> Hi Akhil, > > No problem. Glad to help. If you have code ready to share please let me > know. > I haven't started work on this yet. There are a few items in ABI improvements, If you could pick some of them, it would be helpful. I am currently working on PMD interface. - Security and crypto sess

Re: [dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs

2021-08-05 Thread Zhang, Roy Fan
Hi Akhil, No problem. Glad to help. If you have code ready to share please let me know. Regards, Fan > -Original Message- > From: Akhil Goyal > Sent: Thursday, August 5, 2021 3:10 PM > To: Zhang, Roy Fan ; dev@dpdk.org > Cc: Anoob Joseph ; Nicolau, Radu > ; Doherty, Declan ; > hemant.ag

Re: [dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs

2021-08-05 Thread Akhil Goyal
Hi Fan, > Hi Akhil, > > > The structures rte_cryptodev_sym_session and > > rte_cryptodev_asym_session are not used by the > > application directly. The application just need > > an opaque pointer which it can attach to rte_crypto_op > > while enqueue. > > Hence, these structures can be internal to

Re: [dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs

2021-08-05 Thread Zhang, Roy Fan
Hi Akhil, > -Original Message- > From: Akhil Goyal > Sent: Tuesday, August 3, 2021 1:01 PM > To: dev@dpdk.org > Cc: ano...@marvell.com; Nicolau, Radu ; Doherty, > Declan ; hemant.agra...@nxp.com; > ma...@nvidia.com; Ananyev, Konstantin ; > tho...@monjalon.net; Zhang, Roy Fan ; > asoma...@

[dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs

2021-08-03 Thread Akhil Goyal
The structures rte_cryptodev_sym_session and rte_cryptodev_asym_session are not used by the application directly. The application just need an opaque pointer which it can attach to rte_crypto_op while enqueue. Hence, these structures can be internal to library hidden from the user. Signed-off-by: