Skip to content

about pci_bar_address  #3

@hh81478072

Description

@hh81478072

Hello knuto,

I found that in pci_bar_address, it will get value from PF/VF's command register. But in PCIe spec, "I/O Space Enable" and "Memory Space Enable" are hardwired to 0b for VFs. So the "cmd" variable will always be 0 in bit 0 and bit 1 and pci_bar_address will always return "PCI_BAR_UNMAPPED" when getting VF's bar address. I think it's strange or I just misunderstand in this part? Thanks!

Best Regards,
hh81478072

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