]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Remember where to continue rehash migration
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Feb 2019 06:59:26 +0000 (06:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:11 +0000 (21:44 -0800)
commit76131404827931b55cd16f71723a57b09ccf977d
tree65498ccaacdd85d3929886dbed380a858b13381d
parent452d7ca3c02673d8d2da2ba9ad6935e7438d9169
mlxsw: spectrum_acl: Remember where to continue rehash migration

Store pointer to vchunk where the migration was interrupted, as well as
ventry pointer to start from and to stop at (during rollback). This
saved pointers need to be forgotten in case of ventries list or vchunk
list changes, which is done by couple of "changed" helpers.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c