diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-05-26 11:01:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-26 22:27:32 +0300 |
commit | be7b6d64c0f2f31ea03746edaabb22f57234cb49 (patch) | |
tree | 2fdbd50347e53d46e89a591376ed887351ffd744 /drivers/net | |
parent | 61248720c4efb54e32d90cbb2a2106dcc2128b00 (diff) | |
download | linux-be7b6d64c0f2f31ea03746edaabb22f57234cb49.tar.xz |
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/net')
-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); } |