summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/intel.h
diff options
context:
space:
mode:
authorMichael Brown2015-04-21 17:43:30 +0200
committerMichael Brown2015-04-21 17:52:33 +0200
commit8958f62a1c85ff6b449a685a729b61b9ea69f50a (patch)
tree93c2af638cb0dbe5d2f33a1d7b4f0e14be9b6785 /src/drivers/net/intel.h
parent[intel] Report any unexpected interrupt causes (diff)
downloadipxe-8958f62a1c85ff6b449a685a729b61b9ea69f50a.tar.gz
ipxe-8958f62a1c85ff6b449a685a729b61b9ea69f50a.tar.xz
ipxe-8958f62a1c85ff6b449a685a729b61b9ea69f50a.zip
[intel] Force RX polling on VMware emulated 82545em
The emulated Intel 82545em in some versions of VMware (observed with ESXi v5.1) seems to sometimes fail to set the RXT0 bit in the interrupt cause register (ICR), causing iPXE to stop receiving packets. Work around this problem (for the 82545em only) by always polling the receive queue regardless of the state of the ICR. Reported-by: Slava Bendersky <volga629@networklab.ca> Tested-by: Slava Bendersky <volga629@networklab.ca> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/intel.h')
-rw-r--r--src/drivers/net/intel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/net/intel.h b/src/drivers/net/intel.h
index 5482fb16..c868167b 100644
--- a/src/drivers/net/intel.h
+++ b/src/drivers/net/intel.h
@@ -233,6 +233,8 @@ struct intel_nic {
unsigned int port;
/** Flags */
unsigned int flags;
+ /** Forced interrupts */
+ unsigned int force_icr;
/** EEPROM */
struct nvs_device eeprom;
@@ -253,6 +255,8 @@ struct intel_nic {
enum intel_flags {
/** PBS/PBA errata workaround required */
INTEL_PBS_ERRATA = 0x0001,
+ /** VMware missing interrupt workaround required */
+ INTEL_VMWARE = 0x0002,
};
extern int intel_create_ring ( struct intel_nic *intel,