# Re: \[PATCH net-next v6 12/16\] net: Replace hwtstamp\_source by timestamping layer

- From: Jakub Kicinski \<kuba@kernel.org\>
- Date: 2023-10-21 01:47:19 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/10/2375958
- Thread: https://ratatoskr.run/netdev/2023/10/2374080/t.md

```text
On Thu, 19 Oct 2023 16:29:27 +0200 Kory Maincent wrote:
> Replace hwtstamp_source which is only used by the kernel_hwtstamp_config
> structure by the more widely use timestamp_layer structure. This is done
> to prepare the support of selectable timestamping source.
> 
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>

Temporarily breaks the build :(

net/core/dev_ioctl.c:335:44: error: use of undeclared identifier 'NET_TIMESTAMPING'; did you mean 'NO_TIMESTAMPING'?
        cfg->source = phy_ts ? PHY_TIMESTAMPING : NET_TIMESTAMPING;
                                                  ^~~~~~~~~~~~~~~~
                                                  NO_TIMESTAMPING
include/uapi/linux/net_tstamp.h:18:2: note: 'NO_TIMESTAMPING' declared here
        NO_TIMESTAMPING,
        ^
-- 
pw-bot: cr
```
