diff options
| author | Paolo Abeni <[email protected]> | 2025-02-18 18:36:18 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-20 03:05:29 +0000 |
| commit | e0ca4057e0ecd4b10f27892fe6f1ac2a7fd25ab4 (patch) | |
| tree | 36219ec22b92aa151525292a16cc1ef06d4c3b3c /tools/testing/selftests/drivers/net/hw/csum.py | |
| parent | mptcp: dismiss __mptcp_rmem() (diff) | |
| download | kernel-e0ca4057e0ecd4b10f27892fe6f1ac2a7fd25ab4.tar.gz kernel-e0ca4057e0ecd4b10f27892fe6f1ac2a7fd25ab4.zip | |
mptcp: micro-optimize __mptcp_move_skb()
After the RX path refactor the mentioned function is expected to run
frequently, let's optimize it a bit.
Scan for ready subflow from the last processed one, and stop after
traversing the list once or reaching the msk memory limit - instead of
looking for dubious per-subflow conditions.
Also re-order the memory limit checks, to avoid duplicate tests.
Signed-off-by: Paolo Abeni <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://patch.msgid.link/20250218-net-next-mptcp-rx-path-refactor-v1-7-4a47d90d7998@kernel.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/csum.py')
0 files changed, 0 insertions, 0 deletions
