-
Notifications
You must be signed in to change notification settings - Fork 732
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
Fix a couple issues in change_lag_lacp_timer
#15778
base: master
Are you sure you want to change the base?
Fix a couple issues in change_lag_lacp_timer
#15778
Conversation
Updated to work with single-asic LCs Updated to work on all 3 dst_port_ids Also made testQosSaiPfcXonLimit use fixture change_lag_lacp_timer
for port_ch, port_intf in dst_mgfacts['minigraph_portchannels'].items(): | ||
for member in port_intf['members']: | ||
if member in dst_interfaces: | ||
lag_names.append( port_ch ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we get lag_names on all dst device, regardless of single-asic/multi-asic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some QOS tests send packets to multiple destinations dst_port_id
, dst_port_2_id
, dst_port_3_id
We disable TX on all 3 of these ports:
https://github.com/sonic-net/sonic-mgmt/blob/master/tests/saitests/py3/sai_qos_tests.py#L2543
And any of these 3 ports could be a LAG so therefor needs to have the LACP multiplier increased on the neighboring device.
@arista-nwolfe , could you paste the error/failures without this PR? |
The failure will likely manifest as something like: This is because one of the destination port-channels went down too early causing the packets that we enqueued to be dropped instead of stored in the destination port's buffer. |
Regarding the |
@XuChen-MSFT Can you please help review? |
#14469 was introduced to increase the LACP timeout of EOS neighbors during QOS tests.
This was required because the QOS tests would disable TX credits on the test's dest ports, without TX credits LACP packets won't egress and eventually the LAG will be brought down by the EOS neighbor due to LACP timeout.
This change adds a couple improvements to that existing PR:
-Updated to work with single-asic LCs
-Updated to change the LACP timeout multiplier for all 3 dst_port_id neighbors.
Also made testQosSaiPfcXonLimit use fixture change_lag_lacp_timer
Type of change
Back port request