diff options
author | 2023-07-20 10:05:07 +0800 | |
---|---|---|
committer | 2023-07-24 09:36:22 +0100 | |
commit | b27d0232e8897f7c896dc8ad80c9907dd57fd3f3 (patch) | |
tree | 8415a87bab06611118f602f4969ccba29f956924 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: marvell10g: fix 88x3310 power up (diff) | |
download | wireguard-linux-b27d0232e8897f7c896dc8ad80c9907dd57fd3f3.tar.xz wireguard-linux-b27d0232e8897f7c896dc8ad80c9907dd57fd3f3.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions