]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mlxsw: spectrum_acl: Remove failed_rollback dead end
authorJiri Pirko <jiri@mellanox.com>
Sun, 31 Mar 2019 06:49:40 +0000 (06:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 Mar 2019 18:01:23 +0000 (11:01 -0700)
commit7c33c72beff9f9cc76284995358b56deccded544
tree76dea21dc270b99ce0601c796e125c13a08ed382
parentf3d4ef1a533a0521c73e343f8191b23702fe8ad6
mlxsw: spectrum_acl: Remove failed_rollback dead end

Currently if a rollback ends with error, the vregion is in a zombie
state until end of the existence. Instead of that, rather try to
continue where rollback ended later on (after rehash interval).

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