linux/drivers/net/ethernet/intel/igbvf
Jarod Wilson 91c527a556 ethernet/intel: use core min/max MTU checking
e100: min_mtu 68, max_mtu 1500
- remove e100_change_mtu entirely, is identical to old eth_change_mtu,
  and no longer serves a purpose. No need to set min_mtu or max_mtu
  explicitly, as ether_setup() will already set them to 68 and 1500.

e1000: min_mtu 46, max_mtu 16110

e1000e: min_mtu 68, max_mtu varies based on adapter

fm10k: min_mtu 68, max_mtu 15342
- remove fm10k_change_mtu entirely, does nothing now

i40e: min_mtu 68, max_mtu 9706

i40evf: min_mtu 68, max_mtu 9706

igb: min_mtu 68, max_mtu 9216
- There are two different "max" frame sizes claimed and both checked in
  the driver, the larger value wasn't relevant though, so I've set max_mtu
  to the smaller of the two values here to retain identical behavior.

igbvf: min_mtu 68, max_mtu 9216
- Same issue as igb duplicated

ixgb: min_mtu 68, max_mtu 16114
- Also remove pointless old == new check, as that's done in dev_set_mtu

ixgbe: min_mtu 68, max_mtu 9710

ixgbevf: min_mtu 68, max_mtu dependent on hardware/firmware
- Some hw can only handle up to max_mtu 1504 on a vf, others 9710

CC: netdev@vger.kernel.org
CC: intel-wired-lan@lists.osuosl.org
CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-18 11:34:18 -04:00
..
Makefile igbvf: change copyright date 2012-02-03 03:07:15 -08:00
defines.h ethernet/intel: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
ethtool.c igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
igbvf.h igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
mbx.c igb/igbvf: don't give up 2016-02-15 16:17:57 -08:00
mbx.h igbvf: Fix code comments and whitespace 2015-02-23 17:11:54 -08:00
netdev.c ethernet/intel: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
regs.h igbvf: Fix code comments and whitespace 2015-02-23 17:11:54 -08:00
vf.c igbvf: use BIT() macro instead of shifts 2016-05-13 15:12:03 -07:00
vf.h igbvf: Add support for generic Tx checksums 2016-02-24 15:42:33 -08:00