net/mvpp2: expose max MTU
authorLiron Himi <lironh@marvell.com>
Wed, 27 Jan 2021 16:09:40 +0000 (18:09 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:11 +0000 (18:16 +0100)
commit949cdedd0c2af4796dc12c2cc9a731de59bf4356
tree969b79a3d18914b098a227b230dfdafff45bcd36
parentc0e5d09e8169cb845a46002c24fddcd992232756
net/mvpp2: expose max MTU

Expose max-MTU based on the max frame size that
l4 checksum generation can be done by HW.

Signed-off-by: Liron Himi <lironh@marvell.com>
Reviewed-by: Yuri Chipchev <yuric@marvell.com>
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.h