[dpdk-dev] [PATCH v3 0/3] fix PF reset causes VF memory request failure

Haiyue Wang haiyue.wang at intel.com
Fri Apr 23 13:39:58 CEST 2021


By triggerring the VF reset from PF reset,

        echo 1 > /sys/bus/pci/devices/PF-BDF/reset

the PCI bus master bit will cleared on VF, so the VF needs to enable
this bit before restart.

This patch set adds the API to enable PCI bus master.

v3: added the missed annotate symbol add time
v2: rebase to new librte directory path.

Haiyue Wang (3):
  bus/pci: enable PCI master in command register
  net/iavf: enable PCI bus master after reset
  net/i40e: enable PCI bus master after reset

 drivers/bus/pci/pci_common.c      | 20 ++++++++++++++++++++
 drivers/bus/pci/rte_bus_pci.h     | 12 ++++++++++++
 drivers/bus/pci/version.map       |  3 +++
 drivers/net/i40e/i40e_ethdev_vf.c |  7 ++++++-
 drivers/net/iavf/iavf_ethdev.c    |  3 +++
 lib/pci/rte_pci.h                 |  4 ++++
 6 files changed, 48 insertions(+), 1 deletion(-)

-- 
2.31.1



More information about the dev mailing list