Thread (17 messages) flat view 17 messages, 2 authors, 2020-03-27

Re: [PATCH net-next v2 12/12] ethtool: provide timestamping information with TIMESTAMP_GET request

From: Michal Kubecek <hidden>
Date: 2020-03-27 19:45:36
Also in: lkml

On Fri, Mar 27, 2020 at 11:56:13AM -0700, Richard Cochran wrote:
On Fri, Mar 27, 2020 at 03:08:17PM +0100, Michal Kubecek wrote:
quoted
+/* TIMESTAMP */
+
+enum {
+	ETHTOOL_A_TIMESTAMP_UNSPEC,
I suggest using ETHTOOL_A_TSINFO_ throughout.  After all, this API
does not provide time stamps, and we want to avoid confusion.
I'll send v3 with *_TSINFO_*, "onestep-sync" and "onestep-p2p".

Michal
quoted
+	ETHTOOL_A_TIMESTAMP_HEADER,			/* nest - _A_HEADER_* */
+	ETHTOOL_A_TIMESTAMP_TIMESTAMPING,		/* bitset */
+	ETHTOOL_A_TIMESTAMP_TX_TYPES,			/* bitset */
+	ETHTOOL_A_TIMESTAMP_RX_FILTERS,			/* bitset */
+	ETHTOOL_A_TIMESTAMP_PHC_INDEX,			/* u32 */
+
+	/* add new constants above here */
+	__ETHTOOL_A_TIMESTAMP_CNT,
+	ETHTOOL_A_TIMESTAMP_MAX = (__ETHTOOL_A_TIMESTAMP_CNT - 1)
+};
Acked-by: Richard Cochran <richardcochran@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help