From: Stephen Hemminger Date: Fri, 14 Aug 2009 22:33:19 +0000 (-0700) Subject: sky2: lock less transmit completion X-Git-Tag: v2.6.32-rc1~703^2~360 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=481cea4a4d72aabe76dbb86b1a64f4e8931eca25;p=pandora-kernel.git sky2: lock less transmit completion Transmit completion can safely run lockless against transmit start. In the normal case, completion is done from NAPI and only looks at elements that are at the tail of the ring. When doing shutdown or reset, the transmiter should be completely block by NAPI disable and blocking of transmit queue. Based on earlier work by Mike McCormack. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed