Skip to content

About MSI-X Table and PBA Address #95

@MeiVinEight

Description

@MeiVinEight

Hello, I think this is a very nice project, but I found some mistake while reading project sources.

At pci_device.cpp#L307 and pci_device.cpp#L310, it directly used high 29 bits as an offset.

I think you should shift this bit field left by 3 bits, as mentioned in section 7.7.2 of the PCIe specification:

Image

And it is done this way in the Linux kernel as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions