From: Emil Tantilov Date: Thu, 20 Sep 2012 03:33:51 +0000 (+0000) Subject: ixgbe: fix poll loop for FDIRCTRL.INIT_DONE bit X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~11^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a97df0bfaa8c0c1cd057cb8f1030a71cb4d8832;p=pandora-kernel.git 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 Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed