Session

Tutorial: PTP from scratch

Instructors

Milena Olech
Maciek Machnikowski

Label

Nuts and Bolts

Session Type

Tutorial

Description

This interactive session will teach you how to create and implement a driver for a PTP Hardware Clock (PHC) and link it with a network device capable of hardware timestamping.

The presentation will provide a step-by-step guide to accomplish this task based on the implementation in the netdevsim driver. The main focus will be on exposing the clock and timestamping functionality. You will gain hands-on experience with the process and insights into enabling the PHC and implementing the PTP-related kernel APIs.

The workshop will show how to integrate the ptp_mock driver with netdevsim and create a fully functional PTP implementation from scratch.

Additionally, you will grasp how to overcome the most common PTP-related issues that may arise in everyday work with the PTP stack.