commit | 2d99cf16f42b1979a2c498bb6d09498dbd689978 | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Tue Mar 09 06:55:00 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 15 15:47:00 2010 -0700 |
tree | a67758700d34a0559f69783a54041a4e94405f03 | |
parent | d4a2ac3e802d9f598453a7854d0fdf67371ac2dd [diff] |
bnx2x: use smp_mb() to keep ordering of read write operations Since we want to keep ordering of write to fp->bd_tx_cons and netif_tx_queue_stopped(txq), what is read of txq->state, we have to use general memory barrier. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>