# Re: \[PATCH net\] net: Disable NETIF\_F\_HW\_TLS\_RX when RXCSUM is disabled

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2021-01-20 00:01:55 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/01/11193604
- Thread: https://ratatoskr.run/netdev/2021/01/11193305/t.md

```text
On Sun, 17 Jan 2021 17:15:38 +0200 Tariq Toukan wrote:
> With NETIF_F_HW_TLS_RX packets are decrypted in HW. This cannot be
> logically done when RXCSUM offload is off.
> 
> Fixes: 14136564c8ee ("net: Add TLS RX offload feature")
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
> Reviewed-by: Boris Pismenny <borisp@nvidia.com>

Applied, but it's not 100% equivalent to Tx. For Rx we _can_
efficiently fall back to SW.
```
