linux/drivers/net/ethernet/intel
Christopher S Hall bbc17e883c igc: Fix PPS delta between two synchronized end-points
[ Upstream commit 5e91c72e56 ]

This patch fix the pulse per second output delta between
two synchronized end-points.

Based on Intel Discrete I225 Software User Manual Section
4.2.15 TimeSync Auxiliary Control Register, ST0[Bit 4] and
ST1[Bit 7] must be set to ensure that clock output will be
toggles based on frequency value defined. This is to ensure
that output of the PPS is aligned with the clock.

How to test:

1) Running time synchronization on both end points.
Ex: ptp4l --step_threshold=1 -m -f gPTP.cfg -i <interface name>

2) Configure PPS output using below command for both end-points
Ex: SDP0 on I225 REV4 SKU variant

./testptp -d /dev/ptp0 -L 0,2
./testptp -d /dev/ptp0 -p 1000000000

3) Measure the output using analyzer for both end-points

Fixes: 87938851b6 ("igc: enable auxiliary PHC functions for the i225")
Signed-off-by: Christopher S Hall <christopher.s.hall@intel.com>
Signed-off-by: Muhammad Husaini Zulkifli <muhammad.husaini.zulkifli@intel.com>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:58:31 +01:00
..
e1000 net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
e1000e e1000e: Fix TX dispatch condition 2022-11-30 11:26:55 -08:00
fm10k fm10k: Fix error handling in fm10k_init_module() 2022-11-23 08:36:55 -08:00
i40e i40e: Fix the inability to attach XDP program on downed interface 2022-12-31 13:32:29 +01:00
iavf iavf/iavf_main: actually log ->src mask when talking about it 2023-01-18 11:58:19 +01:00
ice ice: Add check for kzalloc 2023-01-18 11:58:27 +01:00
igb igb: Do not free q_vector unless new one was allocated 2022-12-31 13:33:01 +01:00
igbvf net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
igc igc: Fix PPS delta between two synchronized end-points 2023-01-18 11:58:31 +01:00
ixgb net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ixgbe ixgbe: fix pci device refcount leak 2023-01-18 11:58:18 +01:00
ixgbevf ixgbevf: Fix resource leak in ixgbevf_init_module() 2022-11-23 08:36:54 -08:00
e100.c e100: Fix possible use after free in e100_xmit_prepare 2022-11-23 08:38:22 -08:00
Kconfig
Makefile