mlxsw: spectrum_acl: Put vchunk migrate start/end code into separate functions
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Feb 2019 06:59:24 +0000 (06:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:11 +0000 (21:44 -0800)
commit844f01da9301a71fbed1e768837f4a1a6aa60529
treecf800567708ed6200f2952a823881313b4be2211
parent220f4fba3d64b484840d451cd1367de03dbb836e
mlxsw: spectrum_acl: Put vchunk migrate start/end code into separate functions

In preparations of interrupt/continue of rehash work, put the code that
is done at the beginning/end of vchunk migrate function into separate
functions.

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