OpenCloudOS-Kernel/drivers/net/ethernet/broadcom/bnx2x
Yuval Mintz ebf457f931 bnx2x: Fail probe of VFs using an old incompatible driver
There are linux distributions where the inbox bnx2x driver contains SRIOV
support but doesn't contain the changes introduced in b9871bcf
"bnx2x: VF RSS support - PF side".

A VF in a VM running that distribution over a new hypervisor will access
incorrect addresses when trying to transmit packets, causing an attention
in the hypervisor and making that VF inactive until FLRed.

The driver in the VM has to ne upgraded [no real way to overcome this], but
due to the HW attention currently arising upgrading the driver in the VM
would not suffice [since the VF needs also be FLRed if the previous driver
was already loaded].

This patch causes the PF to fail the acquire message from a VF running an
old problematic driver; The VF will then gracefully fail it's probe preventing
the HW attention [and allow clean upgrade of driver in VM].

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-01 15:52:30 -07:00
..
Makefile bnx2x: Segregate SR-IOV code 2013-01-07 19:49:14 -08:00
bnx2x.h bnx2x: enlarge minimal alignemnt of data offset 2014-07-01 15:52:29 -07:00
bnx2x_cmn.c bnx2x: VF can report link speed 2014-07-01 15:52:29 -07:00
bnx2x_cmn.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_dcb.c bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_dcb.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_dump.h bnx2x: Revise comments and alignment 2013-06-02 21:36:47 -07:00
bnx2x_ethtool.c bnx2x: VF can report link speed 2014-07-01 15:52:29 -07:00
bnx2x_fw_defs.h bnx2x: Remove unnecessary internal mem config 2014-02-12 19:15:41 -05:00
bnx2x_fw_file_hdr.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_hsi.h bnx2x: Support mng. request for driver version 2014-03-25 21:07:03 -04:00
bnx2x_init.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_init_ops.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_link.c bnx2x: Fix 1G-baseT link 2014-06-12 10:28:18 -07:00
bnx2x_link.h bnx2x: namespace and dead code cleanups 2014-01-13 11:59:47 -08:00
bnx2x_main.c bnx2x: VF can report link speed 2014-07-01 15:52:29 -07:00
bnx2x_mfw_req.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_reg.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-01-06 17:37:45 -05:00
bnx2x_sp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
bnx2x_sp.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_sriov.c bnx2x: VF can report link speed 2014-07-01 15:52:29 -07:00
bnx2x_sriov.h bnx2x: VF can report link speed 2014-07-01 15:52:29 -07:00
bnx2x_stats.c bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_stats.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_vfpf.c bnx2x: Fail probe of VFs using an old incompatible driver 2014-07-01 15:52:30 -07:00
bnx2x_vfpf.h bnx2x: Fail probe of VFs using an old incompatible driver 2014-07-01 15:52:30 -07:00