]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix poll loop for FDIRCTRL.INIT_DONE bit
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 20 Sep 2012 03:33:51 +0000 (03:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Oct 2012 15:36:11 +0000 (08:36 -0700)
commit3dc2029034bd1c6a35b254734c4dca714c4f018b
tree201448432ed7a0be732a14f755439b6400e85559
parent25ac1c6980a8ec5dc828e559ba251cc8af05ae4d
ixgbe: fix poll loop for FDIRCTRL.INIT_DONE bit

The loop in ixgbe_reinit_fdir_tables_82599() only polls for up to 100us
resulting in failures to update the FDIR filter table at 1Gbps and 10Gbps
when under load.

The poll times for FDIRCTRL.INIT_DONE are 55us, 550us and 5.5ms for 10Gbps,
1Gbps and 100Mbps respectively.

This patch sets the wait time to be the same as in ixgbe_fdir_enable_82599()

Reported-by: Bhushan <shashi-sm@users.sf.net>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c