-
Notifications
You must be signed in to change notification settings - Fork 1k
Improvising qos tests by tunning the qos params for single_asic, single_dut_multi_asic and multi_dut #8222
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
Improvising qos tests by tunning the qos params for single_asic, single_dut_multi_asic and multi_dut #8222
Changes from all commits
6e92b7e
aa479be
13b75be
2139eff
c66daa1
0a351f1
3a033eb
b3e4627
608d15a
45dccda
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3082,6 +3082,15 @@ def runTest(self): | |
| assert (fill_leakout_plus_one(self, src_port_id, dst_port_id, | ||
| pkt, int(self.test_params['pg']), asic_type)) | ||
|
|
||
| if platform_asic and platform_asic == "broadcom-dnx": | ||
| if check_leackout_compensation_support(asic_type, hwsku): | ||
| send_packet(self, src_port_id, pkt, pkts_num_leak_out) | ||
| time.sleep(5) | ||
| dynamically_compensate_leakout(self.dst_client, asic_type, sai_thrift_read_port_counters, | ||
| port_list['dst'][dst_port_id], TRANSMITTED_PKTS, | ||
| xmit_counters_base, self, src_port_id, pkt, 10) | ||
| pkts_num_leak_out = 0 | ||
|
|
||
| # send packets short of triggering egress drop | ||
| if hwsku == 'DellEMC-Z9332f-O32' or hwsku == 'DellEMC-Z9332f-M-O16C64': | ||
| # send packets short of triggering egress drop | ||
|
|
@@ -3111,7 +3120,8 @@ def runTest(self): | |
| assert (recv_counters[pg] == recv_counters_base[pg]) | ||
| # recv port no ingress drop | ||
| for cntr in ingress_counters: | ||
| assert (recv_counters[cntr] == recv_counters_base[cntr]) | ||
| if platform_asic and platform_asic == "broadcom-dnx" and cntr == 1: | ||
| assert(recv_counters[cntr] == recv_counters_base[cntr]) | ||
|
||
| # xmit port no egress drop | ||
| for cntr in egress_counters: | ||
| assert (xmit_counters[cntr] == xmit_counters_base[cntr]) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.