-
Notifications
You must be signed in to change notification settings - Fork 119
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
Using Pktgen rnd to send packets, the port did not change. #281
Comments
OK, I some how got delete happy and removed the call to set the random bits :-( Please checkout the branch fix-random-issue and let me know if that fixes the problem. |
Thank you very much for your changes. I'm not able to easily switch to the latest version. Could you confirm if the same issue exists in Pktgen version 23.06.1? I noticed there are still quite a few differences from the latest code. |
I am on vacation so it will look at it when I get some time. Sent from my iPhoneOn Sep 2, 2024, at 1:55 AM, wangjun ***@***.***> wrote:
Thank you very much for your changes. I'm not able to easily switch to the latest version. Could you confirm if the same issue exists in Pktgen version 23.06.1? I noticed there are still quite a few differences from the latest code.
Additionally, after analyzing the changes in your branch fix-random-issue, shouldn't the checksum be recalculated after applying the random number modifications? Otherwise, the checksum might be incorrect, right?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
version:Pktgen 23.06.1 DPDK 23.07.0
Packet capture shows that the L4 ports are fixed, with src port 1234 and dst port 5678.
Is this an issue with how I'm using it, or is there a bug in the code? When I use range mode, the L4 port changes correctly.
The text was updated successfully, but these errors were encountered: