diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2020-01-23 01:07:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-23 23:24:37 +0300 |
commit | e3885f576196ddfc670b3d53e745de96ffcb49ab (patch) | |
tree | c9f91cac2148e0b3f24cc9c83a345c5bad28d433 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5fedabf5a70be26b19d7520f09f12a62274317c6 (diff) | |
download | linux-e3885f576196ddfc670b3d53e745de96ffcb49ab.tar.xz |
net/sonic: Use MMIO accessors
The driver accesses descriptor memory which is simultaneously accessed by
the chip, so the compiler must not be allowed to re-order CPU accesses.
sonic_buf_get() used 'volatile' to prevent that. sonic_buf_put() should
have done so too but was overlooked.
Fixes: efcce839360f ("[PATCH] macsonic/jazzsonic network drivers update")
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions