[dpdk-dev] ethdev: fix link status race condition

Yaacov Hazan yaacovh at mellanox.com
Sun Jan 17 17:51:52 CET 2016


Hi,

I looked in your patch ethdev: fix link status race condition (d5790b03), and have a question.
According to your change when dev_start is called and the device supports lsc we doesn't ask the device status.
But, if the device is already up, when you start dpdk application, the application can't know that the status of the port is up since dev_start won't ask for the device status and no interrupt is trigger since no changed has been made (the device is already up).

Can you please explain the idea of this patch?

Thanks,
Yaacov.



More information about the dev mailing list