From: Dhananjay Phadke Date: Tue, 18 Mar 2008 02:59:50 +0000 (-0700) Subject: netxen: remove low level tx lock X-Git-Tag: v2.6.25-rc8~77^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba53e6b4878e07411826312c59bfe49561594b6e;p=pandora-kernel.git 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 Tested-by: Vernon Mauery Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed