aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
diff options
context:
space:
mode:
authorYuval Mintz <Yuval.Mintz@qlogic.com>2014-12-04 05:52:06 -0500
committerDavid S. Miller <davem@davemloft.net>2014-12-09 14:29:10 -0500
commit02dc4025a088ea7ff53fcb35ba9e0f295078a4a0 (patch)
tree7e80c38e46064c840883a5d1e7176756954b3ebb /drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
parent36c71a735ac2c7046ab1c234c734b2dd9035ad4f (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
index 7bc2924a7e24..07cdf9bbffef 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
@@ -4336,7 +4336,7 @@ static void bnx2x_q_fill_init_general_data(struct bnx2x *bp,
4336 test_bit(BNX2X_Q_FLG_FCOE, flags) ? 4336 test_bit(BNX2X_Q_FLG_FCOE, flags) ?
4337 LLFC_TRAFFIC_TYPE_FCOE : LLFC_TRAFFIC_TYPE_NW; 4337 LLFC_TRAFFIC_TYPE_FCOE : LLFC_TRAFFIC_TYPE_NW;
4338 4338
4339 gen_data->fp_hsi_ver = ETH_FP_HSI_VERSION; 4339 gen_data->fp_hsi_ver = params->fp_hsi;
4340 4340
4341 DP(BNX2X_MSG_SP, "flags: active %d, cos %d, stats en %d\n", 4341 DP(BNX2X_MSG_SP, "flags: active %d, cos %d, stats en %d\n",
4342 gen_data->activate_flg, gen_data->cos, gen_data->statistics_en_flg); 4342 gen_data->activate_flg, gen_data->cos, gen_data->statistics_en_flg);