diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-05-26 10:01:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-26 21:27:32 +0200 |
commit | be7b6d64c0f2f31ea03746edaabb22f57234cb49 (patch) | |
tree | 2fdbd50347e53d46e89a591376ed887351ffd744 /drivers | |
parent | Merge branch 'mlx4-stats-fixes' (diff) | |
download | linux-be7b6d64c0f2f31ea03746edaabb22f57234cb49.tar.xz linux-be7b6d64c0f2f31ea03746edaabb22f57234cb49.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/qlogic/qede/qede_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b/drivers/net/ethernet/qlogic/qede/qede_main.c index 337e839ca586..3bb1428e81b7 100644 --- a/drivers/net/ethernet/qlogic/qede/qede_main.c +++ b/drivers/net/ethernet/qlogic/qede/qede_main.c @@ -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); } |