[dpdk-dev] [PATCH v1] app/testpmd: fix the overhead overflow	issue
    Ferruh Yigit 
    ferruh.yigit at intel.com
       
    Thu Nov  5 15:31:06 CET 2020
    
    
  
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.yang at intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>
    
    
More information about the dev
mailing list