]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: indicate contiguous TX buffer elements
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 6 May 2020 08:09:46 +0000 (10:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:11:26 +0000 (14:11 -0700)
commite2c087ecbb39e9388001e5891d254f742a7b797a
tree7200ae122329d79fe140d0321765613955379583
parent246b28771b620304c7b6db2707b170fdb60b3499
s390/qeth: indicate contiguous TX buffer elements

The TX path usually maps the full content of a page into a buffer
element. But there's specific skb layouts (ie. linearized TSO skbs)
where the HW header (1) requires a separate buffer element, and (2) is
page-contiguous with the packet data that's mapped into the next buffer
element.
Flag such buffer elements accordingly, so that HW can optimize its data
access for them.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c