From: Shannon Nelson Date: Tue, 24 Nov 2009 18:51:06 +0000 (+0000) Subject: ixgbe: handle parameters for tx and rx EITR, no div0 X-Git-Tag: v2.6.33-rc1~388^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb3f91af49dff9b50de6929dc4de06100c4cfa8;p=pandora-kernel.git ixgbe: handle parameters for tx and rx EITR, no div0 The driver was doing a divide by zero when adjusting tx-usecs. This patch removes the divide by zero code and changes the logic slightly to ignore tx-usecs in the case of shared TxRx vectors. Cc: Jesse Brandeburg Signed-off-by: Shannon Nelson Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed