]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mlxsw-rehash-split'
authorDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:11 +0000 (21:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:11 +0000 (21:44 -0800)
commitdd064f0747ee33cee759c1b4087b5947d7cd0765
treed6b651a6b975fc7469390ad074d19db72b2efedc
parentfed8b4fac460b12a3d4a7a14694d3916d9d1ed07
parentd3646a560b1b715664f75f4ff58ee6aaece7c14e
Merge branch 'mlxsw-rehash-split'

Ido Schimmel says:

====================
mlxsw: spectrum_acl: Split rehash work into chunks

Jiri says:

When rehash happens on a vregion with many rules and they are being
migrated, it might take significant time to finish the job. During that
time vregion->lock is taken which prevents rules from being
added/deleted from the vregion.

Aim of this patchset is to allow to interrupt migration of rules during
rehash, reschedule and give chance for rules to be added/deleted. Then
continue migration in another execution of scheduled work.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>