linux_dsm_epyc7002/drivers/net/ethernet/intel
Mitch A Williams 0e90b49ca4 igbvf: fix divide by zero
Using ethtool -C ethX rx-usecs 0 crashes with a divide by zero.
Refactor this function to fix this issue and make it more clear
what the intent of each conditional is. Add comment regarding
using a setting of zero.

CC: stable <stable@vger.kernel.org> [3.3+]
CC: David Ahern <daahern@cisco.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-30 17:40:45 -07:00
..
e1000 e1000: look into the page instead of skb->data for e1000_tbi_adjust_stats() 2012-06-02 00:04:19 -07:00
e1000e e1000e: test for valid check_reset_block function pointer 2012-06-05 20:47:50 -07:00
igb igb: Fix incorrect RAR address entries for i210/i211 device. 2012-06-20 00:50:54 -07:00
igbvf igbvf: fix divide by zero 2012-06-30 17:40:45 -07:00
ixgb intel: make wired ethernet driver message level consistent (rev2) 2012-03-27 23:29:22 -07:00
ixgbe ixgbe: Do not pad FCoE frames as this can cause issues with FCoE DDP 2012-06-26 16:44:34 -07:00
ixgbevf ixgbevf: Update version string 2012-05-03 02:38:38 -07:00
e100.c e100: enable transmit time stamping. 2012-04-14 02:02:41 -07:00
Kconfig Kconfig: Fix Kconfig for Intel ixgbe and igb PTP support. 2012-06-20 00:52:54 -07:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00