cirros-dev / cirros

116 stars 33 forks source link

add module for PCI Express Intel network card #84

Closed hrw closed 2 years ago

hrw commented 2 years ago

On x86_64/q35 or aarch64 (or other PCI Express based platform) we can get PCIe version of Intel card.

e1000 is for PCI card e1000e is for PCI Express card

Probably closes #60

hrw commented 2 years ago

We can merge it also to 0.5 later.

hrw commented 2 years ago

Works in qemu with added e1000e device:

[    2.217050] e1000e: Intel(R) PRO/1000 Network Driver
[    2.217087] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.219915] ACPI: \_SB_.GSIG: Enabled at IRQ 22
[    2.221180] e1000e 0000:00:02.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    2.271237] e1000e 0000:00:02.0 0000:00:02.0 (uninitialized): registered PHC clock
[    2.329213] e1000e 0000:00:02.0 eth0: (PCI Express:2.5GT/s:Width x1) 52:54:00:12:34:57
[    2.329297] e1000e 0000:00:02.0 eth0: Intel(R) PRO/1000 Network Connection
[    2.329563] e1000e 0000:00:02.0 eth0: MAC: 3, PHY: 8, PBA No: 000000-000
smoser commented 2 years ago

this looks fine.