[PATCH] net/intel: add MMG device support
Bruce Richardson
bruce.richardson at intel.com
Thu Jul 23 12:15:32 CEST 2026
On Wed, Jul 01, 2026 at 03:59:48PM +0530, Dhananjay Shukla wrote:
> Add support for MMG device initialization in the CPFL PMD by
> replacing direct device_id comparisons against CPFL_DEV_ID_MEV and
> IXD_DEV_ID_VCPF with the idpf_is_vf_device() helper. This
> centralizes VF/PF detection logic in the control path open and makes
> the code handle MMG and future device IDs without requiring changes
> at every call site.
>
> Additionally:
> - Export idpf_is_vf_device() as an internal symbol so it can be
> called from the CPFL driver.
> - Skip VIRTCHNL2_OP_GET_STATS in cpfl_dev_stats_reset() for VF
> devices which do not support this virtchannel operation.
> - Skip idpf_vc_rss_hash_set() in idpf_vport_rss_config() for VF
> devices which do not support setting RSS hash via virtchannel.
>
> Signed-off-by: Dhananjay Shukla <dhananjay.shukla at intel.com>
> ---
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied to next-net-intel with some rewording. For example, although it
touches code in idpf driver, the patch is addressing limitations in cpfl,
so I've retitled it as "net/cpfl: make device checks more generic".
(Yes, check-git-log wants net/intel as prefix, but net/cpfl is more
accurate so ignore the tool's suggestion)
Thanks,
/Bruce
More information about the dev
mailing list