]> 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)
commit3a616b92a9d17448d96a33bf58e69f01457fd43a
treecdfc325330e1f22a363c9ce2296cebc7c3c52de1
parent7c29451550cce0b548e58bf22c7822666e6e49af
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