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 parameter when invoking pktgen_main_receive #249

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

Aniurm
Copy link
Contributor

@Aniurm Aniurm commented Apr 16, 2024

I think we should pass rx_burst to pktgen_main_receive, since this function handles packet reception.
Otherwise, the command set <portlist> txburst <value> might unintentionally affect the receive behavior in Pktgen.

@KeithWiles
Copy link
Collaborator

Does this change fix the problem you are seeing? It looks like a good fix in any case.

@Aniurm
Copy link
Contributor Author

Aniurm commented Apr 16, 2024

"Does this change fix the problem you are seeing"
Do you mean the problem I mentioned here? #153 (comment)

No this fix can't solve #153 (comment)

This fix is about the configuration of burst size. It can solve part of my problem.
Before I cannot control rx_burst correctly because the wrong parameter is passed in the code.
Now with this fix, I can control rx_burst using command set <port> rxburst <value>

#153 (comment) the main issue is the weird stuff when I set burst size to 1.
I need to write my own DPDK application to solve this.

@KeithWiles KeithWiles merged commit 6fea05a into pktgen:main Apr 16, 2024
2 checks passed
@Aniurm Aniurm deleted the fix-rx-parameter branch April 17, 2024 01:50
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.

2 participants