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

Fallback to get NIC driver by /sys/class/net/NIC/device/driver/module #64

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

coiby
Copy link
Member

@coiby coiby commented Dec 16, 2024

Resolves: https://issues.redhat.com/browse/RHEL-67131

Some drivers like dwmac_tegra may report its name incorrectly. So fallback to /sys/class/net/NIC/device/driver/modul to address these cases. Note this method only for physical NICs i.e it doesn't work for virtual NICs like bonding NIC.

Suggested-by: Michal Schmidt mschmidt@redhat.com

Resolves: https://issues.redhat.com/browse/RHEL-67131

Some drivers like dwmac_tegra may report its name incorrectly. So
fallback to /sys/class/net/NIC/device/driver/modul to address these
cases. Note this method only for physical NICs i.e it doesn't work for
virtual NICs like bonding NIC.

Suggested-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Coiby Xu <coxu@redhat.com>
@coiby coiby merged commit 821a5e6 into rhkdump:main Jan 2, 2025
6 of 9 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