# Re: \[PATCH net-next v17 09/14\] net: netdevsim: ptp\_mock: Convert to netdev\_ptp\_clock\_register

- From: Jacob Keller \<jacob.e.keller@intel.com\>
- Date: 2024-07-17 17:23:49 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/07/2677862
- Thread: https://ratatoskr.run/netdev/2024/07/2668652/t.md

```text


On 7/9/2024 6:53 AM, Kory Maincent wrote:
> The hardware registration clock for net device is now using
> netdev_ptp_clock_register to save the net_device pointer within the PTP
> clock xarray. netdevsim is registering its ptp through the mock driver.
> It is the only driver using the mock driver to register a ptp clock.
> Convert the mock driver to the new API.
> 
> Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
> ---
> Changes in v8:
> - New patch
> ---

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
```
