mlx4_en: get/set ringsize uses actual ring size
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 24 Aug 2010 03:46:34 +0000 (03:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 21:54:52 +0000 (14:54 -0700)
commitbc081cecf3cb3da236061cf353d74c42ba7e37fb
treeb0a70206f8868c37e8ecc110afd9d33a8c1168ed
parent7699517db435fd24143bd32dd644275e3eeb4c86
mlx4_en: get/set ringsize uses actual ring size

In case that the rings were not fully filled, the report in Ethtool
should be according to the actual size that was filled.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_ethtool.c