summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-04-23 15:28:49 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-04-23 15:28:49 +0200
commit3006fab58f7dd70078ffa92e542691b4f8f94abb (patch)
tree44b8cb75eba581c87925f2b3a8fbd0ffa5a01b11
parent3e8055a48274a4c9d7ddac4f52565267ef97ed85 (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>
-rw-r--r--ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring.h b/ring.h
index 3306ba1..e74661c 100644
--- a/ring.h
+++ b/ring.h
@@ -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));