commit | 632be1942d084df89066986e74b56ff0110dd621 | [log] [tgz] |
---|---|---|
author | Hariprasad Shenai <hariprasad@chelsio.com> | Tue Dec 08 10:09:13 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 08 22:43:15 2015 -0500 |
tree | 5537a081738e0002f4346f04aa6cf132d90f2837 | |
parent | b8759e917e9c78ef35c10a79ce47c5889306aaa8 [diff] |
cxgb4: Use ACCES_ONCE macro to read queue's consumer index Use helper macro ACCESS_ONCE() to load from the SGE status page to prevent the compiler loading multiple times. Based on original work by Mike Werner <werner@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>