X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fhinic%2Fbase%2Fhinic_pmd_mgmt.h;h=7804708a7736641270a048b6a96318a0407f7706;hb=fc1134c79283f8a3c954c32020390a22efef95e6;hp=23951cb7ecd6ef8fc818dcca5379a3c1737cb92c;hpb=a4957d87e05a3337e76021972aed7a9debf868a3;p=dpdk.git diff --git a/drivers/net/hinic/base/hinic_pmd_mgmt.h b/drivers/net/hinic/base/hinic_pmd_mgmt.h index 23951cb7ec..7804708a77 100644 --- a/drivers/net/hinic/base/hinic_pmd_mgmt.h +++ b/drivers/net/hinic/base/hinic_pmd_mgmt.h @@ -81,10 +81,8 @@ enum comm_pf_to_mgmt_event_state { struct hinic_msg_pf_to_mgmt { struct hinic_hwdev *hwdev; - /* Async cmd can not be scheduling */ - spinlock_t async_msg_lock; - /* spinlock for sync message */ - spinlock_t sync_msg_lock; + /* mutex for sync message */ + pthread_mutex_t sync_msg_lock; void *async_msg_buf; void *sync_msg_buf;