Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback to get NIC driver by /sys/class/net/NIC/device/driver/module
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>
- Loading branch information