Searched hist:"415 f44e43282a16ec0808c7ccfd401762e587437" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/rxrpc/ |
H A D | call_event.c | diff 415f44e43282a16ec0808c7ccfd401762e587437 Fri Nov 24 04:18:42 CST 2017 David Howells <dhowells@redhat.com> rxrpc: Add keepalive for a call
We need to transmit a packet every so often to act as a keepalive for the peer (which has a timeout from the last time it received a packet) and also to prevent any intervening firewalls from closing the route.
Do this by resetting a timer every time we transmit a packet. If the timer ever expires, we transmit a PING ACK packet and thereby also elicit a PING RESPONSE ACK from the other side - which prevents our last-rx timeout from expiring.
The timer is set to 1/6 of the last-rx timeout so that we can detect the other side going away if it misses 6 replies in a row.
This is particularly necessary for servers where the processing of the service function may take a significant amount of time.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | output.c | diff 415f44e43282a16ec0808c7ccfd401762e587437 Fri Nov 24 04:18:42 CST 2017 David Howells <dhowells@redhat.com> rxrpc: Add keepalive for a call
We need to transmit a packet every so often to act as a keepalive for the peer (which has a timeout from the last time it received a packet) and also to prevent any intervening firewalls from closing the route.
Do this by resetting a timer every time we transmit a packet. If the timer ever expires, we transmit a PING ACK packet and thereby also elicit a PING RESPONSE ACK from the other side - which prevents our last-rx timeout from expiring.
The timer is set to 1/6 of the last-rx timeout so that we can detect the other side going away if it misses 6 replies in a row.
This is particularly necessary for servers where the processing of the service function may take a significant amount of time.
Signed-off-by: David Howells <dhowells@redhat.com>
|
H A D | ar-internal.h | diff 415f44e43282a16ec0808c7ccfd401762e587437 Fri Nov 24 04:18:42 CST 2017 David Howells <dhowells@redhat.com> rxrpc: Add keepalive for a call
We need to transmit a packet every so often to act as a keepalive for the peer (which has a timeout from the last time it received a packet) and also to prevent any intervening firewalls from closing the route.
Do this by resetting a timer every time we transmit a packet. If the timer ever expires, we transmit a PING ACK packet and thereby also elicit a PING RESPONSE ACK from the other side - which prevents our last-rx timeout from expiring.
The timer is set to 1/6 of the last-rx timeout so that we can detect the other side going away if it misses 6 replies in a row.
This is particularly necessary for servers where the processing of the service function may take a significant amount of time.
Signed-off-by: David Howells <dhowells@redhat.com>
|
/openbmc/linux/include/trace/events/ |
H A D | rxrpc.h | diff 415f44e43282a16ec0808c7ccfd401762e587437 Fri Nov 24 04:18:42 CST 2017 David Howells <dhowells@redhat.com> rxrpc: Add keepalive for a call
We need to transmit a packet every so often to act as a keepalive for the peer (which has a timeout from the last time it received a packet) and also to prevent any intervening firewalls from closing the route.
Do this by resetting a timer every time we transmit a packet. If the timer ever expires, we transmit a PING ACK packet and thereby also elicit a PING RESPONSE ACK from the other side - which prevents our last-rx timeout from expiring.
The timer is set to 1/6 of the last-rx timeout so that we can detect the other side going away if it misses 6 replies in a row.
This is particularly necessary for servers where the processing of the service function may take a significant amount of time.
Signed-off-by: David Howells <dhowells@redhat.com>
|