diff options
author | 2022-02-03 11:09:19 -0600 | |
---|---|---|
committer | 2022-02-04 10:16:07 +0000 | |
commit | b4061c136b56b9cc2688e83293e0ea7b9605d992 (patch) | |
tree | c717c2cc85445108e19732ca0cb3489ca3525725 /net/sched/cls_api.c | |
parent | net: ipa: kill replenish_saved (diff) | |
download | linux-rng-b4061c136b56b9cc2688e83293e0ea7b9605d992.tar.xz linux-rng-b4061c136b56b9cc2688e83293e0ea7b9605d992.zip |
net: ipa: allocate transaction before pages when replenishing
A transaction failure only occurs if no more transactions are
available for an endpoint. It's a very cheap test.
When replenishing an RX endpoint buffer, there's no point in
allocating pages if transactions are exhausted. So don't bother
doing so unless the transaction allocation succeeds.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions