• M
    [BNX2]: remove atomics in tx · e89bbf10
    Michael Chan 提交于
    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: NMichael Chan <mchan@broadcom.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    e89bbf10
bnx2.h 182.0 KB