summaryrefslogtreecommitdiffstats
path: root/drivers/net/igbvf/igbvf.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-12-12 07:58:14 +0100
committerDavid S. Miller <davem@davemloft.net>2009-12-12 07:58:14 +0100
commit7227909340477c1e5225bb2df76cdcc95b5e1da1 (patch)
tree694e3ecd90b3bf9de6324a581ba4115d701095ee /drivers/net/igbvf/igbvf.h
parentigb: fix handling of mailbox collisions between PF/VF (diff)
downloadlinux-7227909340477c1e5225bb2df76cdcc95b5e1da1.tar.xz
linux-7227909340477c1e5225bb2df76cdcc95b5e1da1.zip
igbvf: avoid reset storms due to mailbox issues
From: Alexander Duyck <alexander.h.duyck@intel.com> This change makes it so that reset/interrupt storms can be avoided when there are mailbox issues. The new behavior is to only allow the device to trigger mailbox related resets only once every 10 seconds. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igbvf/igbvf.h')
-rw-r--r--drivers/net/igbvf/igbvf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igbvf/igbvf.h b/drivers/net/igbvf/igbvf.h
index 3d1ee7a8478e..a1774b29d222 100644
--- a/drivers/net/igbvf/igbvf.h
+++ b/drivers/net/igbvf/igbvf.h
@@ -276,6 +276,7 @@ struct igbvf_adapter {
unsigned long led_status;
unsigned int flags;
+ unsigned long last_reset;
};
struct igbvf_info {