> -----Original Message-----
> From: dev <[email protected]> On Behalf Of Ferruh Yigit
> Sent: Friday, October 29, 2021 2:23 AM
> To: Ajit Khaparde <[email protected]>; Andrew Rybchenko
> <[email protected]>
> Cc: Li, Xiaoyun <[email protected]>; Xu, Rosen <[email protected]>;
> Ananyev, Konstantin <[email protected]>; Ivan Ilchenko
> <[email protected]>; dpdk-dev <[email protected]>
> Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix MTU configuration before
> device start
> 
> On 10/25/2021 7:06 PM, Ajit Khaparde wrote:
> > On Sun, Oct 24, 2021 at 9:42 AM Andrew Rybchenko
> > <[email protected]> wrote:
> >>
> >> There is no point to do rte_eth_dev_mtu_set() before configure since
> >> set MTU value is overwritten on configure anyway. So, setting of MTU
> >> before configure is rejected now on ethdev level.
> >>
> >> If testpmd is going to do configure (e.g. just after testpmd start
> >> with disabled devices start up or any configuration changes in
> >> stopped state which require reconfigure), just save requested MTU in
> >> device config to be applied on reconfigure.
> >>
> >> Fixes: 1bb4a528c41f ("ethdev: fix max Rx packet length")
> >> Fixes: be0433cf953c ("ethdev: forbid MTU set before device
> >> configure")
> >>
> >> Signed-off-by: Andrew Rybchenko <[email protected]>
> > Acked-by: Ajit Khaparde <[email protected]>
> >
> 
> Reviewed-by: Ferruh Yigit <[email protected]>
> 
> Applied to dpdk-next-net/main, thanks.
verify patch 
https://patches.dpdk.org/project/dpdk/patch/[email protected]/
 on baseline 6cc51b1293ceac4a77d4bf7ac91a8bbd59e1f78c
Test failed on nic XXV710 for 25GbE SFP28 158b/os Red Hat Enterprise Linux 8.4

Reply via email to