mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
qede: Fix VF minimum BW setting
VF is currently ignoring the minimum provided by the API, mistakenly using the maximum for minimum as well. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
61248720c4
commit
be7b6d64c0
@ -1824,7 +1824,7 @@ static int qede_set_vf_rate(struct net_device *dev, int vfidx,
|
||||
{
|
||||
struct qede_dev *edev = netdev_priv(dev);
|
||||
|
||||
return edev->ops->iov->set_rate(edev->cdev, vfidx, max_tx_rate,
|
||||
return edev->ops->iov->set_rate(edev->cdev, vfidx, min_tx_rate,
|
||||
max_tx_rate);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user