]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: fix ethtool ringparam reporting
authorSathya Perla <sathya.perla@emulex.com>
Tue, 13 Dec 2011 00:58:49 +0000 (00:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Dec 2011 18:34:26 +0000 (13:34 -0500)
commitf944a58169a719f82a6cb2596833a86572a633b2
tree39577d0cc66d9a769ec2ee4d20bdd30b66312b88
parentbee92d05d25d9702f1018b3210310d2939fa874e
be2net: fix ethtool ringparam reporting

The ethtool "-g" option is supposed to report the max queue length and
user modified queue length for RX and TX queues.  be2net doesn't support
user modification of queue lengths. So, the correct values for these
would be the max numbers.
be2net incorrectly reports the queue used values for these fields.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_ethtool.c