net/mlx5: remove duplicated process in flow API
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Mon, 3 Apr 2017 11:20:10 +0000 (13:20 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:03:02 +0000 (19:03 +0200)
commite02fae15578365e90cf68a3f5a95ff7e0d358e5e
treed03ead7987b5211e83cf4d9998746e050262bccd
parentf279f6f2bd90d3cff1eca09cf60342ea33bb3ec6
net/mlx5: remove duplicated process in flow API

Flow validation already processes the final actions to verify if a rule can
be applied or not and the same is done during creation. As the creation
function relies on validation to generate and apply a rule, this job can be
fully handled by the validation function.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.c