Go to file
Hongbo Zheng 0eb7334f40 net/hns3: skip VF register access when PF in FLR
According to the protocol of PCIe, FLR to a PF device resets the PF state
as well as the SR-IOV extended capability including VF Enable which means
that VFs no longer exist.

When PF device is in FLR reset stage, at this time, the register state
of VF device is not reliable, so VF device's register state detection
is not carried out in PF FLR.

In this case, we just ignore the register states to avoid accessing
nonexistent register and return false in the internal function named
hns3vf_is_reset_pending to indicate that there are no other reset states
that need to be processed by PMD driver.

Fixes: 2790c64647 ("net/hns3: support device reset")
Cc: stable@dpdk.org

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-09-30 19:19:10 +02:00
.ci ci: reduce examples in static builds 2020-04-17 23:34:08 +02:00
app app/testpmd: add EEPROM command 2020-09-30 19:19:10 +02:00
buildtools doc: hide sphinx standard output 2020-09-30 16:02:13 +02:00
config build: remove deprecated cpuflag macros 2020-09-25 11:13:57 +02:00
devtools devtools: remove legacy flags from includes check 2020-10-01 16:41:20 +02:00
doc net/bnxt: support 200G PAM4 link 2020-09-30 19:19:10 +02:00
drivers net/hns3: skip VF register access when PF in FLR 2020-09-30 19:19:10 +02:00
examples examples/pipeline: add VXLAN encapsulation example 2020-10-01 19:04:42 +02:00
kernel kni: fix build with Linux 5.9 2020-09-29 12:38:04 +02:00
lib table: add exact match SWX table 2020-10-01 18:43:10 +02:00
license eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
usertools usertools: support globbing for PCI device binding 2020-09-08 23:39:32 +02:00
.editorconfig
.gitattributes
.gitignore regex/mlx5: introduce driver for BlueField 2 2020-07-21 19:04:05 +02:00
.travis.yml ci: add tests jobs in aarch64 vm 2020-09-30 21:52:54 +02:00
ABI_VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00
MAINTAINERS net/sfc: introduce common driver library 2020-09-30 19:19:08 +02:00
Makefile build: create dummy Makefile 2020-09-07 23:51:57 +02:00
meson_options.txt trace: introduce new subsystem 2020-04-23 15:39:06 +02:00
meson.build build: check AVX512 rather than binutils version 2020-07-05 21:32:40 +02:00
README
VERSION version: 20.11-rc0 2020-08-12 11:32:16 +02:00

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