RE: [EXT] The problem with priv_data in crypto and security API's

2023-11-19 Thread Anoob Joseph
8 AM > To: Akhil Goyal ; Fan Zhang > > Cc: dev@dpdk.org > Subject: [EXT] The problem with priv_data in crypto and security API's > > External Email > > -- > In the patchset, that removes the

The problem with priv_data in crypto and security API's

2023-11-19 Thread Stephen Hemminger
In the patchset, that removes the GNU style zero length arrays, there is a problem caused by the use of these in the cryptodev header files. For both rte_session and rte_cryptodev, the current convention is to do: struct rte_security_session { RTE_MARKER cacheline0; uint64_t opaqu