[Openstack] [OpenStack]SRIOV VLAN Trunk Support

James Denton james.denton at rackspace.com
Thu Apr 27 14:46:35 UTC 2017


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.denton at rackspace.com<mailto:james.denton at rackspace.com>

From: "Xu, Rongjie (Nokia - CN/Hangzhou)" <rongjie.xu at nokia.com>
Date: Thursday, April 27, 2017 at 12:31 AM
To: "openstack at lists.openstack.org" <openstack at 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)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170427/b80793b1/attachment.html>


More information about the Openstack mailing list