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

upgrade to ODP API v1.45.1.0 #293

Merged
merged 10 commits into from
Oct 14, 2024

Conversation

JereLeppanen
Copy link
Contributor

No description provided.

@bogdanPricope
Copy link
Contributor

Are you guys still doing this? Why?

Best regards,
Bogdan

An incorrect condition in ofp_soreceive_generic() is always false. Fix
by calling ofp_sockbuf_get_first(), which returns ODP_PACKET_INVALID
when socket buffer is empty.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
Braces are missing after an if statement, causing the number of ASM
listeners being incorrectly decremented in some situations. Fix by
adding the missing braces.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
A strcat() call is using uninitialized memory from malloc() as the
destination string. Fix by using strcpy() instead.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
Remove unused ax_tls.m4 script. The script was run, but its result was
never used. We assume that the compiler understands the __thread
keyword.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
Set up hugepages after compilation, so that the script can be run up
to that point as a normal user.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
Upgrade check.sh script to ODP v1.45.1.0.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
Upgrade to odp-dpdk v1.45.1.0.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
Upgrade references to ODP to v1.45.1.0 in README file and user guide.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
odp_timer_set_t has been removed, don't use it. This also fixes a
mistake made in an earlier commit, where the return value of
odp_timer_start(), which is int, was assigned to a variable of type
odp_timer_set_t.

Fixes: db2601f ("timer: Use odp_timer_start() instead of odp_timer_set_abs()")

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
odp_timer_free() no longer returns an event. Fix handling of the
return value.

Signed-off-by: Jere Leppänen <[email protected]>
Reviewed-by: Janne Peltonen <[email protected]>
@JereLeppanen JereLeppanen merged commit 206f0e1 into OpenFastPath:master Oct 14, 2024
5 checks passed
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