Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Sep 2023 10:46:19 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Sep 2023 10:46:19 +0000 (11:46 +0100)
-queue

Tony Nguyen says:

====================
Support rx-fcs on/off for VFs

Ahmed Zaki says:

Allow the user to turn on/off the CRC/FCS stripping through ethtool. We
first add the CRC offload capability in the virtchannel, then the feature
is enabled in ice and iavf drivers.

We make sure that the netdev features are fixed such that CRC stripping
cannot be disabled if VLAN rx offload (VLAN strip) is enabled. Also, VLAN
stripping cannot be enabled unless CRC stripping is ON.

Testing was done using tcpdump to make sure that the CRC is included in
the frame after:

    # ethtool -K <interface> rx-fcs on

and is not included when it is back "off". Also, ethtool should return an
error for the above command if "rx-vlan-offload" is already on and at least
one VLAN interface/filter exists on the VF.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge