summaryrefslogtreecommitdiffstats
path: root/drivers/ps3
diff options
context:
space:
mode:
authorJulian Wiedmann2017-08-18 10:19:10 +0200
committerDavid S. Miller2017-08-18 19:21:30 +0200
commit0d6f02d37531ff6fad15c211162f3974fadc9ede (patch)
tree3d24d85688c7492f4c6f383a388c8df5db1838db /drivers/ps3
parents390/qeth: unify code to build header elements (diff)
downloadkernel-qcow2-linux-0d6f02d37531ff6fad15c211162f3974fadc9ede.tar.gz
kernel-qcow2-linux-0d6f02d37531ff6fad15c211162f3974fadc9ede.tar.xz
kernel-qcow2-linux-0d6f02d37531ff6fad15c211162f3974fadc9ede.zip
s390/qeth: use skb_cow_head() for L2 OSA xmit
Taking a full copy via skb_realloc_headroom() on every xmit is overkill and wastes CPU time; all we actually need is to push on the qeth_hdr. So rework the L2 OSA TX path to avoid the copy. Minor complications arise because struct qeth_hdr must not cross a page boundary. So add a new helper qeth_push_hdr() that catches this, and falls back to the hdr cache that we already use for IQDs. This change uncovered that qeth's TX completion takes rather long. Now that we no longer free the original skb straight away and thus call skb->destructor later than before, throughput regresses significantly. For now, restore old behaviour by adding an explicit skb_orphan(), and a big TODO to improve the TX completion time. Tested-by: Nils Hoppmann <niho@de.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/ps3')
0 files changed, 0 insertions, 0 deletions