]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bnx2x: Use correct fastpath version for VFs.
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 4 Dec 2014 10:52:06 +0000 (12:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 19:29:10 +0000 (14:29 -0500)
commit02dc4025a088ea7ff53fcb35ba9e0f295078a4a0
tree7e80c38e46064c840883a5d1e7176756954b3ebb
parent36c71a735ac2c7046ab1c234c734b2dd9035ad4f
bnx2x: Use correct fastpath version for VFs.

Our FW can support several fastpath HSI [for backward compatibility] but up
until now VFs were always configured to use latest fastpath HSI [although VF
driver might be older and use an older fastpath HSI].

For linux drivers, the differences are insignificant since driver never
utilized features that were overridden by the HSI change. But for VMs running
other operating systems this might be a problem.
In addition, eventually FW might change fastpath HSI in such a manner that
backward compatibility WILL break unless configured with proper version.

This patch fixes the issue for other operating system VMs, as well as lays
the ground work for forward compatibility in regard to the fastpath HSI.

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h