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

[PATCH v2] validation: pktio: lso: improve test coverage of custom segnum add #2142

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

JannePeltonen
Copy link
Collaborator

Currently the validation test of the custom segment number add operation passes even if the ODP implementation overwrites the field instead of adding to it. Fix the problem by using a non-zero value in the field in the original packet. Also select the value so that with the third segment the addition carries to the most significant byte of the two byte field used in the test.

@odpbuild odpbuild changed the title validation: pktio: lso: improve test coverage of custom segnum add [PATCH v1] validation: pktio: lso: improve test coverage of custom segnum add Nov 7, 2024
Currently the validation test of the custom segment number add operation
passes even if the ODP implementation overwrites the field instead of
adding to it. Fix the problem by using a non-zero value in the field
in the original packet. Also select the value so that with the third
segment the addition carries to the most significant byte of the two byte
field used in the test.

Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
@odpbuild odpbuild changed the title [PATCH v1] validation: pktio: lso: improve test coverage of custom segnum add [PATCH v2] validation: pktio: lso: improve test coverage of custom segnum add Nov 7, 2024
@MatiasElo MatiasElo merged commit 7de9ac6 into OpenDataPlane:master Nov 8, 2024
162 checks passed
@JannePeltonen JannePeltonen deleted the lso-test-impr-2 branch November 20, 2024 08:33
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.

3 participants