net/ice: fix setting max frame size
authorJiaqi Min <jiaqix.min@intel.com>
Mon, 4 Nov 2019 15:33:32 +0000 (15:33 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
commit1161029318a94eba01ea3e23553bb2106cab4056
tree6bfcd646d8da8d42cc3e76d18fab5da7b258ea9f
parent1ca05831b9be946001ebabba2b3fdb0456684d9a
net/ice: fix setting max frame size

Max frame size is not set to HW, so packets above the MTU
do not get dropped by HW. The patch fixed the issue.

Fixes: 50370662b727 ("net/ice: support device and queue ops")
Cc: stable@dpdk.org
Signed-off-by: Jiaqi Min <jiaqix.min@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/ice_ethdev.c