aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-02-03 11:09:19 -0600
committerDavid S. Miller <davem@davemloft.net>2022-02-04 10:16:07 +0000
commitb4061c136b56b9cc2688e83293e0ea7b9605d992 (patch)
treec717c2cc85445108e19732ca0cb3489ca3525725 /net/sched/cls_api.c
parentnet: ipa: kill replenish_saved (diff)
downloadlinux-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