Skip to content
  • Yuval Mintz's avatar
    bnx2x: Delay during kdump load · 12a8541d
    Yuval Mintz authored
    
    
    In a kdump environment interfaces might be re-loaded without a proper
    unload sequence in the previous running kernel.
    bnx2x management FW and driver maintains a `pulse' that notifies the FW
    that the driver is still up and running.
    
    Driver load on the kdump kernel should be performed only after the pulse
    has been out-of-sync long enough for the management FW to identify that
    the driver has crashed, on which point it will perform some necessary
    cleanup of the HW.
    
    In today's distros kdump loading is quite fast, sometimes too fast for our
    FW to get out-of-sync. This patch delays the bnx2x's probe during kdump
    to allow a proper re-load on the kdump kernel.
    
    Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    12a8541d