net: mvpp2: split the max ring size from the default one
authorYan Markman <ymarkman@marvell.com>
Mon, 11 Dec 2017 08:13:26 +0000 (09:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 16:16:50 +0000 (11:16 -0500)
commit7cf87e4a5c2b120967b3fa3a1beb7123eb704d85
tree6f43f17ba04022bbcb3e4a9b20dba2e30627b3c5
parentb70d4a5195c7193d1d55af791d9811477522e25a
net: mvpp2: split the max ring size from the default one

The Rx/Tx ring sizes can be adjusted thanks to ethtool given specific
network needs. This commit splits the default ring size from its max
value to allow ethtool to vary the parameters in both ways.

Signed-off-by: Yan Markman <ymarkman@marvell.com>
[Antoine: commit message]
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c