diff options
author | Alex Elder <[email protected]> | 2022-02-03 11:09:19 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-02-04 10:16:07 +0000 |
commit | b4061c136b56b9cc2688e83293e0ea7b9605d992 (patch) | |
tree | c717c2cc85445108e19732ca0cb3489ca3525725 /lib/mpi/mpi-sub-ui.c | |
parent | a9bec7ae70c16f003d6138617c8bd305de3b230e (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions