Message ID | 20240709-feature_ptp_netnext-v17-5-b5317f50df2a@bootlin.com (mailing list archive) |
---|---|
State | Accepted |
Commit | bc5a07ed15a3d30df3e8af2ef6bb0472f1d337f9 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: Make timestamping selectable | expand |
On 7/9/2024 6:53 AM, Kory Maincent wrote: > Prepare for future support of saving hwtstamp source in PTP xarray by > introducing HWTSTAMP_SOURCE_UNSPEC to hwtstamp_source enum, setting it > to 0 to match old behavior of no source defined. > > Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> > --- > Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> > Change in v8: > - New patch > --- > include/linux/net_tstamp.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/net_tstamp.h b/include/linux/net_tstamp.h > index 3799c79b6c83..662074b08c94 100644 > --- a/include/linux/net_tstamp.h > +++ b/include/linux/net_tstamp.h > @@ -14,6 +14,7 @@ > SOF_TIMESTAMPING_RAW_HARDWARE) > > enum hwtstamp_source { > + HWTSTAMP_SOURCE_UNSPEC, > HWTSTAMP_SOURCE_NETDEV, > HWTSTAMP_SOURCE_PHYLIB, > }; >
diff --git a/include/linux/net_tstamp.h b/include/linux/net_tstamp.h index 3799c79b6c83..662074b08c94 100644 --- a/include/linux/net_tstamp.h +++ b/include/linux/net_tstamp.h @@ -14,6 +14,7 @@ SOF_TIMESTAMPING_RAW_HARDWARE) enum hwtstamp_source { + HWTSTAMP_SOURCE_UNSPEC, HWTSTAMP_SOURCE_NETDEV, HWTSTAMP_SOURCE_PHYLIB, };
Prepare for future support of saving hwtstamp source in PTP xarray by introducing HWTSTAMP_SOURCE_UNSPEC to hwtstamp_source enum, setting it to 0 to match old behavior of no source defined. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> --- Change in v8: - New patch --- include/linux/net_tstamp.h | 1 + 1 file changed, 1 insertion(+)