cxgb3: add memory barriers
authorDivy Le Ray <divy@chelsio.com>
Mon, 1 Feb 2010 10:29:29 +0000 (10:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 02:37:10 +0000 (18:37 -0800)
commit2e02644abc4b3574533b027782820b5a6dfe1920
tree8d290370b0147c459970ddf789fe4f6410dbce6e
parentace2a4d0fbf868c00625a8fd91c44ad9fabe7012
cxgb3: add memory barriers

Add memory barriers to fix crashes observed on newest PowerPC platforms.
The HW and driver state of the receive rings were getting out of sync.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/sge.c