diff options
author | Manish Chopra <manish.chopra@qlogic.com> | 2013-04-24 12:42:39 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-24 19:34:05 -0400 |
commit | 6389b76dfdb0549649d48fb50ca03242fb16a705 (patch) | |
tree | 6abf39ec4a7c472a4535242eb399e2ad892f9aca /drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | |
parent | 01f27fc085574b301248d4da241e9d5ebd61e5c9 (diff) | |
download | linux-stable-6389b76dfdb0549649d48fb50ca03242fb16a705.tar.gz linux-stable-6389b76dfdb0549649d48fb50ca03242fb16a705.tar.bz2 linux-stable-6389b76dfdb0549649d48fb50ca03242fb16a705.zip |
qlcnic: Enhance channel configuration logs
o Add logs for various failure conditions during channel configuration.
Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c index 9f7aade4667c..59350c287f63 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c @@ -635,7 +635,7 @@ static int qlcnic_set_channels(struct net_device *dev, channel->tx_count != channel->max_tx) return -EINVAL; - err = qlcnic_validate_max_rss(channel->max_rx, channel->rx_count); + err = qlcnic_validate_max_rss(adapter, channel->rx_count); if (err) return err; |