]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/atlantic/atl_types.h
net/bnxt: fix memory leak
[dpdk.git] / drivers / net / atlantic / atl_types.h
index 19aaf37673cd64930f252a25ca1839ca574e7d0b..c200a1fadb7951442667e392caaf05792470cc36 100644 (file)
@@ -10,6 +10,7 @@
 #include <string.h>
 #include <stdbool.h>
 #include <netinet/in.h>
+#include <pthread.h>
 
 typedef uint8_t                u8;
 typedef int8_t         s8;
@@ -137,6 +138,8 @@ struct aq_hw_s {
        u32 rpc_addr;
        u32 rpc_tid;
        struct hw_aq_atl_utils_fw_rpc rpc;
+
+       pthread_mutex_t mbox_mutex;
 };
 
 struct aq_fw_ops {