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: |
||
---|---|---|
.. | ||
base | ||
LICENSE.qede_pmd | ||
Makefile | ||
qede_ethdev.c | ||
qede_ethdev.h | ||
qede_fdir.c | ||
qede_if.h | ||
qede_logs.h | ||
qede_main.c | ||
qede_rxtx.c | ||
qede_rxtx.h | ||
rte_pmd_qede_version.map |