Skip to content
  • Hadar Hen Zion's avatar
    net/mlx5e: Act on delay probe time updates · a2fa1fe5
    Hadar Hen Zion authored
    
    
    The user can change delay_first_probe_time parameter through sysctl.
    Listen to NETEVENT_DELAY_PROBE_TIME_UPDATE notifications and update the
    intervals for updating the neighbours 'used' value periodic task and
    for flow HW counters query periodic task.
    Both of the intervals will be update only in case the new delay prob
    time value is lower the current interval.
    
    Since the driver saves only one min interval value and not per device,
    the users will be able to set lower interval value for updating
    neighbour 'used' value periodic task but they won't be able to schedule
    a higher interval for this periodic task.
    The used interval for scheduling neighbour 'used' value periodic task is
    the minimal delay prob time parameter ever seen by the driver.
    
    Signed-off-by: default avatarHadar Hen Zion <hadarh@mellanox.com>
    Reviewed-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    a2fa1fe5