]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ice/base/ice_flex_type.h
net/ice/base: protect profile map list with locks
[dpdk.git] / drivers / net / ice / base / ice_flex_type.h
index 98c7637a5254d2e6f7cadd590da3b5098d92aa07..7133983ffcfde00d4d6ccb500c67268a60743318 100644 (file)
@@ -503,10 +503,11 @@ struct ice_es {
        u16 count;
        u16 fvw;
        u16 *ref_count;
-       u8 *written;
-       u8 reverse; /* set to true to reverse FV order */
        struct LIST_HEAD_TYPE prof_map;
        struct ice_fv_word *t;
+       struct ice_lock prof_map_lock;  /* protect access to profiles list */
+       u8 *written;
+       u8 reverse; /* set to true to reverse FV order */
 };
 
 /* PTYPE Group management */