]> 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)
commit3cae4c43238b19308db3288c6f3f852f1b2f9167
tree2f5ae4076ae58c1d272b3d90029225ae43e6197b
parent7f6967f96c8cb952fe581b3427e37b430a7c2bf9
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