commit | cfb3f91af49dff9b50de6929dc4de06100c4cfa8 | [log] [tgz] |
---|---|---|
author | Shannon Nelson <shannon.nelson@intel.com> | Tue Nov 24 18:51:06 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 29 00:33:58 2009 -0800 |
tree | fe3147cc153957299c0151b8c957014190b6685a | |
parent | 429d33ace5ce6122817f8abe9d170eaa55dc3af9 [diff] |
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 <jesse.brandeburg@intel.com> Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>