diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-15 00:33:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-15 00:33:19 +0200 |
commit | 481cea4a4d72aabe76dbb86b1a64f4e8931eca25 (patch) | |
tree | 6dcc70186cdca997df18399bbda806339100f2ea /drivers/net/sky2.h | |
parent | sky2: cleanup restart operations (diff) | |
download | linux-481cea4a4d72aabe76dbb86b1a64f4e8931eca25.tar.xz linux-481cea4a4d72aabe76dbb86b1a64f4e8931eca25.zip |
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