Skip to content
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 console stats -x not working on mlx5 cards #1112

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Civil
Copy link
Contributor

@Civil Civil commented Feb 27, 2024

At least in DPDK 23.03 (and later) xstats_names might return more names than xstats_values and that is considered normal.

See https://doc.dpdk.org/api-23.03/rte__ethdev_8h.html#a300d75b583c1f5acfe5b162a5d8c0ac1

In this case it seems appropriate to force names to be same length as values

Fixes #1111

At least in DPDK 23.03 (and later) xstats_names might return more names
than xstats_values and that is considered normal.

See https://doc.dpdk.org/api-23.03/rte__ethdev_8h.html#a300d75b583c1f5acfe5b162a5d8c0ac1

In this case it seems appropriate to force names to be same length as
values

Fixes cisco-system-traffic-generator#1111
@trex-bot
Copy link

Checked SHA: 40c38b4
Status: SUCCESS ✔️
Link to job: http://81.218.86.50:8080/job/trex_build/825/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

trex-console doesn't report xstats when len(values) doesn't match len(names)
2 participants