IB/mlx4: Fix memory ordering of VLAN insertion control bits
authorEli Cohen <eli@dev.mellanox.co.il>
Wed, 17 Nov 2010 13:39:43 +0000 (13:39 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 1 Dec 2010 19:08:54 +0000 (11:08 -0800)
We must fully update the control segment before marking it as valid,
so that hardware doesn't start executing it before we're ready.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
[ Move VLAN control bit setting to before wmb().  - Roland ]

Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found