aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-01-25 15:44:23 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-25 21:23:56 -0800
commit5fc692a7ffaf635588625aae8af6c3bc14dd6ea5 (patch)
treebd1ffec50cacb0bd22a6f69d52772899df063edf /net/ipv4
parents390/qeth: detach netdevice while card is offline (diff)
downloadlinux-dev-5fc692a7ffaf635588625aae8af6c3bc14dd6ea5.tar.xz
linux-dev-5fc692a7ffaf635588625aae8af6c3bc14dd6ea5.zip
s390/qeth: remove VLAN tracking for L2 devices
For recovery purposes, qeth keeps track of all registered VIDs. Replace this by using the infrastructure introduced in commit 9daae9bd47cf ("net: Call add/kill vid ndo on vlan filter feature toggling"). By managing NETIF_F_HW_VLAN_CTAG_FILTER as a hw_feature, netdev_update_features() will select it from dev->wanted_features and replay all of the netdevice's VIDs to its ndo_vlan_rx_add_vid() callback. z/VM NICs strictly require VLAN registration, so don't expose it as hw_feature there but add a little hack in qeth_enable_hw_features() to make things work regardless. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions