On Fri, Sep 07, 2018 at 02:51:25AM +0000, Lilijun (Jerry, Cloud Networking) wrote: > In my test, vlan-limit is set to 0 that means unlimited the count of vlan > headers. > ovs-vsctl set Open_vSwitch . other_config:vlan-limit=0 > > But in fact the macro FLOW_MAX_VLAN_HEADERS is defined as 2, so we can > only support max two vlan headers. It doesn't work as the config vlan-limit's > description.
The following is the description. Please explain how it can be made clearer. other_config : vlan-limit: optional string, containing an integer, at least 0 Limits the number of VLAN headers that can be matched to the specified number. Further VLAN headers will be treated as pay‐ load, e.g. a packet with more 802.1q headers will match Ethernet type 0x8100. Value 0 means unlimited. The actual number of supported VLAN headers is the smallest of vlan-limit, the number of VLANs sup‐ ported by Open vSwitch userspace (currently 2), and the number supported by the datapath. If this value is absent, the default is currently 1. This main‐ tains backward compatibility with controllers that were designed for use with Open vSwitch versions earlier than 2.8, which only supported one VLAN. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev