[for-next v2 0/4] ionic: RDMA completion timestamping support
From: Abhijit Gangurde
Date: Tue May 12 2026 - 05:30:20 EST
Hi,
This series adds RDMA completion timestamp support for ionic.
It enables PHC registration for RDMA timestamp capability, exposes a PHC
state page for safe user-space reads, maps that PHC state through RDMA
ucontext mmap, and extends the RDMA CQE format to carry completion
timestamps.
With this, user space can read completion timestamps and convert them to
wall time with low overhead.
Patches:
net: ionic: register PHC for rdma timestamping
net: ionic: Add PHC state page for user space access
RDMA/ionic: map PHC state into user space
RDMA/ionic: add completion timestamp to CQE format
Provider's PR: https://github.com/linux-rdma/rdma-core/pull/1724
v2:
- changed ionic_phc_state to ib_uverbs_phc_state and moved it under
ib_user_verbs.h
v1: https://lore.kernel.org/all/20260401102501.3395305-1-abhijit.gangurde@xxxxxxx/
Abhijit Gangurde (4):
net: ionic: register PHC for rdma timestamping
net: ionic: Add PHC state page for user space access
RDMA/ionic: map PHC state into user space
RDMA/ionic: add completion timestamp to CQE format
.../infiniband/hw/ionic/ionic_controlpath.c | 36 ++++++++++-
drivers/infiniband/hw/ionic/ionic_datapath.c | 43 ++++++-------
drivers/infiniband/hw/ionic/ionic_fw.h | 12 +++-
drivers/infiniband/hw/ionic/ionic_ibdev.h | 2 +
drivers/infiniband/hw/ionic/ionic_lif_cfg.c | 2 +
drivers/infiniband/hw/ionic/ionic_lif_cfg.h | 1 +
.../net/ethernet/pensando/ionic/ionic_if.h | 1 +
.../net/ethernet/pensando/ionic/ionic_lif.c | 5 +-
.../net/ethernet/pensando/ionic/ionic_lif.h | 3 +-
.../net/ethernet/pensando/ionic/ionic_phc.c | 62 ++++++++++++++++---
include/uapi/rdma/ib_user_verbs.h | 33 ++++++++++
include/uapi/rdma/ionic-abi.h | 1 +
12 files changed, 167 insertions(+), 34 deletions(-)
--
2.43.0