diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2018-09-17 17:36:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-17 09:10:25 -0700 |
commit | e517b649b3c311a8a828b4ee3353bc713e0d5ef0 (patch) | |
tree | 68a3c6a104268cac56c02df996bdcdc239f754d0 /drivers/s390/net/qeth_l2_main.c | |
parent | s390/qeth: check size of required HW header cache object (diff) | |
download | linux-dev-e517b649b3c311a8a828b4ee3353bc713e0d5ef0.tar.xz linux-dev-e517b649b3c311a8a828b4ee3353bc713e0d5ef0.zip |
s390/qeth: prepare for copy-free TSO transmission
Add all the necessary TSO plumbing to the copy-less transmit path.
This includes calculating the right length of required protocol headers,
and always building a separate buffer element for the TSO headers.
A follow-up patch will then switch TSO traffic over to this 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_l2_main.c')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index 87cb71d5dae8..24b531ca2827 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -199,7 +199,6 @@ static void qeth_l2_fill_header(struct qeth_card *card, struct qeth_hdr *hdr, { struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb_mac_header(skb); - memset(hdr, 0, sizeof(struct qeth_hdr)); hdr->hdr.l2.id = QETH_HEADER_TYPE_LAYER2; hdr->hdr.l2.pkt_length = data_len; |