eb35c732fe
IOV regression testing led to discovery of a minor issue + possibly race in IOV flows: a. Malicious indications in VF-database on PF-side get cleared during FLR flows - but not when disabling SRIOV. At least in Linux if you disable IOV while having a malicious VF you wouldn't be able to clear the indication as driver would prevent from initializing it. b. Possible race during PF response to VF - the channel is made ready only after sending the rc via dmae to VF. It's possible due to context switch at end of DMAE [when releasing Mutex] that VF would start running and send another message prior to PF clearing the channel, making the FW consider that VF to be malicious. This patch fixes that by - clearing the indication even if we're only going to disable VF - resetting the channel to ready before PF copies the rc to the VF, PF can then continue and send an additional message Fixes: |
||
---|---|---|
app | ||
buildtools | ||
config | ||
devtools | ||
doc | ||
drivers | ||
examples | ||
lib | ||
mk | ||
pkg | ||
test | ||
usertools | ||
.gitattributes | ||
.gitignore | ||
GNUmakefile | ||
LICENSE.GPL | ||
LICENSE.LGPL | ||
MAINTAINERS | ||
Makefile | ||
README |
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 license for the core libraries and drivers. The kernel components are GPLv2 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