]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f5f09828d0d02ce7a42f2a9c4ff40b899d89f7b
tree6f43f17ba04022bbcb3e4a9b20dba2e30627b3c5
parent0897f422ba48a7a7bbcdb31e72b17dbf6052f54b
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