]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mlxsw: spectrum_acl: Don't migrate already migrated entry
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Feb 2019 06:59:17 +0000 (06:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:10 +0000 (21:44 -0800)
commit6ca219e7de9fb54b4eac9c3f14a0cdf2b39d723d
tree6e93f6a60fb6cc801bccfa0da4b80ec4f15771fd
parentf9b274ce014421899b62cb0e41e5e7b72773782b
mlxsw: spectrum_acl: Don't migrate already migrated entry

Check if the entry is already in a chunk where we want it to be. In that
case, skip migration. This is preparation for "per parts" migration
where this situation may occur.

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