[dpdk-dev] [PATCH v2] net/igc: remove MTU setting limitation

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



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Guo, Jia
> Sent: Wednesday, February 24, 2021 11:41 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 v2] net/igc: remove MTU setting limitation
> 
> Seems that v2 is the same as v1, but v1 exposure the coding style issue.
> Anyway please add the change when update new version. 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:01 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 v2] net/igc: 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: a5aeb2b9e225 ("net/igc: support Rx and Tx")
> > 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 dev mailing list