2de74dcfbd
Currently, based on hns3 VF device error may occur during initialization. The root cause as below: When the following formula is executed during initialization, the private variable named hw->tqps_num has not been obtained from PF driver through mailbox, further causes failure when mapping interrupt and queues. hw->num_msi = (num_msi > hw->tqps_num + 1) ? hw->tqps_num + 1 : num_msi; We need to use hw->tqp_num after it is correctly assigned. On the other hand, because the private variable named hw->num_msi, which represents the number of MSI-x interrupt of hns3 PF/VF device, is used in the '.get_reg' ops implementation function to dump all interrupt related registers, it should be obtained from firmware directly and we'd better not modify it in the driver. Fixes: |
||
---|---|---|
.ci | ||
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
kernel | ||
lib | ||
license | ||
mk | ||
usertools | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
ABI_VERSION | ||
GNUmakefile | ||
MAINTAINERS | ||
Makefile | ||
meson_options.txt | ||
meson.build | ||
README | ||
VERSION |
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org