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

net/netdev: Add netdev_iob_replace_l2 for netdev to avoid misuse #156

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

wengzhe
Copy link
Member

@wengzhe wengzhe commented Jan 15, 2025

Summary

Add netdev_iob_replace_l2 for netdev to avoid misuse, and fix wrong d_len for IOBs from upper->txq in TX.

Impact

Netdev upperhalf.

Testing

Packets from netdev_upper_tx captured by tcpdump, which have wrong length before this PR.

And fix wrong `d_len` for IOBs from `upper->txq` in TX.

Signed-off-by: Zhe Weng <[email protected]>
@xiaoxiang781216 xiaoxiang781216 merged commit f436dd7 into open-vela:dev Jan 15, 2025
3 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.

2 participants