Hi –

> Does SR-IOV support VLAN trunk? If yes, what kind of configuration shall I do 
> for PF and VF (VM)?

My experience has been YES, it does. At a minimum, the switchport should be 
configured as a trunk. The VF can be configured with VLAN ID 0, which will 
allow tagging within the VM.

> Does OpenStack support SR-IOV VF vlan trunk? If yes, what kind of 
> configuration is needed?

VLAN filtering is the default (and only) behavior supported by Neutron as far 
as I know. Without modifying the code, you’d be limited to a single VLAN per VF 
(untagged within the VM).


--
James Denton
Network Architect
Rackspace Private Cloud
james.den...@rackspace.com<mailto:james.den...@rackspace.com>

From: "Xu, Rongjie (Nokia - CN/Hangzhou)" <rongjie...@nokia.com>
Date: Thursday, April 27, 2017 at 12:31 AM
To: "openstack@lists.openstack.org" <openstack@lists.openstack.org>
Subject: [Openstack] [OpenStack]SRIOV VLAN Trunk Support

Hi,

Background:
I am using 82599 SR-IOV function, and attach the VF (by OpenStack) to the VM. I 
want to send and receive VLAN tagged and untagged traffic inside VM, just like 
the VLAN trunk port on the switch.

My question are:
Does SR-IOV support VLAN trunk? If yes, what kind of configuration shall I do 
for PF and VF (VM)?
Does OpenStack support SR-IOV VF vlan trunk? If yes, what kind of configuration 
is needed?


I try to search in the Internet, does it need somehow configure `Packet 
Filtering and Replication` in PF and tag/untag VLAN inside VM?
Currently I set up a SRIOV provider network, create a neutron network on top of 
that. And then create port on this network and attach this port to VM. For 
this, I see inside VM, there is a VLAN ID for this port (VF) by default, which 
is the provider VLAN ID.

Best Regards
Xu Rongjie (Max)



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to