Skip to content
  • Eilon Greenstein's avatar
    bnx2x: Rx work check · 2772f903
    Eilon Greenstein authored
    
    
    The has Rx work check was wrong: when the FW was at the end of the page,
    the driver was already at the beginning of the next page. Since the
    check only validated that both driver and FW are pointing to the same
    place, it concluded that there is still work to be done. This caused
    some serious issues including long latency results on ping-pong test and
    lockups while unloading the driver in that condition.
    
    Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2772f903