* SR-PCIM support in KVM
@ 2016-10-28 12:03 Bharat Kumar Gogada
2016-10-29 13:42 ` Paolo Bonzini
0 siblings, 1 reply; 5+ messages in thread
From: Bharat Kumar Gogada @ 2016-10-28 12:03 UTC (permalink / raw)
To: kvm; +Cc: pbonzini, guangrong.xiao
Hi All,
Is there any support for software mailbox communication between PF and VF driver in kvm ?
As per the following link:
https://www.linux-kvm.org/images/6/6a/KvmForum2008$kdf2008_7.pdf
It says that for software based virtual mailbox we require SR-PCIM support.
So for this purpose is SR-PCIM implemented as part of KVM ?
Or is there any other method that KVM provides for communication between PF & VF ?
Thanks & regards,
Bharat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SR-PCIM support in KVM
2016-10-28 12:03 SR-PCIM support in KVM Bharat Kumar Gogada
@ 2016-10-29 13:42 ` Paolo Bonzini
2016-10-31 6:17 ` Bharat Kumar Gogada
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2016-10-29 13:42 UTC (permalink / raw)
To: Bharat Kumar Gogada; +Cc: kvm, guangrong xiao
> Hi All,
>
> Is there any support for software mailbox communication between PF and VF
> driver in kvm ?
>
> As per the following link:
> https://www.linux-kvm.org/images/6/6a/KvmForum2008$kdf2008_7.pdf
>
> It says that for software based virtual mailbox we require SR-PCIM support.
>
> So for this purpose is SR-PCIM implemented as part of KVM ?
> Or is there any other method that KVM provides for communication between PF &
> VF ?
Hi, SR-IOV is not part of KVM (the virtual machine monitor kernel module).
In PCIe terms, when using KVM the "VI" or Virtualization Intermediary is the
Linux VFIO driver. SR-IOV management is split between the PF driver and VFIO.
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: SR-PCIM support in KVM
2016-10-29 13:42 ` Paolo Bonzini
@ 2016-10-31 6:17 ` Bharat Kumar Gogada
2016-10-31 8:09 ` Paolo Bonzini
0 siblings, 1 reply; 5+ messages in thread
From: Bharat Kumar Gogada @ 2016-10-31 6:17 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: kvm, guangrong xiao
> > Hi All,
> >
> > Is there any support for software mailbox communication between PF and
> > VF driver in kvm ?
> >
> > As per the following link:
> > https://www.linux-kvm.org/images/6/6a/KvmForum2008$kdf2008_7.pdf
> >
> > It says that for software based virtual mailbox we require SR-PCIM support.
> >
> > So for this purpose is SR-PCIM implemented as part of KVM ?
> > Or is there any other method that KVM provides for communication
> > between PF & VF ?
>
> Hi, SR-IOV is not part of KVM (the virtual machine monitor kernel module).
> In PCIe terms, when using KVM the "VI" or Virtualization Intermediary is the
> Linux VFIO driver. SR-IOV management is split between the PF driver and VFIO.
>
Thanks Paolo.
If Linux VIFO driver acts as VI, as per spec SR-PCIM is "Software responsible for the configuration of the SR-IOV capability, management of Physical Functions and Virtual Functions"
So if we use kvm who does above work of SR-PCIM ?
Does VIFO driver provide any methods for PF & VF communication.
Thanks & Regards,
Bharat
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SR-PCIM support in KVM
2016-10-31 6:17 ` Bharat Kumar Gogada
@ 2016-10-31 8:09 ` Paolo Bonzini
2016-11-02 5:33 ` Bharat Kumar Gogada
0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2016-10-31 8:09 UTC (permalink / raw)
To: Bharat Kumar Gogada; +Cc: kvm, guangrong xiao
> > > As per the following link:
> > > https://www.linux-kvm.org/images/6/6a/KvmForum2008$kdf2008_7.pdf
> > >
> > > It says that for software based virtual mailbox we require SR-PCIM
> > > support.
> > >
> > > So for this purpose is SR-PCIM implemented as part of KVM ?
> > > Or is there any other method that KVM provides for communication
> > > between PF & VF ?
> >
> > Hi, SR-IOV is not part of KVM (the virtual machine monitor kernel module).
> > In PCIe terms, when using KVM the "VI" or Virtualization Intermediary is
> > the Linux VFIO driver. SR-IOV management is split between the PF driver
> > and VFIO.
>
> Thanks Paolo.
>
> If Linux VIFO driver acts as VI, as per spec SR-PCIM is "Software responsible
> for the configuration of the SR-IOV capability, management of Physical
> Functions and Virtual Functions" So if we use kvm who does above work of SR-PCIM ?
It's split between VFIO and the PF driver.
> Does VFIO driver provide any methods for PF & VF communication.
No, those are in the PF driver (ixgbe for example).
Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: SR-PCIM support in KVM
2016-10-31 8:09 ` Paolo Bonzini
@ 2016-11-02 5:33 ` Bharat Kumar Gogada
0 siblings, 0 replies; 5+ messages in thread
From: Bharat Kumar Gogada @ 2016-11-02 5:33 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: kvm, guangrong xiao
> > > > As per the following link:
> > > > https://www.linux-kvm.org/images/6/6a/KvmForum2008$kdf2008_7.pdf
> > > >
> > > > It says that for software based virtual mailbox we require SR-PCIM
> > > > support.
> > > >
> > > > So for this purpose is SR-PCIM implemented as part of KVM ?
> > > > Or is there any other method that KVM provides for communication
> > > > between PF & VF ?
> > >
> > > Hi, SR-IOV is not part of KVM (the virtual machine monitor kernel module).
> > > In PCIe terms, when using KVM the "VI" or Virtualization
> > > Intermediary is the Linux VFIO driver. SR-IOV management is split
> > > between the PF driver and VFIO.
> >
> > Thanks Paolo.
> >
> > If Linux VIFO driver acts as VI, as per spec SR-PCIM is "Software
> > responsible for the configuration of the SR-IOV capability, management
> > of Physical Functions and Virtual Functions" So if we use kvm who does above
> work of SR-PCIM ?
>
> It's split between VFIO and the PF driver.
>
> > Does VFIO driver provide any methods for PF & VF communication.
>
> No, those are in the PF driver (ixgbe for example).
>
Thanks Paolo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-11-02 5:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-28 12:03 SR-PCIM support in KVM Bharat Kumar Gogada
2016-10-29 13:42 ` Paolo Bonzini
2016-10-31 6:17 ` Bharat Kumar Gogada
2016-10-31 8:09 ` Paolo Bonzini
2016-11-02 5:33 ` Bharat Kumar Gogada
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.