VyOS config:
vyos@vyos# show interfaces ethernet eth103
mtu 9216
offload {
gro
gso
sg
tso
}
vif 1021 {
address x.x.x.x/xx
mtu 1500
}
vif 1051 {
address x.x.x.x/xx
mtu 9000
}
vif 1052 {
address x.x.x.x/xx
mtu 9000
}Interface:
Interface IP Address MAC VRF MTU S/L Description ----------- ----------------------------------- ----------------- ------- ----- ----- ---------------------------------- eth103 - b8:3f:d2:52:12:2c default 9216 u/u eth103.1021 x.x.x.x/xx b8:3f:d2:52:12:2c default 1500 A/D eth103.1051 x.x.x.x/xx b8:3f:d2:52:12:2c default 9000 A/D eth103.1052 x.x.x.x/xx b8:3f:d2:52:12:2c default 9000 u/u
VPP log:
Aug 24 02:52:03 core-ams-nl vpp[2404]: ip6/link: set-ll: eth103.1051 -> fe80::ba3f:d2ff:fe52:122c
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/router: Early message received for eth103.1051
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/itf: interface_add: eth103.1052 has parent itf-pair: [0] eth103 tap4096 eth103
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/itf: pair_create: subif: dot1q outer 1052 inner 0 on eth103
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/itf: pair create: {eth103.1052, tap4096.1052, eth103.1052}
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/itf: add: host:tap4096.1052 phy:eth103.1052, host_if:eth103.1052
Aug 24 02:52:03 core-ams-nl vpp[2404]: clib_c11_violation: s1 NULL
Aug 24 02:52:03 core-ams-nl vpp[2404]: clib_c11_violation: s2 NULL
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/itf: pair create: itf-pair: [8] eth103.1052 tap4096.1052 eth103.1052
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/router: failed create vlan: eth103.1052 on tap4096
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/router: Early message received for eth103.1051
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/router: ignore link add: (nil) - defunct_eth103
Aug 24 02:52:03 core-ams-nl vpp[2404]: ip6/link: set-ll: eth104 -> fe80::9a03:9bff:fe9f:5a93
Aug 24 02:52:03 core-ams-nl vpp[2404]: linux-cp/router: ignore link add: (nil) - defunct_eth103
Aug 24 02:52:03 core-ams-nl vpp[2404]: ip6/link: disable: eth103.1021
Aug 24 02:52:03 core-ams-nl vpp[2404]: ip6/link: disable: eth103.1051
Aug 24 02:52:03 core-ams-nl vpp[2404]: ip6/link: enable: eth103.1052Solution:
patch this line to:
- if (!lcp_auto_subint ())
+ if (!lcp_auto_subint () || lcp_get_netlink_processing_active ())
return NULL;Should I submit a PR to https://github.com/vyos/vyos-vpp-patches or directly submit it to vpp upstream?