net/mlx5e: Extract code that queues neigh update work into function
authorVlad Buslov <vladbu@mellanox.com>
Wed, 13 Jun 2018 11:49:46 +0000 (14:49 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 21 Aug 2019 22:55:16 +0000 (15:55 -0700)
commit93415e45d30cbcb24ea0e45d2efd0a3511866f26
tree41c7c1fac5f27375bb6489a61ff3f2aed68ca651
parent2b9b5e74507fe8e6146b048c0dadbe2fe7b298e5
net/mlx5e: Extract code that queues neigh update work into function

As a preparation for following refactoring that removes rtnl lock
dependency from neigh hash entry handlers, extract code that enqueues neigh
update work into standalone function. This commit doesn't change
functionality.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c