net: mvpp2: use the same buffer pool for all ports
authorStefan Chulski <stefanc@marvell.com>
Mon, 5 Mar 2018 14:16:50 +0000 (15:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 17:55:54 +0000 (12:55 -0500)
commit01d049366529544f1df44139f5ca225d4c36ec31
tree118cd5810bf59b07dcb2078eaabf79929518dd54
parent8eb1a8590f5ca114fabf16ebb26a4bce0255ace9
net: mvpp2: use the same buffer pool for all ports

This patch configures the buffer manager long pool for all ports part of
the same CP. Long pool separation between ports is redundant since there
are no performance improvement when different pools are used.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
[Antoine: cosmetic cleanup, commit message]
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c