diff options
| author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-01-14 10:57:00 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-01-15 05:36:41 +0300 |
| commit | 5fdeb0d372ab33b4175043a2a4a1730239a217f1 (patch) | |
| tree | 585b1c80d72a7f6d7ff55158fe511914669990f1 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | cb6530b99fafea6c0636c4640bd21301d12cdbc9 (diff) | |
| download | linux-5fdeb0d372ab33b4175043a2a4a1730239a217f1.tar.xz | |
net: qrtr: Implement outgoing flow control
In order to prevent overconsumption of resources on the remote side QRTR
implements a flow control mechanism.
The mechanism works by the sender keeping track of the number of
outstanding unconfirmed messages that has been transmitted to a
particular node/port pair.
Upon count reaching a low watermark (L) the confirm_rx bit is set in the
outgoing message and when the count reaching a high watermark (H)
transmission will be blocked upon the reception of a resume_tx message
from the remote, that resets the counter to 0.
This guarantees that there will be at most 2H - L messages in flight.
Values chosen for L and H are 5 and 10 respectively.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
