diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2013-11-17 08:59:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-18 15:45:44 -0500 |
commit | ffa1cb967f650b6ce5eace09ee9b1ae7c4015d18 (patch) | |
tree | c7954ec4b6722be387aa0a2ee59ba0210d54d8dc /lib/smp_processor_id.c | |
parent | 9dcd9acd69b1321fa008c3ce3ec299d04cd46774 (diff) | |
download | blackbird-obmc-linux-ffa1cb967f650b6ce5eace09ee9b1ae7c4015d18.tar.gz blackbird-obmc-linux-ffa1cb967f650b6ce5eace09ee9b1ae7c4015d18.zip |
bnx2x: prevent CFC attention
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: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions