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 v7] api: pktio: lso: promise maximum payload size for custom proto #2157

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

JannePeltonen
Copy link
Collaborator

@JannePeltonen JannePeltonen commented Nov 26, 2024

Specify that LSO for the custom protocol produces same-sized segments (except the last segment).

Add a profile parameter to request exactly maximum length payload sizes in the non-last segments produced by the custom protocol LSO.

v2:
Remove configurability and the capability flag and just promise that the custom LSO protocol always produces maximum length segments.

v3:
Added validation test commit.

@odpbuild odpbuild changed the title api: pktio: lso: add constant payload size and exact payload size for custom proto [PATCH v1] api: pktio: lso: add constant payload size and exact payload size for custom proto Nov 26, 2024
@MatiasElo MatiasElo added the API next API change for next release label Nov 26, 2024
@MatiasElo MatiasElo added this to the v1.46.0.0 release milestone Nov 26, 2024
@odpbuild odpbuild changed the title [PATCH v1] api: pktio: lso: add constant payload size and exact payload size for custom proto [PATCH v2] api: pktio: lso: add constant payload size and exact payload size for custom proto Dec 4, 2024
@JannePeltonen JannePeltonen changed the title [PATCH v2] api: pktio: lso: add constant payload size and exact payload size for custom proto [PATCH v2] api: pktio: lso: promise maximum payload size for custom proto Dec 4, 2024
@odpbuild odpbuild changed the title [PATCH v2] api: pktio: lso: promise maximum payload size for custom proto [PATCH v3] api: pktio: lso: promise maximum payload size for custom proto Dec 10, 2024
@odpbuild odpbuild changed the title [PATCH v3] api: pktio: lso: promise maximum payload size for custom proto [PATCH v4] api: pktio: lso: promise maximum payload size for custom proto Dec 13, 2024
@JannePeltonen
Copy link
Collaborator Author

v4: rebased

Copy link
Collaborator

@psavol psavol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review and approved API commit.

@odpbuild odpbuild changed the title [PATCH v4] api: pktio: lso: promise maximum payload size for custom proto [PATCH v5] api: pktio: lso: promise maximum payload size for custom proto Dec 16, 2024
@JannePeltonen
Copy link
Collaborator Author

v5: added review tags

@nithind1988
Copy link
Contributor

Reviewed-by: Nithin Dabilpuram [email protected]

@MatiasElo MatiasElo added the API Ready API change ready to be merged (with the next API version increment) label Dec 17, 2024
@odpbuild odpbuild changed the title [PATCH v5] api: pktio: lso: promise maximum payload size for custom proto [PATCH v6] api: pktio: lso: promise maximum payload size for custom proto Dec 17, 2024
@JannePeltonen
Copy link
Collaborator Author

v6: review tag

Specify that all segments, except the last one, have the maximum
payload length with the custom protocol. Rounding down the payload
length by ODP implementations would be problematic for certain custom
protocols that need to know the exact length of the segments in advance.

Signed-off-by: Janne Peltonen <[email protected]>
Reviewed-by: Matias Elo <[email protected]>
Reviewed-by: Petri Savolainen <[email protected]>
Reviewed-by: Nithin Dabilpuram <[email protected]>
Check that the non-last segments of a custom LSO protocol have the maximum
payload length as promised by the API.

Signed-off-by: Janne Peltonen <[email protected]>
Reviewed-by: Matias Elo <[email protected]>
Reviewed-by: Nithin Dabilpuram <[email protected]>
@odpbuild odpbuild changed the title [PATCH v6] api: pktio: lso: promise maximum payload size for custom proto [PATCH v7] api: pktio: lso: promise maximum payload size for custom proto Dec 20, 2024
@MatiasElo MatiasElo enabled auto-merge (rebase) December 20, 2024 10:05
@MatiasElo MatiasElo merged commit 7d6a4d4 into OpenDataPlane:master Dec 20, 2024
160 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API next API change for next release API Ready API change ready to be merged (with the next API version increment)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants