提交 e83afd56 编写于 作者: X Xu Yu 提交者: Caspar Zhang

configs: add BRIDGE_VLAN_FILTERING support for cni

With the VLAN filtering feature, the Linux bridge acts more like a
real switch. Administrators can control all VLANs with only one
bridge, making it more easy and efficient to set up distinct subnets
on virtualization servers.

Kubernetes cni (container network interface) takes advantages of this
feature to configure pod network.

There will be error prompt like below if BRIDGE_VLAN_FILTERING is not
set.
NetworkPlugin cni failed to set up pod "<pod-name>" network: failed to
create bridge "cni0": could not add "cni0": operation not supported.

Therefore, enable BRIDGE_VLAN_FILTERING in this commit.
Signed-off-by: NXu Yu <xuyu@linux.alibaba.com>
Acked-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
上级 85166d13
......@@ -1404,7 +1404,7 @@ CONFIG_STP=m
CONFIG_GARP=m
CONFIG_BRIDGE=m
CONFIG_BRIDGE_IGMP_SNOOPING=y
# CONFIG_BRIDGE_VLAN_FILTERING is not set
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_HAVE_NET_DSA=y
# CONFIG_NET_DSA is not set
CONFIG_VLAN_8021Q=m
......
......@@ -1403,7 +1403,7 @@ CONFIG_STP=m
CONFIG_GARP=m
CONFIG_BRIDGE=m
CONFIG_BRIDGE_IGMP_SNOOPING=y
# CONFIG_BRIDGE_VLAN_FILTERING is not set
CONFIG_BRIDGE_VLAN_FILTERING=y
CONFIG_HAVE_NET_DSA=y
# CONFIG_NET_DSA is not set
CONFIG_VLAN_8021Q=m
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册