Skip to content

Commit bc5a07e

Browse files
kmaincentkuba-moo
authored andcommitted
net: net_tstamp: Add unspec field to hwtstamp_source enumeration
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 2dd3560 commit bc5a07e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/net_tstamp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
SOF_TIMESTAMPING_RAW_HARDWARE)
1515

1616
enum hwtstamp_source {
17+
HWTSTAMP_SOURCE_UNSPEC,
1718
HWTSTAMP_SOURCE_NETDEV,
1819
HWTSTAMP_SOURCE_PHYLIB,
1920
};

0 commit comments

Comments
 (0)