iavf: wait longer for close to complete
On some hardware/driver/architecture combinations, it may take longer than 200msec for all close operations to be completed, causing a spurious error message to be logged. Increase the timeout value to 500msec to avoid this erroneous error. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
168d91cf2a
commit
88ec7308ea
@ -3021,7 +3021,7 @@ static int iavf_close(struct net_device *netdev)
|
||||
|
||||
status = wait_event_timeout(adapter->down_waitqueue,
|
||||
adapter->state == __IAVF_DOWN,
|
||||
msecs_to_jiffies(200));
|
||||
msecs_to_jiffies(500));
|
||||
if (!status)
|
||||
netdev_warn(netdev, "Device resources not yet released\n");
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user