OSDN Git Service

mlxsw: spectrum_acl: Push rehash start/end code into separate functions
authorJiri Pirko <jiri@mellanox.com>
Thu, 28 Feb 2019 06:59:19 +0000 (06:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Mar 2019 05:44:10 +0000 (21:44 -0800)
commit1667f7667d85e184bc731884bf9588bed89cca80
tree84c7fd8d318a5f6dcaa02ddcfd53a878d0808a27
parent559c27681058783c4c3d50ddb5ed8a64792e78ec
mlxsw: spectrum_acl: Push rehash start/end code into separate functions

In preparations for interrupt/continue of rehash work, put the code at
the beginning/end of the rehash 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