aboutsummaryrefslogtreecommitdiff
path: root/hw/net/igb_regs.h
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-05-23 11:43:33 +0900
committerJason Wang <jasowang@redhat.com>2023-05-23 15:20:15 +0800
commit3dfc616eabc18f036511178bf7551f34abfd19cb (patch)
tree6dc189575bb3d89b3d6e976233eddabb21a510e0 /hw/net/igb_regs.h
parent3a9926d939f86243e9fff28b516411236999e3c4 (diff)
downloadqemu-3dfc616eabc18f036511178bf7551f34abfd19cb.zip
qemu-3dfc616eabc18f036511178bf7551f34abfd19cb.tar.gz
qemu-3dfc616eabc18f036511178bf7551f34abfd19cb.tar.bz2
igb: Implement Tx timestamp
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/igb_regs.h')
-rw-r--r--hw/net/igb_regs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/net/igb_regs.h b/hw/net/igb_regs.h
index 8947055..82ff195 100644
--- a/hw/net/igb_regs.h
+++ b/hw/net/igb_regs.h
@@ -322,6 +322,9 @@ union e1000_adv_rx_desc {
/* E1000_EITR_CNT_IGNR is only for 82576 and newer */
#define E1000_EITR_CNT_IGNR 0x80000000 /* Don't reset counters on write */
+#define E1000_TSYNCTXCTL_VALID 0x00000001 /* tx timestamp valid */
+#define E1000_TSYNCTXCTL_ENABLED 0x00000010 /* enable tx timestampping */
+
/* PCI Express Control */
#define E1000_GCR_CMPL_TMOUT_MASK 0x0000F000
#define E1000_GCR_CMPL_TMOUT_10ms 0x00001000