mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
be2net: While configuring QOS for VF, pass proper domain id
While configuring QOS for VFs, the VF number should be translated to domain number correctly. Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
58bb4bd0e0
commit
856c40125a
1 changed files with 1 additions and 1 deletions
|
@ -820,7 +820,7 @@ static int be_set_vf_tx_rate(struct net_device *netdev,
|
|||
rate = 10000;
|
||||
|
||||
adapter->vf_cfg[vf].vf_tx_rate = rate;
|
||||
status = be_cmd_set_qos(adapter, rate / 10, vf);
|
||||
status = be_cmd_set_qos(adapter, rate / 10, vf + 1);
|
||||
|
||||
if (status)
|
||||
dev_info(&adapter->pdev->dev,
|
||||
|
|
Loading…
Reference in a new issue