aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBjorn Andersson <[email protected]>2020-01-13 23:57:00 -0800
committerDavid S. Miller <[email protected]>2020-01-14 18:36:41 -0800
commit5fdeb0d372ab33b4175043a2a4a1730239a217f1 (patch)
tree585b1c80d72a7f6d7ff55158fe511914669990f1 /tools/perf/scripts/python
parentcb6530b99fafea6c0636c4640bd21301d12cdbc9 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions