[PATCH v7 1/2] net/idpf: add IDPF PCI class ID support

Bruce Richardson bruce.richardson at intel.com
Tue Oct 14 14:47:09 CEST 2025


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 <venkatesh.vemula at intel.com>
> ---
>  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 <bruce.richardson at intel.com>



More information about the dev mailing list