Re: [PATCH mlx5-next 09/16] net/mlx5: Expose IP-in-IP TX and RX capability bits
From: Saeed Mahameed <saeed@kernel.org>
Date: 2020-11-23 21:16:02
Also in:
linux-rdma
From: Saeed Mahameed <saeed@kernel.org>
Date: 2020-11-23 21:16:02
Also in:
linux-rdma
On Sun, 2020-11-22 at 17:17 +0200, Aya Levin wrote:
On 11/22/2020 1:58 AM, Jakub Kicinski wrote:quoted
On Fri, 20 Nov 2020 15:03:32 -0800 Saeed Mahameed wrote:quoted
From: Aya Levin <redacted> Expose FW indication that it supports stateless offloads for IP over IP tunneled packets per direction. In some HW like ConnectX-4 IP-in- IP support is not symmetric, it supports steering on the inner header but it doesn't TX-Checksum and TSO. Add IP-in-IP capability per direction to cover this case as well.What's the use for the rx capability in Linux? We don't have an API to configure that AFAIK.Correct, the rx capability bit is used by the driver to allow flow steering on the inner header.
Currently we use the global HW capability to enable flow steering on inner header for RSS. in upcoming patch to net-next we will relax the dependency on the global capability and will use the dedicated rx cap instead.