]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net_tstamp: define new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 29 Dec 2021 08:09:37 +0000 (16:09 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Dec 2021 20:31:36 +0000 (12:31 -0800)
commit1bb412d46ca9df90a3fe4b704f5385f03621455d
treebf369c64e7e5087f60e7311de1d9310f8123132a
parent9ed319e411915e882bb4ed99be3ae78667a70022
net_tstamp: define new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX

As we defined the new hwtstamp_config flag HWTSTAMP_FLAG_BONDED_PHC_INDEX
as enum, it's not easy for userspace program to check if the flag is
supported when build.

Let's define the new flag so user space could build it on old kernel with
ifdef check.

Fixes: 9c9211a3fc7a ("net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/uapi/linux/net_tstamp.h