]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Add HW timesptamp support for RX
authorHariprasad Shenai <hariprasad@chelsio.com>
Mon, 28 Sep 2015 04:56:53 +0000 (10:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:35:29 +0000 (22:35 -0700)
commit595e3001c234a01327eacc54391764a5fb01cbc0
tree443ef8667e7121d13c84afbef7ac10284167b241
parent8f88be83d7aa8a44f86ccb3078e4bce2cf609df5
cxgb4: Add HW timesptamp support for RX

Adds support for ethtool get time stamp ioctl, which is used by
tcpdump to get the supported time stamp types

eg: tcpdump -i eth5 -J
Time stamp types for eth5 (use option -j to set):
  host (Host)
  adapter_unsynced (Adapter, not synced with system time)

Adds support for adapter unsynced mode, by adding SIOCSHWTSTAMP support
in driver.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.h