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

2020-10-14 Thread Lukasz Wojciechowski
W dniu 14.10.2020 o 21:00, Akhil Goyal pisze: > Hi Lukasz, > >> Hi Akhil, >>> -#define SECURITY_TEST_MEMPOOL_NAME "SecurityTestsMempoolName" >>> +#define SECURITY_TEST_MEMPOOL_NAME "SecurityTestMp" >>> +#define SECURITY_TEST_PRIV_MEMPOOL_NAME "SecurityTestPrivMp" >>>#define SECURITY_TEST_MEMP

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

2020-10-14 Thread Akhil Goyal
Hi Lukasz, > Hi Akhil, > > -#define SECURITY_TEST_MEMPOOL_NAME "SecurityTestsMempoolName" > > +#define SECURITY_TEST_MEMPOOL_NAME "SecurityTestMp" > > +#define SECURITY_TEST_PRIV_MEMPOOL_NAME "SecurityTestPrivMp" > > #define SECURITY_TEST_MEMPOOL_SIZE 15 > > #define SECURITY_TEST_SESSION_OBJEC

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

2020-10-12 Thread Lukasz Wojciechowski
Hi Akhil, comments inline W dniu 11.10.2020 o 00:11, 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 also lead to wastage o

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

2020-10-12 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

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

2020-10-10 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