Skip to content

Commit 394e15c

Browse files
committed
[Qos]Misc correction in comments
1 parent 868344f commit 394e15c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/saitests/py3/sai_qos_tests.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,7 +3022,7 @@ def runTest(self):
30223022
sidx_dscp_pg_tuples[i][2],
30233023
sidx_dscp_pg_tuples[i][0]))
30243024

3025-
print("Service pool almost filled", file=sys.stderr)
3025+
print("Shared buffer pool almost filled", file=sys.stderr)
30263026
sys.stderr.flush()
30273027
# Send few more packets to send few more packets to fill shared pool completely
30283028
for i in range(0, self.pgs_num):
@@ -3093,8 +3093,6 @@ def runTest(self):
30933093
for cntr in self.ingress_counters:
30943094
# corner case: in previous step in which trigger PFC, a few packets were dropped,
30953095
# and dropping don't keep increasing constantaly.
3096-
# workaround: tolerates a few packet drop here, and output relevant information
3097-
# for offline analysis, to know if it's an issue
30983096
if recv_counters[cntr] != recv_counters_bases[sidx_dscp_pg_tuples[i][0]][cntr]:
30993097
sys.stderr.write('There are some unexpected {} packet drop\n'.format(
31003098
recv_counters[cntr] - recv_counters_bases[sidx_dscp_pg_tuples[i][0]][cntr]))
@@ -3116,7 +3114,7 @@ def runTest(self):
31163114
port_list['src'][sid])[0] for sid in self.src_port_ids]
31173115
# last pg
31183116
i = self.pgs_num - 1
3119-
# send 1 packet on last pg to trigger ingress drop
3117+
# send packets on last pg to trigger ingress drop
31203118
pkt_cnt = 1 + 2 * margin
31213119
send_packet(self, self.src_port_ids[sidx_dscp_pg_tuples[i][0]], pkt, pkt_cnt)
31223120
# allow enough time for the dut to sync up the counter values in counters_db
@@ -3134,7 +3132,7 @@ def runTest(self):
31343132
if cntr == 1:
31353133
assert (recv_counters[cntr] > recv_counters_bases[sidx_dscp_pg_tuples[i][0]][cntr])
31363134

3137-
print("pg hdrm filled", file=sys.stderr)
3135+
print("All pg's hdrm filled.Reached max headroom capacity ", file=sys.stderr)
31383136
sys.stderr.flush()
31393137

31403138
finally:

0 commit comments

Comments
 (0)