net: bcmgenet: relax lock constraints to reduce IRQ latency
authorDoug Berger <opendmb@gmail.com>
Wed, 25 Oct 2017 22:04:17 +0000 (15:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Oct 2017 01:14:54 +0000 (10:14 +0900)
commitb0447ecb533270cf857ebee1133cb8ff67115423
tree088091f67cf3408470799dd9ff0cb563394a7ab2
parentd215dbac48ab9e77c680fcd28863ccc227a5657e
net: bcmgenet: relax lock constraints to reduce IRQ latency

Since the ring locks are not used in a hard IRQ context it is often
not necessary to disable global IRQs while waiting on a lock.

Using less restrictive lock and unlock calls improves the real-time
responsiveness of the system.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c