be2net: fix FW default for VF tx-rate
BE3 FW initializes VF tx-rate to 100Mbps. Fix this to 10Gbps. Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7c5a524221
commit
8a046d3bfd
@ -2645,8 +2645,8 @@ static int be_vf_setup(struct be_adapter *adapter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for_all_vfs(adapter, vf_cfg, vf) {
|
for_all_vfs(adapter, vf_cfg, vf) {
|
||||||
status = be_cmd_link_status_query(adapter, NULL, &lnk_speed,
|
lnk_speed = 1000;
|
||||||
NULL, vf + 1);
|
status = be_cmd_set_qos(adapter, lnk_speed, vf + 1);
|
||||||
if (status)
|
if (status)
|
||||||
goto err;
|
goto err;
|
||||||
vf_cfg->tx_rate = lnk_speed * 10;
|
vf_cfg->tx_rate = lnk_speed * 10;
|
||||||
|
Loading…
Reference in New Issue
Block a user