diff options
author | Michael Chan <mchan@broadcom.com> | 2005-08-25 15:36:58 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 16:10:38 -0700 |
commit | e89bbf1049aac3625fdafe3657ed8d7d5373d351 (patch) | |
tree | 15e0fc01d553ce5bc38de546d80f5f2e3736b0bf /drivers/net/seeq8005.h | |
parent | cd339a0ed61097d92ce03b6d1042b1e4d58535e7 (diff) |
[BNX2]: remove atomics in tx
Remove atomic operations in the fast tx path. Expensive atomic
operations were used to keep track of the number of available tx
descriptors. The new code uses the difference between the consumer
and producer index to determine the number of free tx descriptors.
As suggested by Jeff Garzik, the name of the inline function is
changed to all lower case.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/seeq8005.h')
0 files changed, 0 insertions, 0 deletions