]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.h
net/mlx5: make shared action list thread safe
[dpdk.git] / drivers / net / mlx5 / mlx5.h
index ac7a026292b3d06755272788502e180975f8e22a..be21a9a57e754b1fe4c6754b84e231a5b0e15c29 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 */
 };