[PATCH] net/cpfl: fix VF ID calculation for vCPF

Bruce Richardson bruce.richardson at intel.com
Thu Sep 10 15:05:58 CEST 2026


On Thu, Sep 10, 2026 at 08:48:01AM +0100, Bruce Richardson wrote:
> On Fri, Aug 28, 2026 at 02:52:16AM +0530, Atul Patel wrote:
> > The VF ID was incorrectly set to only the PCI function number,
> > which fails when VFs span multiple PCI devices (device IDs > 0).
> > Calculate the VF ID as (device_id * 8) + function to correctly
> > map VFs across devices.
> > 
> > Fixes: f1ab44fb0ebf ("net/cpfl: add vCPF port info")
> > 
> > Signed-off-by: Praveen Shetty <praveen.shetty at intel.com>
> > Signed-off-by: Atul Patel <atul.patel at intel.com>
> > Signed-off-by: Dhananjay Shukla <dhananjay.shukla at intel.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied to dpdk-next-net-intel.
Thanks,
/Bruce


More information about the dev mailing list