diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-04-23 15:28:49 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-04-23 15:28:49 +0200 |
commit | 3006fab58f7dd70078ffa92e542691b4f8f94abb (patch) | |
tree | 44b8cb75eba581c87925f2b3a8fbd0ffa5a01b11 /ring.h | |
parent | 3e8055a48274a4c9d7ddac4f52565267ef97ed85 (diff) |
ring: tstamp: no need for tx ts
Set TX timestamping to HWTSTAMP_TX_OFF. We do not use it, therefore
do not waist time keeping track of it.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ring.h')
-rw-r--r-- | ring.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ static inline int set_sockopt_hwtimestamp(int sock, const char *dev) return -1; memset(&hwconfig, 0, sizeof(hwconfig)); - hwconfig.tx_type = HWTSTAMP_TX_ON; + hwconfig.tx_type = HWTSTAMP_TX_OFF; hwconfig.rx_filter = HWTSTAMP_FILTER_ALL; memset(&ifr, 0, sizeof(ifr)); |