greybus: loopback: add commentary to sysfs variables
Add some missing comments. Add a TODO to look at doing iteration_count with KOBJ_CHANGE event instead of having user-space poll the value reported in iteration_count to determine when a test set is complete. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Patrick Titiano <ptitiano@baylibre.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
00af6583d1
commit
e140c75ed9
@ -137,8 +137,11 @@ gb_loopback_stats_attrs(latency);
|
||||
gb_loopback_stats_attrs(frequency);
|
||||
/* Quantity of data sent and received on this cport */
|
||||
gb_loopback_stats_attrs(throughput);
|
||||
/* Number of errors encountered during loop */
|
||||
gb_loopback_ro_attr(error, d);
|
||||
/* The current index of the for (i = 0; i < iteration_max; i++) loop */
|
||||
gb_loopback_ro_attr(iteration_count, u);
|
||||
/* TODO iteration_count might be better with the KOBJ_CHANGE event */
|
||||
|
||||
/*
|
||||
* Type of loopback message to send based on protocol type definitions
|
||||
|
Reference in New Issue
Block a user