aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-11-08 15:06:16 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-08 17:22:23 -0800
commit5a541f6d00c6d8aace789dfaa468443bd0edf564 (patch)
tree7c48cd6be56b7195f48b4c1679607d6a0d22e119 /drivers/s390/net/qeth_core.h
parents390/qeth: utilize virtual MAC for Layer2 OSD devices (diff)
downloadlinux-dev-5a541f6d00c6d8aace789dfaa468443bd0edf564.tar.xz
linux-dev-5a541f6d00c6d8aace789dfaa468443bd0edf564.zip
s390/qeth: handle af_iucv skbs in qeth_l3_fill_header()
Filling the HW header from one single function will make it easier to rip out all the duplicated transmit code in qeth_l3_xmit(). On top, this saves one conditional branch in the TSO path. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 99af1a0a3314..d50d91219cf3 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -314,7 +314,7 @@ struct qeth_hdr_layer3 {
__u16 frame_offset;
union {
/* TX: */
- u8 ipv6_addr[16];
+ struct in6_addr ipv6_addr;
struct ipv4 {
u8 res[12];
u32 addr;