[PATCH v1] event/dlb2: add support for disabling PASID

2023-06-07 Thread Abdullah Sevincer
vfio-pci driver in Linux kernel 6.2 enables PASID by default. In DLB hardware, enabling PASID puts DLB in SIOV mode. This breaks DLB PF-PMD mode. For DLB PF-PMD mode to function properly PASID needs to be disabled for kernel 6.2. In this commit this issue is addressed and PASID is disabled by writ

Re: [PATCH v1] event/dlb2: add support for disabling PASID

2023-06-07 Thread Jerin Jacob
On Thu, Jun 8, 2023 at 2:31 AM Abdullah Sevincer wrote: > > vfio-pci driver in Linux kernel 6.2 enables PASID by default. > In DLB hardware, enabling PASID puts DLB in SIOV mode. This > breaks DLB PF-PMD mode. For DLB PF-PMD mode to function properly > PASID needs to be disabled for kernel 6.2. >

Re: [PATCH v1] event/dlb2: add support for disabling PASID

2023-06-08 Thread Thomas Monjalon
08/06/2023 07:38, Jerin Jacob: > On Thu, Jun 8, 2023 at 2:31 AM Abdullah Sevincer > wrote: > > > > vfio-pci driver in Linux kernel 6.2 enables PASID by default. > > In DLB hardware, enabling PASID puts DLB in SIOV mode. This > > breaks DLB PF-PMD mode. For DLB PF-PMD mode to function properly > >

Re: [PATCH v1] event/dlb2: add support for disabling PASID

2023-06-08 Thread David Marchand
On Thu, Jun 8, 2023 at 7:38 AM Jerin Jacob wrote: > > On Thu, Jun 8, 2023 at 2:31 AM Abdullah Sevincer > wrote: > > > > vfio-pci driver in Linux kernel 6.2 enables PASID by default. > > In DLB hardware, enabling PASID puts DLB in SIOV mode. This > > breaks DLB PF-PMD mode. For DLB PF-PMD mode to

Re: [PATCH v1] event/dlb2: add support for disabling PASID

2023-06-08 Thread Jerin Jacob
On Thu, Jun 8, 2023 at 12:59 PM David Marchand wrote: > > On Thu, Jun 8, 2023 at 7:38 AM Jerin Jacob wrote: > > > > On Thu, Jun 8, 2023 at 2:31 AM Abdullah Sevincer > > wrote: > > > > > > vfio-pci driver in Linux kernel 6.2 enables PASID by default. > > > In DLB hardware, enabling PASID puts DLB

RE: [PATCH v1] event/dlb2: add support for disabling PASID

2023-06-08 Thread Chen, Mike Ximing
> From: Jerin Jacob > Sent: Thursday, June 8, 2023 7:32 AM > To: David Marchand > Cc: Sevincer, Abdullah ; Gaetan Rivet > ; Thomas Monjalon > ; dev@dpdk.org; jer...@marvell.com; Chen, Mike Ximing > > Subject: Re: [PATCH v1] event/dlb2: add support for disabling PASID

RE: [PATCH v1] event/dlb2: add support for disabling PASID

2023-10-26 Thread Sevincer, Abdullah
>+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 prob

Re: [PATCH v1] event/dlb2: add support for disabling PASID

2023-10-30 Thread Stephen Hemminger
On Wed, 7 Jun 2023 16:00:50 -0500 Abdullah Sevincer wrote: > From: Abdullah Sevincer > To: dev@dpdk.org > Cc: jer...@marvell.com, mike.ximing.c...@intel.com, Abdullah Sevincer > > Subject: [PATCH v1] event/dlb2: add support for disabling PASID > Date: Wed, 7 Jun 2023

Re: [PATCH v1] event/dlb2: add support for disabling PASID

2023-08-03 Thread David Marchand
On Thu, Jun 8, 2023 at 9:28 AM David Marchand wrote: > > On Thu, Jun 8, 2023 at 7:38 AM Jerin Jacob wrote: > > > > On Thu, Jun 8, 2023 at 2:31 AM Abdullah Sevincer > > wrote: > > > > > > vfio-pci driver in Linux kernel 6.2 enables PASID by default. > > > In DLB hardware, enabling PASID puts DLB

RE: [PATCH v1] event/dlb2: add support for disabling PASID

2023-08-03 Thread Sevincer, Abdullah
>+Is anybody looking into reworking this proposal and moving this code to the >pci bus driver? >+Cc: pci bus maintainers. >+-- >+David Marchand 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