Fix issue when working with different uperf pairs (density) in the up… #838
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…erf-scale module
Type of change
Description
With the current code, when running more than one
uperf
pair in theuperf-scale
module, the feature does not work correctly. The client port is always set to30000
instead of dynamically adjusting to match the corresponding server pair’s assigned port. Below is an example of the output with the current code:Similarly, when inspecting the clients, the client ports are incorrectly set to
30000
for all pairs, as shown below:After Applying the Fix
With the fix implemented, the port configuration for the
uperf
clients now matches the server pairs correctly. Below is the updated output for the server and client configurations:Example updated client output:
By ensuring the client ports are correctly configured,
uperf
pairs now function as expected in theuperf-scale
module, supporting dynamic port allocation for each server-client pair.Related Tickets & Documents
Checklist before requesting a review
Testing