[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 7 Nov 2021 15:44:52 +0200
From: Ido Schimmel <idosch@...sch.org>
To: Maciej Machnikowski <maciej.machnikowski@...el.com>
Cc: netdev@...r.kernel.org, intel-wired-lan@...ts.osuosl.org,
richardcochran@...il.com, abyagowi@...com,
anthony.l.nguyen@...el.com, davem@...emloft.net, kuba@...nel.org,
linux-kselftest@...r.kernel.org, mkubecek@...e.cz,
saeed@...nel.org, michael.chan@...adcom.com
Subject: Re: [PATCH v2 net-next 2/6] rtnetlink: Add new RTM_GETEECSTATE
message to get SyncE status
On Fri, Nov 05, 2021 at 09:53:27PM +0100, Maciej Machnikowski wrote:
> +/* SyncE section */
> +
> +enum if_eec_state {
> + IF_EEC_STATE_INVALID = 0, /* state is not valid */
> + IF_EEC_STATE_FREERUN, /* clock is free-running */
> + IF_EEC_STATE_LOCKED, /* clock is locked to the reference,
> + * but the holdover memory is not valid
> + */
> + IF_EEC_STATE_LOCKED_HO_ACQ, /* clock is locked to the reference
> + * and holdover memory is valid
> + */
> + IF_EEC_STATE_HOLDOVER, /* clock is in holdover mode */
> +};
> +
> +#define EEC_SRC_PORT (1 << 0) /* recovered clock from the port is
> + * currently the source for the EEC
> + */
Where is this used?
Note that the merge window is open and that net-next is closed:
http://vger.kernel.org/~davem/net-next.html
> +
> +struct if_eec_state_msg {
> + __u32 ifindex;
> +};
> +
> +enum {
> + IFLA_EEC_UNSPEC,
> + IFLA_EEC_STATE,
> + IFLA_EEC_SRC_IDX,
> + __IFLA_EEC_MAX,
> +};
> +
> +#define IFLA_EEC_MAX (__IFLA_EEC_MAX - 1)
Powered by blists - more mailing lists