net/mvpp2: update MTU and MRU related calculations
authorNatalie Samsonov <nsamsono@marvell.com>
Tue, 25 Sep 2018 07:05:04 +0000 (09:05 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:03 +0000 (01:41 +0200)
commit79ec62028b9ae144e7171642120dd7e6e25fe7f7
tree930b73843cf3a0a5bb18ecb3ce4228fc850b7fa7
parent406aeb15240179e6faf53b22917252ec2b17695b
net/mvpp2: update MTU and MRU related calculations

This commit updates MTU and MRU related calculations.

Signed-off-by: Natalie Samsonov <nsamsono@marvell.com>
Reviewed-by: Yelena Krivosheev <yelena@marvell.com>
Reviewed-by: Dmitri Epshtein <dima@marvell.com>
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.h