> -----Original Message-----
> From: Zhao1, Wei
> Sent: Wednesday, April 3, 2019 10:26 AM
> To: David Harton <[email protected]>; [email protected]
> Cc: Lu, Wenzhuo <[email protected]>; Ananyev, Konstantin
> <[email protected]>; Zhang, Qi Z <[email protected]>
> Subject: RE: [dpdk-dev] [PATCH] net/ixgbevf: remove MTU setting limitation
> 
> HI,
> 
> Why not add some more code
> "
>       if (rx_conf->offloads & DEV_RX_OFFLOAD_SCATTER)
>               dev->data->scattered_rx = 1;
> "
> 
> Into ixgbevf_dev_rx_init() to enable scatter mode when start device?
> 
> 
> Reviewed-by: Wei Zhao <[email protected]>
> 
> 
> > -----Original Message-----
> > From: dev [mailto:[email protected]] On Behalf Of David Harton
> > Sent: Wednesday, April 3, 2019 9:19 AM
> > To: [email protected]
> > Cc: Lu, Wenzhuo <[email protected]>; Ananyev, Konstantin
> > <[email protected]>; David Harton <[email protected]>
> > Subject: [dpdk-dev] [PATCH] net/ixgbevf: remove MTU setting limitation
> >
> > 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.
> >
> > Signed-off-by: David Harton <[email protected]>

Applied to dpdk-next-net-intel.

Thanks
Qi 

Reply via email to