summaryrefslogtreecommitdiff
path: root/net/mctp/device.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2022-02-04 10:16:09 +0000
committerDavid S. Miller <davem@davemloft.net>2022-02-04 10:16:09 +0000
commitc531adaf884d313df2729ca94228317a52e46b83 (patch)
tree3eb002149563610279593eaa4d64865348471cea /net/mctp/device.c
parentb93235e68921b9acd38ee309953a3a9808105289 (diff)
parent9654d8c462ce24fc39bbecccc4c9b972f5c1b5f5 (diff)
Merge branch 'ipa-RX-replenish'
Alex Elder says: ==================== net: ipa: improve RX buffer replenishing This series revises the algorithm used for replenishing receive buffers on RX endpoints. Currently there are two atomic variables that track how many receive buffers can be sent to the hardware. The new algorithm obviates the need for those, by just assuming we always want to provide the hardware with buffers until it can hold no more. The first patch eliminates an atomic variable that's not required. The next moves some code into the main replenish function's caller, making one of the called function's arguments unnecessary. The next six refactor things a bit more, adding a new helper function that allows us to eliminate an additional atomic variable. And the final two implement two more minor improvements. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mctp/device.c')
0 files changed, 0 insertions, 0 deletions