# Re: \[PATCH net-next RFC v4 2/5\] net: Expose available time stamping layers to user space.

- From: Vladimir Oltean \<vladimir.oltean@nxp.com\>
- Date: 2023-05-11 20:36:56 
- List: netdev
- Page: https://ratatoskr.run/netdev/2023/05/11260415
- Thread: https://ratatoskr.run/netdev/2023/04/11257424/t.md

```text
On Thu, Apr 06, 2023 at 06:46:46PM -0700, Jakub Kicinski wrote:
> > +/* Hardware layer of the SO_TIMESTAMPING provider */
> > +enum timestamping_layer {
> > +	SOF_MAC_TIMESTAMPING = (1<<0),
> > +	SOF_PHY_TIMESTAMPING = (1<<1),
> 
> We need a value for DMA timestamps here.

What's a DMA timestamp, technically? Is it a snapshot of the PHC's time
domain, just not at the MII pins?

Which drivers provide DMA timestamps, and how do they currently signal
that they do this? Do they do this for all packets that get timestamped,
or for "some"?
```
