diff options
| author | Jian Shen <[email protected]> | 2018-08-03 10:56:30 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-08-03 09:53:24 -0700 |
| commit | 07acf909ee33983fe22334446dd5c2adf0fdca26 (patch) | |
| tree | 2b5de293d1cffb3770c0ff6b4e3fd85fdab715af /tools/perf/scripts/python/syscall-counts.py | |
| parent | 54424d3891967b83d707c9300a3509c2ae8f42ee (diff) | |
net: hns3: Fix MSIX allocation issue for VF
The msix number for vf is different, depends on the max vf number.
Futherly if the vf supports roce, the offset of msix is not fixed.
It's incorrect to fix the msix number to 33. This patch fixes it by
querying the msix number from firmware, and adjusting it with roce
support.
Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support")
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions