diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-02-23 19:20:18 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-03-10 15:35:38 +0800 |
commit | 5fb7d149953f469381a11e486d66dc56af2c0f21 (patch) | |
tree | 2edce2f323419178882b9bcd31f1d67851aedf09 /hw/net/e1000x_common.h | |
parent | 69ff5ef8474575556997dbe7f7f9bd28c4aee5de (diff) | |
download | qemu-5fb7d149953f469381a11e486d66dc56af2c0f21.zip qemu-5fb7d149953f469381a11e486d66dc56af2c0f21.tar.gz qemu-5fb7d149953f469381a11e486d66dc56af2c0f21.tar.bz2 |
e1000e: Implement system clock
The system clock is necessary to implement PTP features. While we are
not implementing PTP features for e1000e yet, we do have a plan to
implement them for igb, a new network device derived from e1000e,
so add system clock to the common base first.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000x_common.h')
-rw-r--r-- | hw/net/e1000x_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/net/e1000x_common.h b/hw/net/e1000x_common.h index 86a31b6..72b744b 100644 --- a/hw/net/e1000x_common.h +++ b/hw/net/e1000x_common.h @@ -213,4 +213,7 @@ typedef struct e1000x_txd_props { void e1000x_read_tx_ctx_descr(struct e1000_context_desc *d, e1000x_txd_props *props); +void e1000x_timestamp(uint32_t *mac, int64_t timadj, size_t lo, size_t hi); +void e1000x_set_timinca(uint32_t *mac, int64_t *timadj, uint32_t val); + #endif |