]> asedeno.scripts.mit.edu Git - linux.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)
commitfb7516d42478ebc8e2f00efb76ef96f7b68fd8d3
tree76c6e5ce40ea90bfc1b447a08edda14295cc7f6b
parentb8278f2c12b29b97c17cebf6b49b0f59337f1f03
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