From: Simon Horman Subject: Re: VF as default interface on dom0 Date: Thu, 26 Nov 2009 11:21:22 +1100 Message-ID: <20091126002122.GB2699@verge.net.au> References: <20091107220940.GA2751@verge.net.au> <20091109111112.GA13304@verge.net.au> <20091110193738.GF2782@verge.net.au> <43F901BD926A4E43B106BF17856F075589E96184@orsmsx508.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <43F901BD926A4E43B106BF17856F075589E96184@orsmsx508.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Rose, Gregory V" Cc: "xen-devel@lists.xensource.com" , Satish Chowdhury List-Id: xen-devel@lists.xenproject.org On Mon, Nov 16, 2009 at 09:20:06AM -0800, Rose, Gregory V wrote: > >-----Original Message----- > >From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > >bounces@lists.xensource.com] On Behalf Of Simon Horman > >Sent: Tuesday, November 10, 2009 11:38 AM > >To: Satish Chowdhury > >Cc: xen-devel@lists.xensource.com > >Subject: Re: [Xen-devel] VF as default interface on dom0 > > > >On Tue, Nov 10, 2009 at 01:19:51PM +0530, Satish Chowdhury wrote: > >> Hi Simon, > >> > >> Thanks for the reply and reproducing the problem. > >> > >> I didn't tried with pv_ops kernel yet. > >> > >> I guess the issue is not with the driver. As I understand, the > >behavior is > >> because of the L2 filtering done by 82576 NIC. > >> > >> The NIC filters frames based on MAC address that are assigned to VFs. > >In my > >> experiment, the arp reply that reaches the NIC, has mac address of > >interface > >> on VM(domU). NIC's filtering based on VF MAC address fail. So, packet > >is not > >> queued to VF interface. On dom0 a bridge is created, with VF and > >domUs > >> virtual interfaces (no PF). > >> If we group PF interface also into this bridge, because of bridge > >learning > >> functionality, the packet get routed to the virtual interface and > >finally to > >> VM. > >> > >> I am not 100% sure about above understanding of mine. Please, me know > >if you > >> think i am wrong. > > > >I suspect you are right, though I was hoping that its a problem > >that could be fixed by the driver configuring the card slightly > >differently. > > > >It would probably be good to post your problem report to the > >e1000-devel and/or netdev lists to get some more eye's on it. > > > > > [Rose, Gregory V] > > I must have missed some previous email on this subject but from the context here I'm guessing that you're trying to put the PF driver on a bridge so that you can support some emulated connections in some VMs and some VFs in other VMs? > > Is that the case? I'm unsure of the motivation but the problem is that putting a VF on the bridge (i.e VF is pethX) doesn't seem to work correctly as some reply packets end up on the PF instead.