Skip to content

Commit

Permalink
fix(2544): Fix binary search in per source mode
Browse files Browse the repository at this point in the history
Reference Issue Numbers: #5
  • Loading branch information
Leonard Yu committed Dec 13, 2022
1 parent 96f791e commit 34dde75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin2544/plugin/tc_throughput.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_initial_boundaries(
if throughput_conf.rate_iteration_options.result_scope.is_per_source_port:
return [
ThroughputBoutEntry(throughput_conf, [port_struct])
for port_struct in resources.port_structs
for port_struct in resources.tx_ports
]
else:
return [ThroughputBoutEntry(throughput_conf, resources.port_structs)]

0 comments on commit 34dde75

Please sign in to comment.