i40e: Fix a bug where Rx would stop after some time
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Sat, 13 Sep 2014 07:40:45 +0000 (07:40 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Oct 2014 03:38:03 +0000 (20:38 -0700)
commitcafa2ee6fbb1bbc2fecdeef990858d56646fc1bd
treec945add7a44976dd39d5ce6898a5e49798326b2c
parentf98a20068dfcc16d1292d3e4d0d690e123da1538
i40e: Fix a bug where Rx would stop after some time

Move the setting of flow control because this should be done at a pf level not
a vsi level. Also add a sleep and restart an to fix a bug where Rx would stop
after some stress.

Change-ID: I9a93d8c2ff27c39339eb00bc4ec1225e43900be0
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c