RE: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec operation

2021-11-16 Thread Gagandeep Singh
> -Original Message- > From: Akhil Goyal > Sent: Wednesday, November 17, 2021 12:06 PM > To: Gagandeep Singh ; dev@dpdk.org > Subject: RE: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec > operation > > > > Can you explain the calcul

RE: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec operation

2021-11-16 Thread Akhil Goyal
> > Can you explain the calculation for 73 bytes in the code? > > Will it be sufficient for IPv6? > No, it will not cover IPv6, As currently only IPv4 test cases are there in the > app. > But I guess it covers all the scenario which are supported by the app. > 73 are the maximum bytes which can be

RE: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec operation

2021-11-16 Thread Gagandeep Singh
> -Original Message- > From: Akhil Goyal > Sent: Tuesday, November 16, 2021 4:12 PM > To: Gagandeep Singh ; dev@dpdk.org > Subject: RE: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec > operation > > > Application calculates segment siz

RE: [EXT] [PATCH v2] app/test-crypto-perf: fix segment size for IPsec operation

2021-11-16 Thread Akhil Goyal
> Application calculates segment size based on buffer size plus > digest size only, But if the operation mode is IPsec then > packet length can be increased up to 73 bytes due to IPsec > overhead. > Can you explain the calculation for 73 bytes in the code? Will it be sufficient for IPv6? > In th

[PATCH v2] app/test-crypto-perf: fix segment size for IPsec operation

2021-11-16 Thread Gagandeep Singh
Application calculates segment size based on buffer size plus digest size only, But if the operation mode is IPsec then packet length can be increased up to 73 bytes due to IPsec overhead. In this patch, adding the IPsec overhead length in segment size when there is no user given segment size. Fi