summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2020-07-28 05:16:51 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-28 22:54:48 +0300
commitefe3fa45f770f1d66e2734ee7a3523c75694ff04 (patch)
tree03ba46cb148b75967bbaee4e32a55dbb0b5f6453 /tools/perf/scripts/python/export-to-sqlite.py
parenta6f7bfdc78ddd8d719d108fef973b4e4a5a6ac6b (diff)
downloadlinux-efe3fa45f770f1d66e2734ee7a3523c75694ff04.tar.xz
net: hns3: fix aRFS FD rules leftover after add a user FD rule
When user had created a FD rule, all the aRFS rules should be clear up. HNS3 process flow as below: 1.get spin lock of fd_ruls_list 2.clear up all aRFS rules 3.release lock 4.get spin lock of fd_ruls_list 5.creat a rules 6.release lock; There is a short period of time between step 3 and step 4, which would creatting some new aRFS FD rules if driver was receiving packet. So refactor the fd_rule_lock to fix it. Fixes: 441228875706 ("net: hns3: refine the flow director handle") Signed-off-by: Guojia Liao <liaoguojia@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions