Re: [dpdk-dev] [PATCH v5] security: update session create API

2020-10-19 Thread Thomas Monjalon
18/10/2020 13:03, Lukasz Wojciechowski: > W dniu 18.10.2020 o 11:40, Akhil Goyal pisze: > > The API ``rte_security_session_create`` takes only single > > mempool for session and session private data. So the > > application need to create mempool for twice the number of > > sessions needed and will

Re: [dpdk-dev] [PATCH v5] security: update session create API

2020-10-18 Thread Lukasz Wojciechowski
Hi Akhil, Thanks for your patience. I reviewed all files and run tests. IMO everything is OK now. W dniu 18.10.2020 o 11:40, Akhil Goyal pisze: > The API ``rte_security_session_create`` takes only single > mempool for session and session private data. So the > application need to create mempool f

[dpdk-dev] [PATCH v5] security: update session create API

2020-10-18 Thread Akhil Goyal
The API ``rte_security_session_create`` takes only single mempool for session and session private data. So the application need to create mempool for twice the number of sessions needed and will also lead to wastage of memory as session private data need more memory compared to session. Hence the A