On 11/5/2020 9:51 AM, Steve Yang wrote:
If "dev_info.max_mtu" isn't set by driver, the rte_ethdev will set
default value "UINT16_MAX", that will cause the overhead value overflow.

Add more strict condition to ensure the overhead valid.

Fixes: bed05536c8f8 ("app/testpmd: fix max Rx packet length for VLAN packets")

Signed-off-by: Steve Yang <stevex.y...@intel.com>

Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>

Reply via email to