aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/s390/net/qeth_l3.h
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2017-06-06 14:33:49 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-06 13:05:01 -0400
commit79a04e40f7f0e968b485a0d0cb12dcffc7f509c6 (patch)
treee755dc7eeddca3c37d791eb71e6520515058e212 /drivers/s390/net/qeth_l3.h
parents390/qeth: silence qeth_fix_features() (diff)
downloadwireguard-linux-79a04e40f7f0e968b485a0d0cb12dcffc7f509c6.tar.xz
wireguard-linux-79a04e40f7f0e968b485a0d0cb12dcffc7f509c6.zip
s390/qeth: add support for early L3 device setup
Similar to how qeth currently does early L2 setup of OSM and OSN devices, add support for early setup of L3-only devices. This adds a qeth_l3_devtype that contains all core and l3-specific sysfs attributes, so that they can be created in one go while probing. This just adds the infrastructure, exploitation of the support happens in a subsequent patch. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Reviewed-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3.h')
-rw-r--r--drivers/s390/net/qeth_l3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_l3.h b/drivers/s390/net/qeth_l3.h
index 26f79533e62e..9b5e439f18cf 100644
--- a/drivers/s390/net/qeth_l3.h
+++ b/drivers/s390/net/qeth_l3.h
@@ -65,6 +65,7 @@ struct qeth_ipato_entry {
int mask_bits;
};
+extern const struct attribute_group *qeth_l3_attr_groups[];
void qeth_l3_ipaddr_to_string(enum qeth_prot_versions, const __u8 *, char *);
int qeth_l3_string_to_ipaddr(const char *, enum qeth_prot_versions, __u8 *);