Thread (25 messages) 25 messages, 5 authors, 2022-03-26

Re: [PATCH net-next v1 1/6] ptp: Add cycles support for virtual clocks

From: Richard Cochran <richardcochran@gmail.com>
Date: 2022-03-24 13:43:45

On Tue, Mar 22, 2022 at 10:07:17PM +0100, Gerhard Engleder wrote:
quoted hunk ↗ jump to hunk
diff --git a/drivers/ptp/ptp_private.h b/drivers/ptp/ptp_private.h
index dba6be477067..ae66376def84 100644
--- a/drivers/ptp/ptp_private.h
+++ b/drivers/ptp/ptp_private.h
@@ -52,6 +52,7 @@ struct ptp_clock {
 	int *vclock_index;
 	struct mutex n_vclocks_mux; /* protect concurrent n_vclocks access */
 	bool is_virtual_clock;
+	bool cycles;
Can we please have something more descriptive?

How about a predicate like is_xyz or has_xyz or xyz_available ?

Thanks,
Richard


 };
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help