net/ice: fix max frame size
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 27 Mar 2019 11:38:50 +0000 (19:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commit50cc9d2a6e9de991e1fdcd639693a9d068ad91a6
tree558ad566ada6461a5dcc43884d61956bba0d058e
parentb27669d691b15042333d472e2edc883046cd8c89
net/ice: fix max frame size

Max frame size setup should consider double VLAN case.

Fixes: ae2bdd0219cb ("net/ice: support MTU setting")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h
drivers/net/ice/ice_rxtx.c