diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-03-28 16:39:20 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-28 12:57:23 -0700 |
commit | 5c0aebc6db8cf81c5dd888388dcb455beb1a87b8 (patch) | |
tree | a0e4cc11564301962f66f9604d1fe8446f6ab463 /drivers/s390/net/qeth_core.h | |
parent | d0c748256611f8612728bcbf9933eb103c077763 (diff) | |
download | blackbird-op-linux-5c0aebc6db8cf81c5dd888388dcb455beb1a87b8.tar.gz blackbird-op-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.h | 1 |
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); |