net/mlx5: add Direct Verbs translate actions
authorOri Kam <orika@mellanox.com>
Mon, 24 Sep 2018 23:17:49 +0000 (23:17 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commitd02cb0691299e81108622e41c2027b77597fb04b
treebf4764a15a4d810ec212f083717ad9f9d24d540f
parentfc2c498ccb942c6a9de3f0a555250e0b09707c80
net/mlx5: add Direct Verbs translate actions

In this commit we add the translation of flow actions.
Unlike the Verbs API actions are separeted from the items and are passed
to the API in array structure.
Since the target action like RSS require the QP information those
actions are handled both in the translate action and in the apply.

Signed-off-by: Ori Kam <orika@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c