diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-07-19 12:43:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-21 10:12:30 -0700 |
commit | 8ce7a9e064db4a31e9d9d08300e2f3e9679eaffe (patch) | |
tree | b952632981f4ae4d1891c7b1d2873788717b77fa /drivers/s390/net/qeth_core.h | |
parent | s390/qeth: don't cache HW port number (diff) | |
download | linux-dev-8ce7a9e064db4a31e9d9d08300e2f3e9679eaffe.tar.xz linux-dev-8ce7a9e064db4a31e9d9d08300e2f3e9679eaffe.zip |
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>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 04b900c7060d..6f02a6cbe59e 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -660,8 +660,6 @@ struct qeth_card_info { int mac_bits; enum qeth_card_types type; enum qeth_link_types link_type; - int initial_mtu; - int max_mtu; int broadcast_capable; int unique_id; bool layer_enforced; |