From: Satish Chowdhury <satish.chowdhury@oneconvergence.com>
To: netdev@vger.kernel.org
Subject: Sharing VF device among Xen VMs
Date: Sun, 15 Nov 2009 01:19:31 +0530 [thread overview]
Message-ID: <be5d34890911141149v45ba176ax5705d681def3470e@mail.gmail.com> (raw)
In-Reply-To: <be5d34890911130925j7b7d70f3j1f205b9ad7624b76@mail.gmail.com>
Hi,
I am trying to verify a situation where VMs share a VF device of Intel
82576 dual port for data traffic.
Setup:
Case -1: On a Vt-d machine Xen(xen-1) is installed. On dom0 multiple
VFs are created for 82576ET dual port card. One of the VF is
pass-through to a VM. Now, the VM again has Xen (xen-2) installed.
So, the VMs of Xen-2 have to share the passthrough VF device for data
traffic.
Will I be able to send data from Xen-2 VMs to external world?
I had issues while creating VMs for Xen2. So, could not do the experiment.
Case-2: On Xen-1 itself I loaded igbvf driver. Changed xen
configuration to make VF as default interface on dom0. Now VMs of
Xen-1 should share the VF device.
Ping from VF interface on VM and PF ip address works.
Ping between VMs goes through.
But, ping from domU to another machine on same network on switch doesn't work.
The arp broadcast request goes out through VF interface. But the arp
reply doesn't reach VF interface, they get routed to PF interface. If
PF interface to the bridge on dom0 then ping from VMs to external
machine work.
In my experiment, the arp reply that reaches the NIC, has mac address
of interface on VM(domU). 82576 performs L2 filtering based on VF MAC
address. So, packet is not queued to VF interface.
Is it possible to add VMs mac address to L2 filtering pool of the NIC?
Regards,
-Satish
next parent reply other threads:[~2009-11-14 19:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <be5d34890911130925j7b7d70f3j1f205b9ad7624b76@mail.gmail.com>
2009-11-14 19:49 ` Satish Chowdhury [this message]
2009-11-16 17:39 ` Sharing VF device among Xen VMs Rose, Gregory V
2009-11-15 9:52 ` Satish Chowdhury
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=be5d34890911141149v45ba176ax5705d681def3470e@mail.gmail.com \
--to=satish.chowdhury@oneconvergence.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox