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

David Marchand david.marchand at redhat.com
Tue Jun 8 10:31:20 CEST 2021


On Mon, May 24, 2021 at 3:44 AM Haiyue Wang <haiyue.wang at intel.com> wrote:
>
> Trigger 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.
>
> v7: fix the commit message typo, and update some description.
> v6: update the annotate symbol version, and add some comments in source code
> v5: error handling if bus master enable failed
> v4: change the API to set type, so can enable or disable
> v3: added the missed annotate symbol add time
> v2: rebase to new librte directory path
>
> Haiyue Wang (3):
>   bus/pci: set PCI master in command register
>   net/iavf: enable PCI bus master after reset
>   net/i40e: enable PCI bus master after reset

Series applied, thanks Haiyue.
I'll post a followup patch on using this API in other parts of dpdk.


-- 
David Marchand



More information about the dev mailing list