summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5.h
diff options
context:
space:
mode:
authorOri Kam <orika@mellanox.com>2019-04-18 13:16:05 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-04-19 14:51:55 +0200
commitc269b51778a7ab4664e3e22fe5ee4d1bb2c24bca (patch)
tree3f2336a07c8191c7dd3b8afa29911fd5411704f3 /drivers/net/mlx5/mlx5.h
parentc14995c557551ab89572ce4b3839f311d784f654 (diff)
downloaddpdk-c269b51778a7ab4664e3e22fe5ee4d1bb2c24bca.zip
dpdk-c269b51778a7ab4664e3e22fe5ee4d1bb2c24bca.tar.gz
dpdk-c269b51778a7ab4664e3e22fe5ee4d1bb2c24bca.tar.xz
net/mlx5: add E-Switch port id action to Direct Verbs
This commits adds matching on source port, using DV API. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/mlx5.h
index d771edd..97f4c8d 100644
--- a/drivers/net/mlx5/mlx5.h
+++ b/drivers/net/mlx5/mlx5.h
@@ -292,6 +292,8 @@ struct mlx5_ibv_shared {
LIST_HEAD(modify_cmd, mlx5_flow_dv_modify_hdr_resource) modify_cmds;
LIST_HEAD(tag, mlx5_flow_dv_tag_resource) tags;
LIST_HEAD(jump, mlx5_flow_dv_jump_tbl_resource) jump_tbl;
+ LIST_HEAD(port_id_action_list, mlx5_flow_dv_port_id_action_resource)
+ port_id_action_list; /* List of port ID actions. */
/* Shared interrupt handler section. */
pthread_mutex_t intr_mutex; /* Interrupt config mutex. */
uint32_t intr_cnt; /* Interrupt handler reference counter. */