Re: [PATCH 2/4] examples/ipsec-secgw: disable Tx chksum offload for inline

2022-02-23 Thread Nithin Kumar Dabilpuram
On 2/18/22 7:28 PM, Nithin Kumar Dabilpuram wrote: On 2/18/22 12:47 AM, Ananyev, Konstantin wrote: Enable Tx IPv4 checksum offload only when Tx inline crypto is needed. In other cases such as Tx Inline protocol offload, checksum computation is implicitly taken care by HW. Why is that?

Re: [PATCH 2/4] examples/ipsec-secgw: disable Tx chksum offload for inline

2022-02-18 Thread Nithin Kumar Dabilpuram
On 2/18/22 12:47 AM, Ananyev, Konstantin wrote: Enable Tx IPv4 checksum offload only when Tx inline crypto is needed. In other cases such as Tx Inline protocol offload, checksum computation is implicitly taken care by HW. Why is that? These is two separate HW offload and user has to enable

RE: [PATCH 2/4] examples/ipsec-secgw: disable Tx chksum offload for inline

2022-02-17 Thread Ananyev, Konstantin
> >> Enable Tx IPv4 checksum offload only when Tx inline crypto is needed. > >> In other cases such as Tx Inline protocol offload, checksum computation > >> is implicitly taken care by HW. > > > > Why is that? > > These is two separate HW offload and user has to enable each of them > > explicitly

Re: [PATCH 2/4] examples/ipsec-secgw: disable Tx chksum offload for inline

2022-02-07 Thread Nithin Kumar Dabilpuram
On 2/7/22 3:22 PM, Ananyev, Konstantin wrote: Enable Tx IPv4 checksum offload only when Tx inline crypto is needed. In other cases such as Tx Inline protocol offload, checksum computation is implicitly taken care by HW. Why is that? These is two separate HW offload and user has to enable e

RE: [PATCH 2/4] examples/ipsec-secgw: disable Tx chksum offload for inline

2022-02-07 Thread Ananyev, Konstantin
> Enable Tx IPv4 checksum offload only when Tx inline crypto is needed. > In other cases such as Tx Inline protocol offload, checksum computation > is implicitly taken care by HW. Why is that? These is two separate HW offload and user has to enable each of them explicitly. Also we can TX clear-t

[PATCH 2/4] examples/ipsec-secgw: disable Tx chksum offload for inline

2022-02-06 Thread Nithin Dabilpuram
Enable Tx IPv4 checksum offload only when Tx inline crypto is needed. In other cases such as Tx Inline protocol offload, checksum computation is implicitly taken care by HW. The advantage of having only necessary offloads enabled is that Tx burst function can be as light as possible. Signed-off-by