aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorYevgeny Kliteynik <[email protected]>2025-08-17 20:23:20 +0000
committerJakub Kicinski <[email protected]>2025-08-20 02:35:13 +0000
commit1a72298d27ce4d41b3fd405f6921e8711815767a (patch)
tree5e7cecc8ac03c4700e5f00f0b9bf6a62576ca96c /drivers/net/ethernet/intel/igc
parentnet/mlx5: HWS, fix complex rules rehash error flow (diff)
downloadkernel-1a72298d27ce4d41b3fd405f6921e8711815767a.tar.gz
kernel-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 <[email protected]> Reviewed-by: Vlad Dogaru <[email protected]> Signed-off-by: Mark Bloch <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions