summaryrefslogtreecommitdiff
path: root/curvetun_mgmt_servers.h
blob: 9c5cd848483d51d2f71011ffa410e7bfdd60f351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef CT_SERVMGMT_H
#define CT_SERVMGMT_H

#include <stdio.h>
#include "curve.h"

extern void parse_userfile_and_generate_serv_store_or_die(char *homedir);
extern void dump_serv_store(void);
extern void get_serv_store_entry_by_alias(char *alias, size_t len,
					  char **host, char **port, int *udp);
extern struct curve25519_proto *get_serv_store_entry_proto_inf(void);
extern unsigned char *get_serv_store_entry_auth_token(void);
extern void destroy_serv_store(void);

#endif /* CT_SERVMGMT_H */
='/cgit.cgi/linux/net-next.git/commit/?h=nds-private-remove&id=93a738894346d01687c8979bca129d7eaaf7d35f'>93a738894346d01687c8979bca129d7eaaf7d35f (patch) tree663771420ebc6e4a9a64cd973689f0b679522b8a parent8a704565ebda9603c294aacebb34e47cd9d9a3a0 (diff)
greybus: timesync: reduce initial startup time
Currently we have a long initial delay when initiating the first operation to synchronize the FrameTime. That made sense during development of the feature since we did synchronization asynchronously and wanted to give some grace time for new Interfaces to be added before initiating a new synchronization. On the PM runtime resume path though we do a synchronous restoration of FrameTime and in this case waiting for 1 second before initiating the first operation is clearly wrong. This patch reduces the initial operation time bringing the synchronous call time down by 990 milliseconds. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat
-rw-r--r--drivers/staging/greybus/timesync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/timesync.c b/drivers/staging/greybus/timesync.c