igbvf: avoid reset storms due to mailbox issues
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 12 Dec 2009 06:58:14 +0000 (22:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2009 06:58:14 +0000 (22:58 -0800)
commit7227909340477c1e5225bb2df76cdcc95b5e1da1
tree694e3ecd90b3bf9de6324a581ba4115d701095ee
parentfef45f4ce221fc110f70716a00f40be697c5b254
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>
drivers/net/igbvf/igbvf.h
drivers/net/igbvf/netdev.c