[dpdk-dev] [PATCH v4 1/2] net/mlx5: link status update separation

Ferruh Yigit ferruh.yigit at intel.com
Mon Sep 11 18:12:16 CEST 2017


On 9/6/2017 4:14 PM, Adrien Mazarguil wrote:
> On Wed, Sep 06, 2017 at 06:03:57PM +0300, Matan Azrad wrote:
>> Link status is sometimes inconsistent during a LSC event.
>> When it occurs, the PMD refrains from immediately notifying
>> the application; instead, an alarm is scheduled to check
>> link status later and notify the application once it has settled.
>>
>> In the previous code the alarm callback calls to the interrupt
>> handler for link status recheck and may cause to unnecessary
>> interrupt events check.
>>
>> This patch separates the link status update and the interrupt event
>> handler to avoid the unnecessary check and arranges the interrupt
>> handler for more interrupt supports in the future.
>>
>> Comment was added in the new function to explain the inconsistent
>> link status reason.
>>
>> Signed-off-by: Matan Azrad <matan at mellanox.com>
> 
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

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


More information about the dev mailing list