summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorOri Kam <orika@mellanox.com>2019-04-18 13:16:07 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-04-19 14:51:55 +0200
commit34fa7c0268e7cd831e5a3443fd2c8b8f827c193a (patch)
tree859e31979161a5b6c897de0a7f644f4cfd92e695 /drivers/net/mlx5/mlx5.h
parenta567a5b683fddb2c24b6af4c84a137437294f953 (diff)
downloaddpdk-34fa7c0268e7cd831e5a3443fd2c8b8f827c193a.zip
dpdk-34fa7c0268e7cd831e5a3443fd2c8b8f827c193a.tar.gz
dpdk-34fa7c0268e7cd831e5a3443fd2c8b8f827c193a.tar.xz
net/mlx5: add drop action to Direct Verbs E-Switch
This commit adds support for drop action when creating E-Switch flow using DV. Signed-off-by: Ori Kam <orika@mellanox.com> Acked-by: Yongseok Koh <yskoh@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5.h')
-rw-r--r--drivers/net/mlx5/mlx5.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index 97f4c8d..0a6d7f1 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -286,6 +286,7 @@ struct mlx5_ibv_shared {
/* RX Direct Rules tables. */
void *tx_ns; /* TX Direct Rules name space handle. */
struct mlx5_flow_tbl_resource tx_tbl[MLX5_MAX_TABLES];
+ void *esw_drop_action; /* Pointer to DR E-Switch drop 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;