net/mlx5: support flow action search in a list
authorMoti Haimovsky <motih@mellanox.com>
Mon, 9 Sep 2019 15:56:43 +0000 (18:56 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Sep 2019 08:19:41 +0000 (10:19 +0200)
commite4fcdcd6f72cb5e28c62fbb2b0fb98723d1d80d3
tree07a00ab8caa41fd60e55c4b2d941d9b51e4ee2c7
parent7fd9ffe9508cd2bb50f0dab489ee37e1c180b555
net/mlx5: support flow action search in a list

This commit adds a helper routine that supports searching for a
specific action in a list of actions.

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h