]> 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)
commit4547f94d01d112dc60850d6f0d626bdeb5545f4d
tree76c6e5ce40ea90bfc1b447a08edda14295cc7f6b
parent39bf4fd1952db1a690ab9e1c4bc81b2219704aca
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