05/11/2020 19:11, Ferruh Yigit:
> 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: sta...@dpdk.org
> > 
> > Reported-by: Andrew Rybchenko <andrew.rybche...@oktetlabs.ru>
> > Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
> Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>
Applied



Reply via email to