[dpdk-stable] [PATCH] net/e1000: remove MTU setting limitation

Zhang, Qi Z qi.z.zhang at intel.com
Wed Feb 24 13:18:35 CET 2021



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Guo, Jia
> Sent: Wednesday, February 24, 2021 11:38 AM
> To: Yu, DapengX <dapengx.yu at intel.com>; Wang, Haiyue
> <haiyue.wang at intel.com>
> Cc: dev at dpdk.org; stable at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] net/e1000: remove MTU setting limitation
> 
> Seems that this is align with the fixing process of the other pmds(ixgbe/txgbe)
> and it is not bad. Thanks.
> 
> Acked-by: Jeff Guo <jia.guo at intel.com>
> 
> > -----Original Message-----
> > From: Yu, DapengX <dapengx.yu at intel.com>
> > Sent: Friday, February 19, 2021 6:03 PM
> > To: Guo, Jia <jia.guo at intel.com>; Wang, Haiyue <haiyue.wang at intel.com>
> > Cc: dev at dpdk.org; Yu, DapengX <dapengx.yu at intel.com>; stable at dpdk.org
> > Subject: [PATCH] net/e1000: remove MTU setting limitation
> >
> > From: Dapeng Yu <dapengx.yu at intel.com>
> >
> > Currently, if requested MTU is bigger than mbuf size and scattered
> > receive is not enabled, setting MTU to that value fails.
> >
> > This patch allows setting this special MTU when device is stopped,
> > because scattered_rx will be re-configured during next port start and
> > driver may enable scattered receive according new MTU value.
> >
> > After this patch, driver may select different receive function
> > automatically after MTU set, according MTU values selected.
> >
> > Fixes: 59d0ecdbf0e1 ("ethdev: MTU accessors")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Dapeng Yu <dapengx.yu at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the stable mailing list