• D
    bnx2x: prevent CFC attention · ffa1cb96
    Dmitry Kravkov 提交于
    During VF load, prior to sending messages on HW channel to PF the VF
    checks its bulletin board to see whether the PF indicated it has closed;
    If a closed PF is encountered, the VF skips sending the message.
    
    Due to incorrect return values, there's a possible scenario in which the VF
    finishes loading "successfully", while the PF hasn't actually fully configured
    FW/HW for the VFs supposed configuration.
    Once VF tries to send Tx packets, HW will raise an attention (and FW possibly
    will start treat the VF as malicious).
    
    The patch fails the loading process in such a scenario.
    Signed-off-by: NDmitry Kravkov <dmitry@broadcom.com>
    Signed-off-by: NYuval Mintz <yuvalmin@broadcom.com>
    Signed-off-by: NAriel Elior <ariele@broadcom.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    ffa1cb96
bnx2x_vfpf.c 56.6 KB