diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2009-11-24 21:51:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 11:33:58 +0300 |
commit | cfb3f91af49dff9b50de6929dc4de06100c4cfa8 (patch) | |
tree | fe3147cc153957299c0151b8c957014190b6685a /drivers/char/nwbutton.c | |
parent | 429d33ace5ce6122817f8abe9d170eaa55dc3af9 (diff) | |
download | linux-cfb3f91af49dff9b50de6929dc4de06100c4cfa8.tar.xz |
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>
Diffstat (limited to 'drivers/char/nwbutton.c')
0 files changed, 0 insertions, 0 deletions