net/mlx5: make shared action list thread safe
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index ac7a026..be21a9a 100644 (file)
@@ -912,6 +912,7 @@ struct mlx5_priv {
        uint8_t fdb_def_rule; /* Whether fdb jump to table 1 is configured. */
        struct mlx5_mp_id mp_id; /* ID of a multi-process process */
        LIST_HEAD(fdir, mlx5_fdir_flow) fdir_flows; /* fdir flows. */
+       rte_spinlock_t shared_act_sl; /* Shared actions spinlock. */
        LIST_HEAD(shared_action, rte_flow_shared_action) shared_actions;
        /* shared actions */
 };