Skip to content

net/gve: add hardware timestamping support

Mark Blasko dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/gve: add thread safety to admin queue.mailmap drivers/net/gve/base/gve_adminq.c drivers/net/gve/gve_ethdev.h+57 -130 replies
2/6net/gve: add device option support for HW timestampsdrivers/net/gve/base/gve_adminq.c drivers/net/gve/base/gve_adminq.h drivers/net/gve/gve_ethdev.h+47 -60 replies
3/6net/gve: add AdminQ command for NIC timestampsdrivers/net/gve/base/gve_adminq.c drivers/net/gve/base/gve_adminq.h drivers/net/gve/gve_ethdev.h+39 -00 replies
4/6net/gve: add periodic NIC clock synchronizationdrivers/net/gve/gve_ethdev.c drivers/net/gve/gve_ethdev.h+113 -00 replies
5/6net/gve: support read clock ethdev opdrivers/net/gve/gve_ethdev.c+30 -00 replies
6/6net/gve: reconstruct HW timestamps from DQOdoc/guides/nics/features/gve.ini doc/guides/nics/gve.rst doc/guides/rel_notes/release_26_07.rst +4 more+92 -30 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJoshua WashingtonJasper Tran O'Leary
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] net/gve: add hardware timestamping support

This patch series introduces support for GVE hardware timestamping on DQO queues. To support concurrent access, a mutex lock is introduced to protect admin queue operations. A mechanism is then added to periodically synchronize the NIC clock via AdminQ, and support is introduced for the read_clock ethdev operation. Finally, the RX datapath is updated to reconstruct full 64-bit timestamps from the 32-bit values in DQO descriptors.

Mark Blasko (6):
net/gve: add thread safety to admin queue net/gve: add device option support for HW timestamps net/gve: add AdminQ command for NIC timestamps net/gve: add periodic NIC clock synchronization net/gve: support read clock ethdev op net/gve: reconstruct HW timestamps from DQO

 .mailmap                               |   1 +
 doc/guides/nics/features/gve.ini       |   1 +
 doc/guides/nics/gve.rst                |  18 +++
 doc/guides/rel_notes/release_26_07.rst |   3 +
 drivers/net/gve/base/gve_adminq.c      | 127 +++++++++++++++++----
 drivers/net/gve/base/gve_adminq.h      |  29 +++++
 drivers/net/gve/base/gve_desc_dqo.h    |   8 +-
 drivers/net/gve/gve_ethdev.c           | 148 ++++++++++++++++++++++++-
 drivers/net/gve/gve_ethdev.h           |  39 +++++++
 drivers/net/gve/gve_rx_dqo.c           |  26 +++++
 10 files changed, 378 insertions(+), 22 deletions(-)
Signature · 1 line
2.54.0.563.g4f69b47b94-goog