-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vlanmgr] Disable arp_evict_nocarrier
for vlan host intf
#2469
Conversation
Signed-off-by: Longxiang Lyu <[email protected]>
Signed-off-by: Longxiang Lyu <[email protected]>
* [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 <[email protected]>
@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.
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 [email protected]
Why I did it
Disable the sysctl parameter
arp_evict_nocarrier
for 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_carrier
forVlan1000
Vlan1000
Vlan1000
Vlan1000
device becomesNO-CARRIER
and neighbors are keptDetails if related