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

link: Parsing IFLA_VFINFO_LIST #71

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Conversation

cathay4t
Copy link
Member

@cathay4t cathay4t commented Dec 4, 2023

Parsing IFLA_VFINFO_LIST into
LinkAttribute::VfInfoList(Vec<LinkVfInfo>).

Unit test case included with real SR-IOV data.

Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Attention: 102 lines in your changes are missing coverage. Please review.

Comparison is base (70c2eee) 67.02% compared to head (e550a83) 67.89%.

Files Patch % Lines
src/link/sriov/vf_list.rs 83.68% 23 Missing ⚠️
src/link/sriov/vf_vlan.rs 67.24% 19 Missing ⚠️
src/link/sriov/guid.rs 0.00% 15 Missing ⚠️
src/link/vlan_protocol.rs 40.90% 13 Missing ⚠️
src/link/sriov/rate.rs 70.83% 7 Missing ⚠️
src/link/sriov/vlan.rs 70.83% 7 Missing ⚠️
src/link/sriov/link_state.rs 80.00% 6 Missing ⚠️
src/link/sriov/stats.rs 90.16% 6 Missing ⚠️
src/link/sriov/tx_rate.rs 83.33% 3 Missing ⚠️
src/link/attribute.rs 66.66% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
+ Coverage   67.02%   67.89%   +0.86%     
==========================================
  Files          99      113      +14     
  Lines        7452     7911     +459     
==========================================
+ Hits         4995     5371     +376     
- Misses       2457     2540      +83     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Parsing `IFLA_VFINFO_LIST` into
`LinkAttribute::VfInfoList(Vec<LinkVfInfo>)`.

Unit test case included with real SR-IOV data.

Signed-off-by: Gris Ge <[email protected]>
@cathay4t cathay4t merged commit e1ea66b into rust-netlink:main Dec 4, 2023
10 checks passed
@cathay4t cathay4t deleted the link_vf branch December 4, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant