On Sun, 2020-11-22 at 17:17 +0200, Aya Levin wrote: > > On 11/22/2020 1:58 AM, Jakub Kicinski wrote: > > On Fri, 20 Nov 2020 15:03:32 -0800 Saeed Mahameed wrote: > > > From: Aya Levin <ayal@xxxxxxxxxx> > > > > > > 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.