override B:D:F assignments for SRIOV VFs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

i have an SRIOV capable device which has its PF behind 01:00.0.
After enabling SRIOV, the VFs show up as 01:08.0, 01:08.1 and so on.

Due to several stupid reasons, I'd like to do a quick and dirty hack
that makes my VFs show up as 01:00.1, 01:00.2 and so on.

I'd be so happy for any hints where to start with this.

What I found already is virtfn_devfn() in iov.c, where the devfns for
the VFs are computed, but changing it here doesn't work. I guess this
has to be done way before?
However, I wonder where the rule for computing the devfn comes from?

Thanks, Andre
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux