]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: Add TX flow control support for jumbo frames
authorStefan Chulski <stefanc@marvell.com>
Mon, 15 Feb 2021 15:23:42 +0000 (17:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 21:37:13 +0000 (13:37 -0800)
commit5f2c431988a2042d04a29efcc6278ef849391dd8
treecdfc325330e1f22a363c9ce2296cebc7c3c52de1
parent29fde7ac718024a3ea11c7d61062dea82a68d68a
net: mvpp2: Add TX flow control support for jumbo frames

With MTU less than 1500B on all ports, the driver uses per CPU pool mode.
If one of the ports set to jumbo frame MTU size, all ports move
to shared pools mode.
Here, buffer manager TX Flow Control reconfigured on all ports.

Signed-off-by: Stefan Chulski <stefanc@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c