Commit 12abe5a
authored
Fix: fallback to lspci for NIC model name when not found in udevadm (#670)
* fix: add fallback to lspci when udevadm doesn't include NIC model name
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* don't include virtual interfaces in summary
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* improve check for virtual interface
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
* more efficient extraction of model
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>
---------
Signed-off-by: Harper, Jason M <jason.m.harper@intel.com>1 parent 084aa5c commit 12abe5a
2 files changed
+44
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | 232 | | |
236 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
237 | 246 | | |
238 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
239 | 251 | | |
240 | 252 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 253 | | |
245 | 254 | | |
246 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | | - | |
849 | | - | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
850 | 876 | | |
851 | 877 | | |
852 | 878 | | |
| |||
883 | 909 | | |
884 | 910 | | |
885 | 911 | | |
886 | | - | |
| 912 | + | |
887 | 913 | | |
888 | 914 | | |
889 | 915 | | |
| |||
0 commit comments