[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <43F901BD926A4E43B106BF17856F0755A7A58B5F@orsmsx508.amr.corp.intel.com>
Date: Tue, 25 May 2010 08:57:51 -0700
From: "Rose, Gregory V" <gregory.v.rose@...el.com>
To: Shirley Ma <mashirle@...ibm.com>
CC: "Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"e1000-devel@...ts.sourceforge.net"
<e1000-devel@...ts.sourceforge.net>
Subject: RE: ixgbe: macvlan on PF/VF when SRIOV is enabled
>-----Original Message-----
>From: Shirley Ma [mailto:mashirle@...ibm.com]
>Sent: Tuesday, May 25, 2010 2:37 AM
>To: Rose, Gregory V
>Cc: Kirsher, Jeffrey T; davem@...emloft.net; kvm@...r.kernel.org;
>netdev@...r.kernel.org; e1000-devel@...ts.sourceforge.net
>Subject: RE: ixgbe: macvlan on PF/VF when SRIOV is enabled
>
>On Mon, 2010-05-24 at 10:54 -0700, Rose, Gregory V wrote:
>> We look forward to it and will be happy to provide feedback.
>I have submitted the patch to make macvlan on PF works when SRIOV is
>enabled.
>
>> One thing you can do is allocate VFs and then load the VF driver in
>> your host domain and then assign each of them a macvlan filter. You'd
>> get a similar effect.
>
>That's I am trying to make it work for macvlan on VFs in host domain. I
>need to add VF secondary addresses in address filter, right?
Just use ifconfig and vconfig utilities to set the MAC and VLAN for each VF. There shouldn't be any need for secondary addresses because they're not like physical devices where each VF has a pre-programmed HW MAC address. The initial MAC address of each VF is generated on the fly during the PF driver initialization. You can change it as you see fit and then put the VF on a VLAN using vconfig. After you do that you have a macvlan filter for that VF.
>
>Do you have any aggregation performance comparison between multiple
>macvlans on PF and single macvlan per VF in host domain?
No, we haven't done any performance testing of that particular sort but I imagine you should be able to get close to line rates using multiple VFs with a single macvlan filter for each.
Regards,
- Greg
Powered by blists - more mailing lists