Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ixgbe: fix documentation

The MTU values in the documentation do not match the source.
The source has frame limit of IXGBE_MAX_JUMBO_FRAME_SIZE (9728)
which is MTU of 9710 because of the accounting for Ethernet header
and CRC.

Also, don't refer to the obsolete ifconfig command.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

authored by

Stephen Hemminger and committed by
Jeff Kirsher
d7018be0 c0a34ebd

+7 -7
+7 -7
Documentation/networking/ixgbe.txt
··· 70 70 82599-based adapters support all passive and active limiting direct attach 71 71 cables that comply with SFF-8431 v4.1 and SFF-8472 v10.4 specifications. 72 72 73 - Laser turns off for SFP+ when ifconfig down 73 + Laser turns off for SFP+ when device is down 74 74 ------------------------------------------- 75 - "ifconfig down" turns off the laser for 82599-based SFP+ fiber adapters. 76 - "ifconfig up" turns on the laser. 75 + "ip link set down" turns off the laser for 82599-based SFP+ fiber adapters. 76 + "ip link set up" turns on the laser. 77 77 78 78 79 79 82598-BASED ADAPTERS ··· 213 213 ------------ 214 214 The driver supports Jumbo Frames for all adapters. Jumbo Frames support is 215 215 enabled by changing the MTU to a value larger than the default of 1500. 216 - The maximum value for the MTU is 16110. Use the ifconfig command to 216 + The maximum value for the MTU is 16110. Use the ip command to 217 217 increase the MTU size. For example: 218 218 219 - ifconfig ethx mtu 9000 up 219 + ip link set dev ethx mtu 9000 220 220 221 - The maximum MTU setting for Jumbo Frames is 16110. This value coincides 222 - with the maximum Jumbo Frames size of 16128. 221 + The maximum MTU setting for Jumbo Frames is 9710. This value coincides 222 + with the maximum Jumbo Frames size of 9728. 223 223 224 224 Generic Receive Offload, aka GRO 225 225 --------------------------------