-
Notifications
You must be signed in to change notification settings - Fork 48
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
add rich representation for VLAN QOS mapping #33
Conversation
The captured data in the test case is from: sudo strace -s 1000 -f -e trace=network ip link add link enp5s0 name eth0.75 type vlan id 75 egress 3:4 ingress 0:1 1:2 I had to adjust the length field for |
@jreppnow Thanks for the patch! Please rebase to latest commit. I personally dislike the idea of I guess this VLAN QoS support also require effort on Thank you! |
Hi @cathay4t,
|
Codecov Report
@@ Coverage Diff @@
## main #33 +/- ##
==========================================
+ Coverage 45.08% 46.23% +1.15%
==========================================
Files 75 75
Lines 6208 6276 +68
==========================================
+ Hits 2799 2902 +103
+ Misses 3409 3374 -35
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me.
Please change the commit message title since we are not using rick_nlas
anymore in this patch.
After that, we are good to go.
My bad the commit title is good enough. Merging. |
Hi!
Thanks for the cool crates. This PR adds a rich representation for VLAN QOS mappings.
This is mainly used to allow user space applications to use the SOL_PRIORITY flag to set VLAN priority for their sockets.
I used the implementation here as a reference: https://github.com/shemminger/iproute2/blob/main/ip/iplink_vlan.c
Notes:
rich_nlas
feature flag for this, but since it existed before, this might still be a breaking change for some users. Could alternatively introduce another feature flag specifically for this change.rtnetlink
crate.