[PATCH v6 1/2] bus/pci: add function to enable/disable PASID
    Jerin Jacob 
    jerinjacobk at gmail.com
       
    Sat Nov  4 08:32:52 CET 2023
    
    
  
On Sat, Nov 4, 2023 at 4:47 AM Abdullah Sevincer
<abdullah.sevincer at intel.com> wrote:
>
> This commit implements an internal api to enable and disable PASID for
> a device e.g. device driver event/dlb2.
git comment can be reworded when apply.
>
> For kernels when PASID enabled by default it breaks DLB functionality,
> hence disabling PASID is required for DLB to function properly.
>
> PASID capability is not exposed to users hence offset can not be
> retrieved by rte_pci_find_ext_capability() api. Therefore, api
> implemented in this commit accepts an offset for PASID with an enable
> flag which is used to enable/disable PASID.
>
> Signed-off-by: Abdullah Sevincer <abdullah.sevincer at intel.com>
Acked-by: Jerin Jacob <jerinj at marvell.com>
> ---
>  drivers/bus/pci/pci_common.c  |  7 +++++++
>  drivers/bus/pci/rte_bus_pci.h | 13 +++++++++++++
>  drivers/bus/pci/version.map   |  1 +
>  lib/pci/rte_pci.h             |  4 ++++
>  4 files changed, 25 insertions(+)
    
    
More information about the dev
mailing list