diff options
author | Salil <salil.mehta@huawei.com> | 2017-08-18 12:31:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-18 10:31:56 -0700 |
commit | d36d36ceac11e514f1c313ea6ca7568e2463b6f2 (patch) | |
tree | 50bfc5547311f84b4084d77171e61296d30c1ec1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7f3b39dafc6234dc1565fafe6adb15a6c4932182 (diff) |
net: hns3: Fixes the missing u64_stats_fetch_begin_irq in 64-bit stats fetch
This patch fixes the missing u64_stats_fetch_begin_irq() while trying to
atomically do 64-bit RX/TX fetch. We did not get any error during test
as our SoC is 64-bit so all of these seq/lock operations results in NOOP.
As such, this seq lock supports has been added for the sake of completion
if this code ever runs on 32-bit platform and we are trying to do 64-bit
stats fetch.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for
hip08 SoC")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
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