commit | 8ce7a9e064db4a31e9d9d08300e2f3e9679eaffe | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.ibm.com> | Thu Jul 19 12:43:53 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Jul 21 10:12:30 2018 -0700 |
tree | b952632981f4ae4d1891c7b1d2873788717b77fa | |
parent | 92d2720969bc741c8aa7269cb3561c49227cd04f [diff] |
s390/qeth: simplify max MTU handling When the MPC initialization code discovers the HW-specific max MTU, apply the resulting changes straight to the netdevice. If this is the device's first initialization, also set its MTU (HiperSockets: the max MTU; else: a layer-specific default value). Then cap the current MTU by the new max MTU. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>