Commit 888f43e5 authored by Manish Rangankar's avatar Manish Rangankar Committed by David S. Miller

cnic: Set fp_hsi_ver as part of CLIENT_SETUP ramrod

The new FW has added extra validation for HSI version to
make FW backward compatible with older VF drivers. Hence
set fp_hsi_ver to Fast Path HSI version of the FW in use.
Signed-off-by: default avatarManish Rangankar <mrangankar@marvell.com>
Signed-off-by: default avatarNilesh Javali <njavali@marvell.com>
Signed-off-by: default avatarManish Chopra <manishc@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dc5a3d79
...@@ -5208,6 +5208,8 @@ static void cnic_init_rings(struct cnic_dev *dev) ...@@ -5208,6 +5208,8 @@ static void cnic_init_rings(struct cnic_dev *dev)
cnic_init_bnx2x_tx_ring(dev, data); cnic_init_bnx2x_tx_ring(dev, data);
cnic_init_bnx2x_rx_ring(dev, data); cnic_init_bnx2x_rx_ring(dev, data);
data->general.fp_hsi_ver = ETH_FP_HSI_VERSION;
l5_data.phy_address.lo = udev->l2_buf_map & 0xffffffff; l5_data.phy_address.lo = udev->l2_buf_map & 0xffffffff;
l5_data.phy_address.hi = (u64) udev->l2_buf_map >> 32; l5_data.phy_address.hi = (u64) udev->l2_buf_map >> 32;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment