aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorYevgeny Kliteynik <kliteyn@nvidia.com>2025-08-17 23:23:20 +0300
committerJakub Kicinski <kuba@kernel.org>2025-08-19 19:35:13 -0700
commit1a72298d27ce4d41b3fd405f6921e8711815767a (patch)
tree5e7cecc8ac03c4700e5f00f0b9bf6a62576ca96c /rust/pin-init/internal/src
parentnet/mlx5: HWS, fix complex rules rehash error flow (diff)
downloadwireguard-linux-1a72298d27ce4d41b3fd405f6921e8711815767a.tar.xz
wireguard-linux-1a72298d27ce4d41b3fd405f6921e8711815767a.zip
net/mlx5: HWS, prevent rehash from filling up the queues
While moving the rules during rehash, CQ is not drained. The flush and drain happens only when all the rules of a certain queue have been moved. This behaviour can lead to accumulating large quantity of rules that haven't got their completion yet, and eventually will fill up the queue and will cause the rehash to fail. Fix this problem by requiring drain once the number of outstanding completions reaches a certain threshold. Fixes: ef94799a8741 ("net/mlx5: HWS, rework rehash loop") Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Reviewed-by: Vlad Dogaru <vdogaru@nvidia.com> Signed-off-by: Mark Bloch <mbloch@nvidia.com> Link: https://patch.msgid.link/20250817202323.308604-5-mbloch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions