linux/drivers/net/ethernet/intel/ice
Jacob Keller 03cb4473be ice: add low level PTP clock access functions
Add the ice_ptp_hw.c file and some associated definitions to the ice
driver folder. This file contains basic low level definitions for
functions that interact with the device hardware.

For now, only E810-based devices are supported. The ice hardware
supports 2 major variants which have different PHYs with different
procedures necessary for interacting with the device clock.

Because the device captures timestamps in the PHY, each PHY has its own
internal timer. The timers are synchronized in hardware by first
preparing the source timer and the PHY timer shadow registers, and then
issuing a synchronization command. This ensures that both the source
timer and PHY timers are programmed simultaneously. The timers
themselves are all driven from the same oscillator source.

The functions in ice_ptp_hw.c abstract over the differences between how
the PHYs in E810 are programmed vs how the PHYs in E822 devices are
programmed. This series only implements E810 support, but E822 support
will be added in a future change.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-06-11 07:38:00 -07:00
..
ice.h ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_adminq_cmd.h ice: add support for set/get of driver-stored firmware parameters 2021-06-11 07:38:00 -07:00
ice_arfs.c ice: Delay netdev registration 2021-03-31 14:21:27 -07:00
ice_arfs.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_base.c ice: Refactor ice_setup_rx_ctx 2021-06-07 08:58:56 -07:00
ice_base.h ice: Refactor ice_setup_rx_ctx 2021-06-07 08:58:56 -07:00
ice_common.c ice: add support for set/get of driver-stored firmware parameters 2021-06-11 07:38:00 -07:00
ice_common.h ice: add support for set/get of driver-stored firmware parameters 2021-06-11 07:38:00 -07:00
ice_controlq.c ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_controlq.h ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_dcb.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-17 11:08:07 -07:00
ice_dcb.h
ice_dcb_lib.c ice: Implement iidc operations 2021-05-28 20:11:13 -07:00
ice_dcb_lib.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_dcb_nl.c ice: remove DCBNL_DEVRESET bit from PF state 2021-03-29 10:37:19 -07:00
ice_dcb_nl.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_devids.h
ice_devlink.c ice: wait for reset before reporting devlink info 2021-06-07 08:59:01 -07:00
ice_devlink.h
ice_ethtool.c Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2021-06-07 13:24:50 -07:00
ice_ethtool_fdir.c ice: Drop leading underscores in enum ice_pf_state 2021-04-14 17:00:05 -07:00
ice_fdir.c
ice_fdir.h
ice_flex_pipe.c ice: suppress false cppcheck issues 2021-04-14 17:12:17 -07:00
ice_flex_pipe.h
ice_flex_type.h ice: cleanup style issues 2021-03-31 14:21:28 -07:00
ice_flow.c ice: Support RSS configure removal for AVF 2021-04-22 09:26:22 -07:00
ice_flow.h ice: Support RSS configure removal for AVF 2021-04-22 09:26:22 -07:00
ice_fltr.c
ice_fltr.h
ice_fw_update.c ice: add error message when pldmfw_flash_image fails 2021-06-07 08:59:01 -07:00
ice_fw_update.h
ice_hw_autogen.h ice: add low level PTP clock access functions 2021-06-11 07:38:00 -07:00
ice_idc.c ice: Register auxiliary device to provide RDMA 2021-05-28 20:11:13 -07:00
ice_idc_int.h ice: Implement iidc operations 2021-05-28 20:11:13 -07:00
ice_lag.c ice: Initialize RDMA support 2021-05-28 20:11:13 -07:00
ice_lag.h
ice_lan_tx_rx.h
ice_lib.c ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_lib.h ice: wait for reset before reporting devlink info 2021-06-07 08:59:01 -07:00
ice_main.c ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_nvm.c ice: suppress false cppcheck issues 2021-04-14 17:12:17 -07:00
ice_nvm.h
ice_osdep.h
ice_protocol_type.h
ice_ptp_hw.c ice: add low level PTP clock access functions 2021-06-11 07:38:00 -07:00
ice_ptp_hw.h ice: add low level PTP clock access functions 2021-06-11 07:38:00 -07:00
ice_sbq_cmd.h ice: add support for sideband messages 2021-06-11 07:38:00 -07:00
ice_sched.c ice: Implement iidc operations 2021-05-28 20:11:13 -07:00
ice_sched.h
ice_sriov.c ice: warn about potentially malicious VFs 2021-04-22 09:26:22 -07:00
ice_sriov.h ice: warn about potentially malicious VFs 2021-04-22 09:26:22 -07:00
ice_status.h
ice_switch.c ice: Implement iidc operations 2021-05-28 20:11:13 -07:00
ice_switch.h ice: Implement iidc operations 2021-05-28 20:11:13 -07:00
ice_txrx.c ice: Allow all LLDP packets from PF to Tx 2021-06-04 07:37:48 -07:00
ice_txrx.h ice: refactor ITR data structures 2021-04-14 17:00:06 -07:00
ice_txrx_lib.c
ice_txrx_lib.h
ice_type.h ice: add low level PTP clock access functions 2021-06-11 07:38:00 -07:00
ice_virtchnl_allowlist.c ice: Enable RSS configure for AVF 2021-04-22 09:26:22 -07:00
ice_virtchnl_allowlist.h ice: Allow ignoring opcodes on specific VF 2021-04-22 09:26:22 -07:00
ice_virtchnl_fdir.c ice: Drop leading underscores in enum ice_pf_state 2021-04-14 17:00:05 -07:00
ice_virtchnl_fdir.h
ice_virtchnl_pf.c Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2021-06-07 13:24:50 -07:00
ice_virtchnl_pf.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
ice_xsk.c Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2021-06-07 13:24:50 -07:00
ice_xsk.h ice: use static inline for dummy functions 2021-06-07 08:59:01 -07:00
Makefile ice: Initialize RDMA support 2021-05-28 20:11:13 -07:00