net: stmmac: propagate feature flags to vlan
authorCorinna Vinschen <vinschen@redhat.com>
Mon, 17 Apr 2023 19:28:45 +0000 (21:28 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Apr 2023 04:13:13 +0000 (21:13 -0700)
commit6b2c6e4a938fece9b539c8085f21d17c5e6eb9de
tree69740806ec430eb64433b5dc54991a90ed4485f6
parent980f0799a15c75403f1f9284a32b6056b9660144
net: stmmac: propagate feature flags to vlan

stmmac_dev_probe doesn't propagate feature flags to VLANs.  So features
like offloading don't correspond with the general features and it's not
possible to manipulate features via ethtool -K to affect VLANs.

Propagate feature flags to vlan features.  Drop TSO feature because
it does not work on VLANs yet.

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Link: https://lore.kernel.org/r/20230417192845.590034-1-vinschen@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c