path: root/drivers/net/ethernet/intel/igb/e1000_regs.h
diff options
authorCarolyn Wyborny <carolyn.wyborny@intel.com>2014-07-09 04:55:45 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-07-24 03:00:37 -0700
commit1516f0a6492a3d1bd9fbebeac331950986ec9a9b (patch)
tree358c2635502a5721cd44bb7e8c6a7df9c0b0475b /drivers/net/ethernet/intel/igb/e1000_regs.h
parentixgbe: don't check minimum link when direct assigned to virtual machine (diff)
igb: Add message when malformed packets detected by hw
This patch adds a check and prints the error cause register value when the hardware detects a malformed packet. This is a very unlikely scenario but has been seen occasionally, so printing the message to assist the user. Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_regs.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_regs.h b/drivers/net/ethernet/intel/igb/e1000_regs.h
index f5ba4e4eafb9..6f0490d0e981 100644
--- a/drivers/net/ethernet/intel/igb/e1000_regs.h
+++ b/drivers/net/ethernet/intel/igb/e1000_regs.h
@@ -355,6 +355,7 @@
#define E1000_UTA 0x0A000 /* Unicast Table Array - RW */
#define E1000_IOVTCL 0x05BBC /* IOV Control Register */
#define E1000_TXSWC 0x05ACC /* Tx Switch Control */
+#define E1000_LVMMC 0x03548 /* Last VM Misbehavior cause */
/* These act per VF so an array friendly macro is used */
#define E1000_P2VMAILBOX(_n) (0x00C00 + (4 * (_n)))
#define E1000_VMBMEM(_n) (0x00800 + (64 * (_n)))