]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net_tstamp: Add TIMESTAMPING SOFTWARE and HARDWARE mask
authorKory Maincent <kory.maincent@bootlin.com>
Tue, 9 Jul 2024 13:53:33 +0000 (15:53 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jul 2024 14:11:59 +0000 (07:11 -0700)
commite50bfd6bb231a6e2b7221ad78dce294330238c76
tree26fe38f9bd209352f7125a1a2738f38401daaa9c
parent06cd3d4bb319fcf7a1e792fea120293fc8b6e7d3
net_tstamp: Add TIMESTAMPING SOFTWARE and HARDWARE mask

Timestamping software or hardware flags are often used as a group,
therefore adding these masks will ease future use.

I did not use SOF_TIMESTAMPING_SYS_HARDWARE flag as it is deprecated and
not used at all.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20240709-feature_ptp_netnext-v17-1-b5317f50df2a@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/net_tstamp.h