aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/niu.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2008-03-17 19:59:50 -0700
committerJeff Garzik <jeff@garzik.org>2008-03-25 23:16:18 -0400
commitba53e6b4878e07411826312c59bfe49561594b6e (patch)
treef9275465c58ebdea37a81ef4796ed29e792bea81 /drivers/net/niu.h
parent05aaa02d799e8e9548d57ac92fcb05e783027341 (diff)
netxen: remove low level tx lock
o eliminate tx lock in netxen adapter struct, instead pound on netdev tx lock appropriately. o remove old "concurrent transmit" code that unnecessarily drops and reacquires tx lock in hard_xmit_frame(), this is already serialized the netdev xmit lock. o reduce scope of tx lock in tx cleanup. tx cleanup operates on different section of the ring than transmitting cpus and is guarded by producer and consumer indices. This fixes a race caused by rx softirq preemption on realtime kernels. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Tested-by: Vernon Mauery <mauery@us.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/niu.h')
0 files changed, 0 insertions, 0 deletions