]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: jumbo frames support
authorStefan Chulski <stefanc@marvell.com>
Mon, 5 Mar 2018 14:16:54 +0000 (15:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 17:55:55 +0000 (12:55 -0500)
commit5a8c31babbb6efc49db47620c9fe51509a8c1d61
tree2f5ae4076ae58c1d272b3d90029225ae43e6197b
parent0051654c2d11e4bf8f9e0a897938bcfa0fca7dc5
net: mvpp2: jumbo frames support

This patch adds the support for jumbo frames in the Marvell PPv2 driver.
A third buffer pool is added with 10KB buffers, which is used if the MTU
is higher than 1518B for packets larger than 1518B. Please note only the
port 0 supports hardware checksum offload due to the Tx FIFO size
limitation.

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