net/ipn3ke: setup MTU during HW init
authorAndy Pei <andy.pei@intel.com>
Wed, 4 Sep 2019 01:52:46 +0000 (09:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:56 +0000 (15:00 +0200)
commit82a8f1385994d67e8c4181ad95651d1b39273d5b
tree5cab4ba4cfa3e15e75cff0e3c1af21f56c599ea4
parent13676bd3009bb1043c4f77650b43177d2497605c
net/ipn3ke: setup MTU during HW init

Set up MTU to the minimum among Tx MTU, Rx MTU and
IPN3KE_MAC_FRAME_SIZE_MAX.

Signed-off-by: Andy Pei <andy.pei@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/net/ipn3ke/ipn3ke_ethdev.c
drivers/net/ipn3ke/ipn3ke_ethdev.h