From: Jakub Kicinski <kuba@kernel.org>
Date: Thu, 4 Jul 2024 19:16:46 -0700
On Wed, 3 Jul 2024 17:03:42 +0200 Alexander Lobakin wrote:
quoted
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -571,6 +571,7 @@ static int vlan_dev_init(struct net_device *dev)
dev->features |= dev->hw_features;
dev->lltx = true;
+ dev->fcoe_mtu = true;
why?
Because (couple lines above on the baseline):
dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG |
NETIF_F_FRAGLIST | NETIF_F_GSO_SOFTWARE |
NETIF_F_GSO_ENCAP_ALL |
NETIF_F_HIGHDMA | NETIF_F_SCTP_CRC |
NETIF_F_ALL_FCOE;
^^^^^^^^^^^^^^^^
then
dev->features |= dev->hw_features | NETIF_F_LLTX;
^^^^^^^^^^^^^^^^
#define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \
NETIF_F_FSO)
^^^^^^^^^^^^^^^^
IOW, FCOE_MTU was always hitting dev->features previously :>
Re rebase due to 1/5: yeah unfortunately, but that happens :D
I'll rebase and resend on Monday.
Thanks,
Olek