[Intel-wired-lan] [PATCH next-queue v2 1/2] igc: Enable internal i225 PPS
dvorax.fuxbrumer at linux.intel.com
Sun Apr 11 07:15:44 UTC 2021
On 19/02/2021 03:31, Ederson de Souza wrote:
> The i225 device can produce one interrupt on the full second, much
> like i210 - from where this patch is inspired.
> This patch sets up the full second interruption on the i225 and when
> receiving it, it sends a PPS event to PTP (Precision Time Protocol)
> kernel subsystem.
> The PTP subsystem exposes the PPS events via ioctl and sysfs, and one
> can use the `testptp` tool (tools/testing/selftests/ptp) to check that
> the events are being generated.
> Signed-off-by: Ederson de Souza <ederson.desouza at intel.com>
> drivers/net/ethernet/intel/igc/igc.h | 2 ++
> drivers/net/ethernet/intel/igc/igc_main.c | 8 +++++++
> drivers/net/ethernet/intel/igc/igc_ptp.c | 28 ++++++++++++++++++++++-
> 3 files changed, 37 insertions(+), 1 deletion(-)
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer at linux.intel.com>
More information about the Intel-wired-lan