From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: SR-PCIM support in KVM Date: Mon, 31 Oct 2016 04:09:10 -0400 (EDT) Message-ID: <2129818337.9626448.1477901350808.JavaMail.zimbra@redhat.com> References: <8520D5D51A55D047800579B0941471982598F0B4@XAP-PVEXMBX01.xlnx.xilinx.com> <1363689657.9326766.1477748532922.JavaMail.zimbra@redhat.com> <8520D5D51A55D047800579B0941471982599A856@XAP-PVEXMBX01.xlnx.xilinx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, guangrong xiao To: Bharat Kumar Gogada Return-path: Received: from mx6-phx2.redhat.com ([209.132.183.39]:43136 "EHLO mx6-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761977AbcJaIJO (ORCPT ); Mon, 31 Oct 2016 04:09:14 -0400 In-Reply-To: <8520D5D51A55D047800579B0941471982599A856@XAP-PVEXMBX01.xlnx.xilinx.com> Sender: kvm-owner@vger.kernel.org List-ID: > > > 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