> -----Original Message-----
> From: Ferruh Yigit <[email protected]>
> Sent: Friday, October 4, 2019 9:13 PM
> To: Gagandeep Singh <[email protected]>; [email protected]
> Cc: [email protected]; Akhil Goyal <[email protected]>
> Subject: Re: [PATCH v3 07/14] net/ppfe: add device start stop operations
> 
> On 10/1/2019 12:02 PM, Gagandeep Singh wrote:
> > This patch adds device start, stop and close
> > operations.
> >
> > Signed-off-by: Gagandeep Singh <[email protected]>
> > Signed-off-by: Akhil Goyal <[email protected]>
> > Acked-by: Nipun Gupta <[email protected]>
> 
> <...>
> 
> > +static int
> > +pfe_eth_info(struct rte_eth_dev *dev,
> > +           struct rte_eth_dev_info *dev_info)
> > +{
> > +   struct pfe_eth_priv_s *internals = dev->data->dev_private;
> > +
> > +   dev_info->if_index = internals->id;
> > +   dev_info->max_mac_addrs = PPFE_MAX_MACS;
> > +   dev_info->max_rx_pktlen = JUMBO_FRAME_SIZE;
> > +   dev_info->max_rx_queues = dev->data->nb_rx_queues;
> > +   dev_info->max_tx_queues = dev->data->nb_tx_queues;
> > +   dev_info->min_rx_bufsize = HIF_RX_PKT_MIN_SIZE;
> 
> Since set MTU supported in this patchet, it can be good to set 'min_mtu' &
> 'max_mtu' too.
Ok.

Reply via email to