diff options
author | Vasundhara Volam <vasundhara.volam@emulex.com> | 2012-08-28 20:37:42 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-30 13:27:05 -0400 |
commit | 8a046d3bfd5126b724a5352a757310229d4d3ff3 (patch) | |
tree | 41ed97c628210e788f1918a7d0fb132873c5bbfa /drivers/net/ethernet/emulex | |
parent | 7c5a524221dc3cf599a6aa4773eb0c1e2ca38adb (diff) | |
download | linux-stable-8a046d3bfd5126b724a5352a757310229d4d3ff3.tar.gz linux-stable-8a046d3bfd5126b724a5352a757310229d4d3ff3.tar.bz2 linux-stable-8a046d3bfd5126b724a5352a757310229d4d3ff3.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index def2f6688964..1494f2fc5b95 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -2645,8 +2645,8 @@ static int be_vf_setup(struct be_adapter *adapter) } for_all_vfs(adapter, vf_cfg, vf) { - status = be_cmd_link_status_query(adapter, NULL, &lnk_speed, - NULL, vf + 1); + lnk_speed = 1000; + status = be_cmd_set_qos(adapter, lnk_speed, vf + 1); if (status) goto err; vf_cfg->tx_rate = lnk_speed * 10; |