Skip to content
  • Eilon Greenstein's avatar
    bnx2x: Using singlethread work queue · 1cf167f2
    Eilon Greenstein authored
    
    
    Since slow-path events, including link update, are handled in
    work-queue, a race condition was introduced in the self-test that
    sometimes caused the link status to fail: the self-test was running
    under RTNL lock, and if the link-watch was scheduled it stoped the
    shared work-queue (waiting for the RTNL lock) and so the link update
    event was not handled until the self-test ended (releasing the RTNL
    lock) with failure (since the link status was not updated)
    
    Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1cf167f2