s390/qeth: support early setup for z/VM NICs
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Wed, 27 Dec 2017 16:44:31 +0000 (17:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jan 2018 18:52:23 +0000 (13:52 -0500)
commit615dff228368109ce18b628d6bd1b01ad6ef2f74
tree3637bb31e2e09e4d30ce2135c5dd6d76997e00d8
parentf22237f61d2f19760b3799ee798d7dc30cdc0785
s390/qeth: support early setup for z/VM NICs

The transport mode that a z/VM NIC is configured in, must match the
hypervisor-internal network which the NIC is coupled to.

To get this right automatically, have qeth issue a diag26c hypervisor call
that provides all sorts of information for a specific VNIC.
With z/VM update VM65918, this also includes the VNIC's required
transport mode.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c