[dpdk-dev] [PATCH 1/1] app/testpmd: revert max Rx packet length adjustment

Ferruh Yigit ferruh.yigit at intel.com
Thu Nov 5 19:11:44 CET 2020


On 11/5/2020 5:44 PM, Thomas Monjalon wrote:
> The fix of max_rx_pkt_len for allowing VLAN packets in all cases
> was breaking configuration of some drivers. Example with virtio:
> 
> 	Ethdev port_id=0 max_rx_pkt_len 11229 > max valid value 9728
> 	Fail to configure port 0
> 
> Trying to fix the logic was revealing other issues in some drivers.
> That's why it is decided to revert.
> 
> The workaround for the original issue would be
> to set the MTU explicitly from the application
> with rte_eth_dev_set_mtu().
> 

Sent this option as RFC:
https://patches.dpdk.org/patch/83756/

> Fixes: f6870a7ed6b3 ("app/testpmd: fix max Rx packet length for VLAN packet")
> Cc: stable at dpdk.org
> 
> Reported-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Acked-by: Ferruh Yigit <ferruh.yigit at intel.com>


More information about the dev mailing list