summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorMoti Haimovsky <motih@mellanox.com>2019-09-09 18:56:45 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2019-09-20 10:19:41 +0200
commitb41e47da259290084965c1f5b9f1012c809e9444 (patch)
treee4d2e2bb120e9fd3e754da6c8f81a3c0f2dd1b50 /drivers/net/mlx5/mlx5.h
parent400d985eb586aae5ef009431cd251bd3d5c42ce2 (diff)
downloaddpdk-b41e47da259290084965c1f5b9f1012c809e9444.zip
dpdk-b41e47da259290084965c1f5b9f1012c809e9444.tar.gz
dpdk-b41e47da259290084965c1f5b9f1012c809e9444.tar.xz
net/mlx5: support pop flow action on VLAN header
This commit adds support for RTE_FLOW_ACTION_TYPE_OF_POP_VLAN via direct verbs flow rules. Signed-off-by: Moti Haimovsky <motih@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5.h')
-rw-r--r--drivers/net/mlx5/mlx5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 09ca4b1..a18f588 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -570,6 +570,8 @@ struct mlx5_ibv_shared {
struct mlx5_flow_tbl_resource tx_tbl[MLX5_MAX_TABLES];
/* TX Direct Rules tables. */
void *esw_drop_action; /* Pointer to DR E-Switch drop action. */
+ void *pop_vlan_action; /* Pointer to DR pop VLAN action. */
+ /* TX Direct Rules tables/ */
LIST_HEAD(matchers, mlx5_flow_dv_matcher) matchers;
LIST_HEAD(encap_decap, mlx5_flow_dv_encap_decap_resource) encaps_decaps;
LIST_HEAD(modify_cmd, mlx5_flow_dv_modify_hdr_resource) modify_cmds;