>+We will work on this proposal, it is not finalized yet. >+Its not DLB2 specific as commenters say, we are looking into if there is >another way doing it. >+If it will end up common and not DLB specific for other drivers as well we >will add function to pci common.
As far as we know this problem is specific to DLB only, other drivers may have different design so they may not need to disable PASID. I have moved the defines to rte_pci.h file(in case other drivers wants to disable PASID) and used function rte_pci_find_ext_capability to retrieve the offset.