]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: add SW timestamping support for IQD devices
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 18 Mar 2020 12:54:51 +0000 (13:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 23:33:35 +0000 (16:33 -0700)
commite2d6858eea3eb8cbbbed82f8624fe90b89b8e6d3
tree18d9a5c34c7161e893e18251d2dd15ed57932222
parentd0d4eb23cb4f380118e55e9568951dcf4d1141d0
s390/qeth: add SW timestamping support for IQD devices

This adds support for SOF_TIMESTAMPING_TX_SOFTWARE.
No support for non-IQD devices, since they orphan the skb in their xmit
path.

To play nice with TX bulking, set the timestamp when the buffer that
contains the skb(s) is actually flushed out to HW.

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
drivers/s390/net/qeth_ethtool.c