• Denis Bolotin's avatar
    qed: Fix missing DORQ attentions · d4476b8a
    Denis Bolotin authored
    When the DORQ (doorbell block) is overflowed, all PFs get attentions at the
    same time. If one PF finished handling the attention before another PF even
    started, the second PF might miss the DORQ's attention bit and not handle
    the attention at all.
    If the DORQ attention is missed and the issue is not resolved, another
    attention will not be sent, therefore each attention is treated as a
    potential DORQ attention.
    As a result, the attention callback is called more frequently so the debug
    print was moved to reduce its quantity.
    The number of periodic doorbell recovery handler schedules was reduced
    because it was the previous way to mitigating the missed attention issue.
    Signed-off-by: default avatarDenis Bolotin <dbolotin@marvell.com>
    Signed-off-by: default avatarMichal Kalderon <mkalderon@marvell.com>
    Signed-off-by: default avatarAriel Elior <aelior@marvell.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d4476b8a
qed_main.c 66 KB