[vlanmgr] Disable arp_evict_nocarrier for vlan host intf#2469
[vlanmgr] Disable arp_evict_nocarrier for vlan host intf#2469prsunny merged 2 commits intosonic-net:masterfrom
arp_evict_nocarrier for vlan host intf#2469Conversation
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
* [vlanmgr] Disable `arp_evict_nocarrier` for vlan host intf
Advance sonic-swss submodule to pick up new commits: dbdf31c [counters] Improve performance by polling only configured ports buffer queue/pg counters sonic-net/sonic-swss#2473 ab4f804 [portsorch] remove port OID from saiOidToAlias map on port deletion sonic-net/sonic-swss#2483 ab29920 [QoS] Support dynamic headroom calculation for Barefoot platforms sonic-net/sonic-swss#2412 15beee4 Add support for voq counters in portsorch. sonic-net/sonic-swss#2467 c8d4905 [vlanmgr] Disable arp_evict_nocarrier for vlan host intf sonic-net/sonic-swss#2469 31c9321 [chassis][voq]Collect counters for fabric links sonic-net/sonic-swss#1944 Signed-off-by: Kebo Liu <kebol@nvidia.com>
|
@lolyu , currently swss-common repo validation failed on this UT: 2022-11-11T06:20:03.0329331Z test_vlan.py::TestVlan::test_VlanMemberLinkDown FAILED [ 91%] Here is a test PR which change nothing: 2022-11-11T07:13:34.8909924Z _______________________ TestVlan.test_VlanMemberLinkDown _______________________ |
|
As my understand, some PR need cherry-pick to swss-common 202205 branch to fix the UT failed issue. |
…onic-net#2469)" This reverts commit 7290d66.
…#2469) * [vlanmgr] Disable `arp_evict_nocarrier` for vlan host intf
What I did
To fix: sonic-net/sonic-buildimage#11924
This PR depends on: sonic-net/sonic-linux-kernel#293
Signed-off-by: Longxiang Lyu lolv@microsoft.com
Why I did it
Disable the sysctl parameter
arp_evict_nocarrierfor the host vlan interfaces.So if its member ports are all down and host vlan interfaces become
NO-CARRIER, the neighbor learned will not be flushed.How I verified it
Build image together with the kernel change:
arp_evict_no_carrierforVlan1000Vlan1000Vlan1000Vlan1000device becomesNO-CARRIERand neighbors are keptDetails if related