Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-14 Thread Jerin Jacob
On Fri, Nov 15, 2019 at 12:27 PM Thomas Monjalon wrote: > > 07/11/2019 06:02, Jerin Jacob: > > On Thu, Nov 7, 2019 at 4:03 AM Alex Williamson > > wrote: > > > Ideas have been suggested > > > upstream for for quarantining VFs generated from user owned PFs such > > > that we require an opt-in to ma

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-14 Thread Thomas Monjalon
07/11/2019 06:02, Jerin Jacob: > On Thu, Nov 7, 2019 at 4:03 AM Alex Williamson > wrote: > > Ideas have been suggested > > upstream for for quarantining VFs generated from user owned PFs such > > that we require an opt-in to make use of them in this way. Nobody > > seems to be pursuing such ideas

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-06 Thread Jerin Jacob
On Thu, Nov 7, 2019 at 4:03 AM Alex Williamson wrote: > > On Thu, 31 Oct 2019 18:03:53 +0100 > Thomas Monjalon wrote: > > > We don't get enough attention on this topic. > > Let me rephrase the issue and the proposals with more people Cc'ed. > > > > We are talking about SR-IOV VFs in VMs > > with

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-06 Thread Alex Williamson
On Thu, 31 Oct 2019 18:03:53 +0100 Thomas Monjalon wrote: > We don't get enough attention on this topic. > Let me rephrase the issue and the proposals with more people Cc'ed. > > We are talking about SR-IOV VFs in VMs > with a PF managed on the host by DPDK. > The PF driver is either a (1) bifur

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-05 Thread Luca Boccassi
On Mon, 2019-11-04 at 11:16 +, Bruce Richardson wrote: > On Fri, Nov 01, 2019 at 11:54:45AM +, Luca Boccassi wrote: > > For distros, out-of-tree kernel modules are painful. From my POV, > > it > > would be preferable to try and find a solution upstream, even if it > > is > > going to be dif

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-04 Thread Bruce Richardson
On Fri, Nov 01, 2019 at 11:54:45AM +, Luca Boccassi wrote: > For distros, out-of-tree kernel modules are painful. From my POV, it > would be preferable to try and find a solution upstream, even if it is > going to be difficult and require a lot of negotiation and work. > I don't think anyone

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-01 Thread Jerin Jacob
On Fri, Nov 1, 2019 at 5:24 PM Luca Boccassi wrote: > > For distros, out-of-tree kernel modules are painful. From my POV, it I agree. > would be preferable to try and find a solution upstream, even if it is > going to be difficult and require a lot of negotiation and work. I understand from RH,

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-11-01 Thread Luca Boccassi
For distros, out-of-tree kernel modules are painful. From my POV, it would be preferable to try and find a solution upstream, even if it is going to be difficult and require a lot of negotiation and work. On Thu, 2019-10-31 at 18:03 +0100, Thomas Monjalon wrote: > We don't get enough attention on

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-31 Thread Thomas Monjalon
We don't get enough attention on this topic. Let me rephrase the issue and the proposals with more people Cc'ed. We are talking about SR-IOV VFs in VMs with a PF managed on the host by DPDK. The PF driver is either a (1) bifurcated (Mellanox case), or (2) bound to UIO with igb_uio, or (3) bound to

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-24 Thread Jerin Jacob
> > > > > > > There is security issue in attaching DPDK PF driver and netdev bind to VF. > > So this scheme is not upsteamble to Linux kernel. Since rte_flow had VF > > action. We need this scheme to support VF action with VFIO. So, Out of tree > > is the only way as it is DPDK specific feature. Al

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-23 Thread Jerin Jacob
On Wed, Oct 16, 2019 at 5:07 PM Jerin Jacob wrote: > > > > > > > > > > no-iommu case is different where we cannot screw Linux netdev driver, you > > > can create a damage to your self that's an acceptable compromise. > > > > > > In this case, when DPDK PF bound application dies then it will impac

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-16 Thread Jerin Jacob
> > > > > > no-iommu case is different where we cannot screw Linux netdev driver, you > > can create a damage to your self that's an acceptable compromise. > > > > In this case, when DPDK PF bound application dies then it will impact > > netdev VF driver as gets stalled and there is a security is

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-13 Thread Jerin Jacob
On Thu, Oct 10, 2019 at 11:32 AM Jerin Jacob wrote: > > > > On Thu, 10 Oct, 2019, 4:58 AM Stephen Hemminger, > wrote: >> >> On Tue, 8 Oct 2019 20:58:27 +0530 >> Jerin Jacob wrote: >> >> > On Tue, 8 Oct, 2019, 8:42 PM Stephen Hemminger, >> > >> > wrote: >> > >> > > On Fri, 6 Sep 2019 14:42:30

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-09 Thread Jerin Jacob
On Thu, 10 Oct, 2019, 4:58 AM Stephen Hemminger, wrote: > On Tue, 8 Oct 2019 20:58:27 +0530 > Jerin Jacob wrote: > > > On Tue, 8 Oct, 2019, 8:42 PM Stephen Hemminger, < > step...@networkplumber.org> > > wrote: > > > > > On Fri, 6 Sep 2019 14:42:30 +0530 > > > wrote: > > > > > > > From: Vamsi At

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-09 Thread Stephen Hemminger
On Tue, 8 Oct 2019 20:58:27 +0530 Jerin Jacob wrote: > On Tue, 8 Oct, 2019, 8:42 PM Stephen Hemminger, > wrote: > > > On Fri, 6 Sep 2019 14:42:30 +0530 > > wrote: > > > > > From: Vamsi Attunuru > > > > > > The DPDK use case such as VF representer or OVS offload etc > > > would call for PF a

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-08 Thread Jerin Jacob
On Tue, 8 Oct, 2019, 8:42 PM Stephen Hemminger, wrote: > On Fri, 6 Sep 2019 14:42:30 +0530 > wrote: > > > From: Vamsi Attunuru > > > > The DPDK use case such as VF representer or OVS offload etc > > would call for PF and VF PCIe devices to bind vfio-pci > > module to enable IOMMU protection. >

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-08 Thread Stephen Hemminger
On Fri, 6 Sep 2019 14:42:30 +0530 wrote: > From: Vamsi Attunuru > > The DPDK use case such as VF representer or OVS offload etc > would call for PF and VF PCIe devices to bind vfio-pci > module to enable IOMMU protection. > > In addition to vSwitch use case, unlike, other PCI class of > device

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-10-07 Thread Vamsi Krishna Attunuru
> -Original Message- > From: Jerin Jacob Kollanukkaran > Sent: Friday, September 6, 2019 6:58 PM > To: Thomas Monjalon ; Vamsi Krishna Attunuru > > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel > module >

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-09-25 Thread Andrew Rybchenko
6:58 PM To: Thomas Monjalon ; Vamsi Krishna Attunuru Cc: dev@dpdk.org Subject: RE: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module -Original Message- From: Thomas Monjalon Sent: Friday, September 6, 2019 3:15 PM To: Vamsi Krishna Attunuru Cc: dev@dpdk.org

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-09-24 Thread Vamsi Krishna Attunuru
Attunuru Cc: dev@dpdk.org Subject: RE: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module > -Original Message- > From: Thomas Monjalon > Sent: Friday, September 6, 2019 3:15 PM > To: Vamsi Krishna Attunuru > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-09-06 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Thomas Monjalon > Sent: Friday, September 6, 2019 3:15 PM > To: Vamsi Krishna Attunuru > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran > Subject: Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel > module > &g

Re: [dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-09-06 Thread Thomas Monjalon
06/09/2019 11:12, vattun...@marvell.com: > From: Vamsi Attunuru > > The DPDK use case such as VF representer or OVS offload etc > would call for PF and VF PCIe devices to bind vfio-pci > module to enable IOMMU protection. > > In addition to vSwitch use case, unlike, other PCI class of > devices,

[dpdk-dev] [PATCH v1 1/1] kernel/linux: introduce vfio_pf kernel module

2019-09-06 Thread vattunuru
From: Vamsi Attunuru The DPDK use case such as VF representer or OVS offload etc would call for PF and VF PCIe devices to bind vfio-pci module to enable IOMMU protection. In addition to vSwitch use case, unlike, other PCI class of devices, Network class of PCIe devices would have additional resp