Displaying 2 results from an estimated 2 matches for "pf_bdf".
Did you mean:
pb_bdf
2023 Mar 23
0
[PATCH v3 virtio 8/8] pds_vdpa: pds_vdps.rst and Kconfig
...t; +Shown below are the steps to bind the driver to a VF and also to the
> +associated auxiliary device created by the ``pds_core`` driver.
> +
> +.. code-block:: bash
> +
> + #!/bin/bash
> +
> + modprobe pds_core
> + modprobe vdpa
> + modprobe pds_vdpa
> +
> + PF_BDF=`grep -H "vDPA.*1" /sys/kernel/debug/pds_core/*/viftypes | head -1 | awk -F / '{print $6}'`
This seems to require debugfs, I wonder if it's better to switch to
using /sys/bus/pci ?
Others look good.
Thanks
> +
> + # Enable vDPA VF auxiliary device(s) in the PF
>...
2023 Mar 17
0
[PATCH RFC v2 virtio 7/7] pds_vdpa: pds_vdps.rst and Kconfig
...auxiliary device created by the ``pds_core`` driver.
> >> +
> >> +.. code-block:: bash
> >> +
> >> + #!/bin/bash
> >> +
> >> + modprobe pds_core
> >> + modprobe vdpa
> >> + modprobe pds_vdpa
> >> +
> >> + PF_BDF=`grep -H "vDPA.*1" /sys/kernel/debug/pds_core/*/viftypes | head -1 | awk -F / '{print $6}'`
> >> +
> >> + # Enable vDPA VF auxiliary device(s) in the PF
> >> + devlink dev param set pci/$PF_BDF name enable_vnet value true cmode runtime
> >> +...