summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann2019-03-28 16:39:20 +0100
committerDavid S. Miller2019-03-28 20:57:23 +0100
commit5c0aebc6db8cf81c5dd888388dcb455beb1a87b8 (patch)
treea0e4cc11564301962f66f9604d1fe8446f6ab463 /drivers/s390/net/qeth_core.h
parents390/qeth: defer RX modesetting (diff)
downloadkernel-qcow2-linux-5c0aebc6db8cf81c5dd888388dcb455beb1a87b8.tar.gz
kernel-qcow2-linux-5c0aebc6db8cf81c5dd888388dcb455beb1a87b8.tar.xz
kernel-qcow2-linux-5c0aebc6db8cf81c5dd888388dcb455beb1a87b8.zip
s390/qeth: remove locking for RX modeset cache
The L2 and L3 .ndo_set_rx_mode callbacks maintain an address cache to decide which addresses have changed since the last modeset. When the card is set offline, qeth_l?_stop_card() drains this cache. This happens only after 1) the net_device has been detached, and 2) any pending RX modeset has completed. Consequently we can access the cache lock-free. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r--drivers/s390/net/qeth_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index c3cf992ca985..e6e365a183e9 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -775,7 +775,6 @@ struct qeth_card {
struct workqueue_struct *event_wq;
wait_queue_head_t wait_q;
- spinlock_t mclock;
unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
DECLARE_HASHTABLE(mac_htable, 4);
DECLARE_HASHTABLE(ip_htable, 4);