From: David S. Miller Date: Sun, 17 Sep 2023 10:46:19 +0000 (+0100) Subject: Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=319d9c2a931324e48ec9602c7e1d4bed65c43560;p=linux.git Merge branch '40GbE' of git://git./linux/kernel/git/tnguy/next -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 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 --- 319d9c2a931324e48ec9602c7e1d4bed65c43560