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

{bp-15333} netdev/upper: Fix wrong CPU when RSS is disabled #15366

Merged
merged 1 commit into from
Dec 28, 2024

Conversation

jerpelea
Copy link
Contributor

Summary

When CONFIG_NETDEV_RSS is disabled, NETDEV_THREAD_COUNT will be 1, and we should not access upper->sem[cpu] with cpu > 0.

Impact

RELEASE

Testing

CI

When `CONFIG_NETDEV_RSS` is disabled, `NETDEV_THREAD_COUNT` will be 1,
and we should not access `upper->sem[cpu]` with `cpu > 0`.

Signed-off-by: Zhe Weng <[email protected]>
@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small labels Dec 27, 2024
@jerpelea jerpelea changed the title netdev/upper: Fix wrong CPU when RSS is disabled {bp-15333} netdev/upper: Fix wrong CPU when RSS is disabled Dec 27, 2024
@xiaoxiang781216 xiaoxiang781216 merged commit c331bb9 into apache:releases/12.8 Dec 28, 2024
25 of 27 checks passed
@jerpelea jerpelea deleted the bp-15333 branch December 28, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants