aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2022-02-03 11:09:19 -0600
committerDavid S. Miller <[email protected]>2022-02-04 10:16:07 +0000
commitb4061c136b56b9cc2688e83293e0ea7b9605d992 (patch)
treec717c2cc85445108e19732ca0cb3489ca3525725 /lib/mpi/mpi-bit.c
parenta9bec7ae70c16f003d6138617c8bd305de3b230e (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-bit.c')
0 files changed, 0 insertions, 0 deletions