summaryrefslogtreecommitdiff
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-08-14 15:33:19 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-14 15:33:19 -0700
commit481cea4a4d72aabe76dbb86b1a64f4e8931eca25 (patch)
tree6dcc70186cdca997df18399bbda806339100f2ea /drivers/net/sky2.h
parentaf18d8b89930aecc742982634adaf97dfb43ed3b (diff)
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 <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sky2.h')
0 files changed, 0 insertions, 0 deletions