diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-17 17:35:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 09:10:24 -0700 |
commit | fc69660bbdb225ae9f18ca2f509b1a5ac49f8fae (patch) | |
tree | 541dd93cc48ef84185208f36f50a8cb05fa71cac /drivers/s390/net/qeth_core.h | |
parent | liquidio: Add the features to show FEC settings and set FEC settings (diff) | |
download | linux-dev-fc69660bbdb225ae9f18ca2f509b1a5ac49f8fae.tar.xz linux-dev-fc69660bbdb225ae9f18ca2f509b1a5ac49f8fae.zip |
s390/qeth: move L2 xmit code to core module
We need the exact same transmit path for non-offload-eligible traffic on
L3 OSAs. So make it accessible from both sub-drivers.
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 34e0d476c5c6..2110fabdcc7a 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -1052,6 +1052,11 @@ 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 hdr_len, unsigned int proto_len, unsigned int *elements); +int qeth_xmit(struct qeth_card *card, struct sk_buff *skb, + struct qeth_qdio_out_q *queue, int ipv, int cast_type, + void (*fill_header)(struct qeth_card *card, struct qeth_hdr *hdr, + struct sk_buff *skb, int ipv, int cast_type, + unsigned int data_len)); /* exports for OSN */ int qeth_osn_assist(struct net_device *, void *, int); |