Merge branch 'QRTR-flow-control-improvements'
authorDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 02:36:59 +0000 (18:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 02:36:59 +0000 (18:36 -0800)
commit0c73ffc7dcdc8de8110c4d7d2fae4750d750d650
treeba463e19d9889d88d6e1d454d5626a4b38188253
parent7786a1af2a6bceb07860ec720e74714004438834
parente04df98adf7d7d946aa927822ccec24680501662
Merge branch 'QRTR-flow-control-improvements'

Bjorn Andersson says:

====================
QRTR flow control improvements

In order to prevent overconsumption of resources on the remote side QRTR
implements a flow control mechanism.

Move the handling of the incoming confirm_rx to the receiving process to
ensure incoming flow is controlled. Then implement outgoing flow
control, using the recommended algorithm of counting outstanding
non-confirmed messages and blocking when hitting a limit. The last three
patches refactors the node assignment and port lookup, in order to
remove the worker in the receive path.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>