diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2018-05-02 16:56:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-02 13:29:12 -0400 |
commit | 877ae5be421de3173b1306113c3f88003ae798b3 (patch) | |
tree | c223eeb664b494475bbd1671c14ce060a5fffded /net/smc/smc_llc.h | |
parent | e90c1a1090cccf833080b512746f24667985ed73 (diff) | |
download | linux-877ae5be421de3173b1306113c3f88003ae798b3.tar.gz |
net/smc: periodic testlink support
Add periodic LLC testlink support to ensure the link is still active.
The interval time is initialized using the value of
sysctl_tcp_keepalive_time.
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_llc.h')
-rw-r--r-- | net/smc/smc_llc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/smc/smc_llc.h b/net/smc/smc_llc.h index e4a7d5e234d5..d6e42116485e 100644 --- a/net/smc/smc_llc.h +++ b/net/smc/smc_llc.h @@ -44,6 +44,9 @@ int smc_llc_send_delete_link(struct smc_link *link, enum smc_llc_reqresp reqresp); int smc_llc_send_test_link(struct smc_link *lnk, u8 user_data[16], enum smc_llc_reqresp reqresp); +void smc_llc_link_active(struct smc_link *link, int testlink_time); +void smc_llc_link_inactive(struct smc_link *link); +void smc_llc_link_flush(struct smc_link *link); int smc_llc_init(void) __init; #endif /* SMC_LLC_H */ |