summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-11-07 07:06:11 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-07 22:42:17 +0300
commit8df0fa91682c86403173f0813a615efb46e8be42 (patch)
tree1cbc13f3eefcc5796ea40128e65e1c0e9ffc1151 /tools/perf/scripts/python/compaction-times.py
parent7edff5339a4a7515b5c4b72338c679c5eb402923 (diff)
downloadlinux-8df0fa91682c86403173f0813a615efb46e8be42.tar.xz
net: hns3: enable/disable ring in the enet while doing UP/DOWN
While hardware gets into reset status, the firmware will not respond to driver's command request, which may cause ring not disabled problem during reset process. So this patch uses register instead of command to enable/disable the ring in the enet while doing UP/DOWN operation. Also, HNS3_RING_RX_VM_REG is previously unused, so change it to the correct meaning, and add a wrapper function for readl(). Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions