[PATCH v4 02/25] net/spnic: initialize the HW interface

Yanling Song songyl at ramaxel.com
Wed Dec 29 12:49:21 CET 2021


> > @@ -35,11 +68,42 @@ static int spnic_func_init(struct rte_eth_dev
> > *eth_dev) pci_dev->addr.domain, pci_dev->addr.bus,
> >   		 pci_dev->addr.devid, pci_dev->addr.function);
> >   
> > +	eth_dev->data->dev_flags |=
> > RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;  
> 
> Please do not use the temporary macro. Please review this patch:
> 
> f30e69b41f94 ("ethdev: add device flag to bypass auto-filled queue
> xstats")
> 
Ok. RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS will be removed in V5.


More information about the dev mailing list