[dpdk-dev] [PATCH v2 1/1] net/hinic: use mutex replace spin lock

Ferruh Yigit ferruh.yigit at intel.com
Wed Jul 10 10:06:56 CEST 2019


On 7/5/2019 7:47 AM, Ziyang Xuan wrote:
> Using spin lock to protect critical resources
> of sending mgmt messages. This will make high
> CPU usage for rte_delay_ms when sending mgmt
> messages frequently. We can use mutex to protect
> the critical resources and usleep to reduce CPU
> usage while keep functioning properly.
> 
> Signed-off-by: Ziyang Xuan <xuanziyang2 at huawei.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list