]> 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)
commitc3dc41a6dbe0f177cd70d7bbfe38d18da50a2fc2
treed6b651a6b975fc7469390ad074d19db72b2efedc
parent1581886da9c58406b3ef5103ab83f97f13428553
parentae8adfe2b42b895e25e863ccf216e2359e1e30a8
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>