]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit761eb986ef4cb5a0f72b99026115a245a784581f
tree13efb5242c30296aa6e4622e70213236ccc11755
parentdf112c758ebc128c899738e1e11aea82ca1ce4a9
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