]> git.baikalelectronics.ru Git - kernel.git/commit
enic: add sw timestamp support
authorGovindarajulu Varadarajan <gvaradar@cisco.com>
Fri, 1 Dec 2017 18:21:40 +0000 (10:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Dec 2017 15:15:34 +0000 (10:15 -0500)
commit3a21ab5d4bb1926d185229a02439e918f48ffef9
tree76c6e5ce40ea90bfc1b447a08edda14295cc7f6b
parentcf75d8d986e2404c4733ff1b9ba1e6a7c4b69d1d
enic: add sw timestamp support

Add ethtool ops to advertise sw timestamping.
Call skb_tx_timestamp() just before ringing the wq doorbell.

Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_ethtool.c
drivers/net/ethernet/cisco/enic/enic_main.c