idpf: add initial PTP support
authorMilena Olech <milena.olech@intel.com>
Wed, 16 Apr 2025 12:19:02 +0000 (14:19 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 16 May 2025 16:13:02 +0000 (09:13 -0700)
commit8d5e12c5921c671767a845dd0d69e77026cd1e15
tree960621c8eebc057e9a193171be013f7783bfdf2c
parent9525a12d6b0b17ec255d24856d04342bedf1c050
idpf: add initial PTP support

PTP feature is supported if the VIRTCHNL2_CAP_PTP is negotiated during the
capabilities recognition. Initial PTP support includes PTP initialization
and registration of the clock.

Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Milena Olech <milena.olech@intel.com>
Tested-by: Mina Almasry <almasrymina@google.com>
Tested-by: Samuel Salin <Samuel.salin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/Kconfig
drivers/net/ethernet/intel/idpf/Makefile
drivers/net/ethernet/intel/idpf/idpf.h
drivers/net/ethernet/intel/idpf/idpf_main.c
drivers/net/ethernet/intel/idpf/idpf_ptp.c [new file with mode: 0644]
drivers/net/ethernet/intel/idpf/idpf_ptp.h [new file with mode: 0644]
drivers/net/ethernet/intel/idpf/idpf_virtchnl.c