summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorJulian Wiedmann2018-07-19 12:43:57 +0200
committerDavid S. Miller2018-07-21 19:12:30 +0200
commita7c2f4a33290fbad615a0c4e977f317f37d7a057 (patch)
tree39b4ed2ec75b9c042283b1dac8df096dede4aaff /drivers/s390/net/qeth_core.h
parents390/qeth: merge linearize-check into HW header construction (diff)
downloadkernel-qcow2-linux-a7c2f4a33290fbad615a0c4e977f317f37d7a057.tar.gz
kernel-qcow2-linux-a7c2f4a33290fbad615a0c4e977f317f37d7a057.tar.xz
kernel-qcow2-linux-a7c2f4a33290fbad615a0c4e977f317f37d7a057.zip
s390/qeth: add support for constrained HW headers
Some transmit modes require that the HW header is located in the same page as the initial protocol headers in skb->data. Let callers specify the size of this contiguous header range, and enforce it when building the HW header. While at it, apply some gentle renaming to the relevant L2 code so that it matches the L3 code. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 2a5ec99643df..605ec4706773 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -1048,8 +1048,8 @@ netdev_features_t qeth_features_check(struct sk_buff *skb,
netdev_features_t features);
int qeth_vm_request_mac(struct qeth_card *card);
int qeth_add_hw_header(struct qeth_card *card, struct sk_buff *skb,
- struct qeth_hdr **hdr, unsigned int len,
- unsigned int *elements);
+ struct qeth_hdr **hdr, unsigned int hdr_len,
+ unsigned int proto_len, unsigned int *elements);
/* exports for OSN */
int qeth_osn_assist(struct net_device *, void *, int);