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

Lance Richardson lance.richardson at broadcom.com
Thu Nov 5 19:02:46 CET 2020


On Thu, Nov 5, 2020 at 12:51 PM Thomas Monjalon <thomas at monjalon.net> 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().
>
> 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: Lance Richardson <lance.richardson at broadcom.com>


More information about the dev mailing list