On Tue, Oct 14, 2025 at 04:15:10PM +0530, Venkatesh Vemula wrote:
> Current IDPF supports only the MEV device IDs. MMG has new set of
> device IDs and same might be the case for the future devices. Instead
> of adding new device IDs every time, make use of the IDPF PCI class
> ID(0x20001) to differentiate between PF and VF.
> 
> Write and read the VF_ARQBAL register to find if the current device is
> a PF or a VF.
> 
> Signed-off-by: Venkatesh Vemula <[email protected]>
> ---
>  drivers/net/intel/idpf/idpf_common_device.c | 20 ++++++++++++++++++--
>  drivers/net/intel/idpf/idpf_common_device.h | 18 ++++++++++++++++++
>  drivers/net/intel/idpf/idpf_ethdev.c        |  1 +
>  3 files changed, 37 insertions(+), 2 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Reply via email to