scalablefunctions icon indicating copy to clipboard operation
scalablefunctions copied to clipboard

Question regarding MSI-X vector

Open nicboul opened this issue 2 years ago • 0 comments

Here https://github.com/Mellanox/scalablefunctions/wiki/Upstream-step-by-step-guide it says:

(c) Setup MSI-X vectors per PF, it should be 4 times the number of SFs configured. For example, when PF_TOTAL_SF=250, configure MSI-X vectors to be 1000.

Here https://en.wikipedia.org/wiki/Message_Signaled_Interrupts#MSI-X it says:

MSI-X (first defined in PCI 3.0) permits a device to allocate up to 2048 interrupts

Does it means that the maximum of SF is limited to 2048/4 ? Or does it means that if the ratio is not 4 (let say I have 1000 SFs), things are still going to work but the level of contention will be higher for the interrupts ? thanks

nicboul avatar Jan 31 '23 22:01 nicboul