]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
net: mvpp2: use a data size of 10kB for Tx FIFO on port 0
authorYan Markman <ymarkman@marvell.com>
Mon, 5 Mar 2018 14:16:52 +0000 (15:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 17:55:55 +0000 (12:55 -0500)
commit93ff130f1c2bae00c0378f065e441e988b0cd1e7
tree5bb553603097339c6aa2e898789a779d7b23060d
parenteffbf5f58d64b1d1f93cb687d9797b42f291d5fd
net: mvpp2: use a data size of 10kB for Tx FIFO on port 0

This patch sets the Tx FIFO data size on port 0 to 10kB. This prepares
the PPv2 driver for the Jumbo frame support addition as the hardware
will need big enough Tx FIFO buffers when dealing with frames going
through an interface with an MTU of 9000.

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