IDPF allows to access the clock through virtchnl messages, or directly, through PCI BAR registers. Registers offsets are negotiated with the Control Plane during driver initialization process. This series add support for direct operations to modify the clock as well as to read TX timestamp
Milena Olech (2): idpf: add direct access to discipline the main timer idpf: add direct method for disciplining Tx timestamping drivers/net/ethernet/intel/idpf/idpf_dev.c | 4 +- drivers/net/ethernet/intel/idpf/idpf_ptp.c | 295 +++++++++++++++--- drivers/net/ethernet/intel/idpf/idpf_ptp.h | 103 ++++-- drivers/net/ethernet/intel/idpf/idpf_txrx.c | 85 +++-- drivers/net/ethernet/intel/idpf/idpf_txrx.h | 4 + .../net/ethernet/intel/idpf/idpf_virtchnl.c | 3 +- .../ethernet/intel/idpf/idpf_virtchnl_ptp.c | 139 ++++----- drivers/net/ethernet/intel/idpf/virtchnl2.h | 6 +- 8 files changed, 451 insertions(+), 188 deletions(-) base-commit: 1235d14de922bc4367c24553bc6b278d56dc3433 -- 2.42.0
