summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHao Lan <lanhao@huawei.com>2023-07-20 05:05:07 +0300
committerDavid S. Miller <davem@davemloft.net>2023-07-24 11:36:22 +0300
commitb27d0232e8897f7c896dc8ad80c9907dd57fd3f3 (patch)
tree8415a87bab06611118f602f4969ccba29f956924 /tools/perf/scripts/python
parentc7b75bea853daeb64fc831dbf39a6bbabcc402ac (diff)
downloadlinux-b27d0232e8897f7c896dc8ad80c9907dd57fd3f3.tar.xz
net: hns3: fix the imp capability bit cannot exceed 32 bits issue
Current only the first 32 bits of the capability flag bit are considered. When the matching capability flag bit is greater than 31 bits, it will get an error bit.This patch use bitmap to solve this issue. It can handle each capability bit whitout bit width limit. Fixes: da77aef9cc58 ("net: hns3: create common cmdq resource allocate/free/query APIs") Signed-off-by: Hao Lan <lanhao@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions