net/mlx5: Refactor find_flow_rule
authorMark Bloch <markb@mellanox.com>
Fri, 16 Sep 2016 07:00:10 +0000 (07:00 +0000)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:15 +0000 (15:43 +0200)
commit814fb8754155ef9535cad4ef1ce06429fe7988c6
tree13efb5242c30296aa6e4622e70213236ccc11755
parent0501fc477c2bed1cce02acbc22d79418bfa2c8c3
net/mlx5: Refactor find_flow_rule

The way we compare between two dests will need to be used in other
places in the future, so we factor out the comparison logic
between two dests into a separate function.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c