[dpdk-dev] [RFC] Wireless Base Band Device (bbdev)
Mokhtar, Amr
amr.mokhtar at intel.com
Fri Sep 1 23:35:07 CEST 2017
Thanks Stephen.
Agree. Will remove dependency on PCI for now. And num_queues should have been declared as uint16_t.
> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Friday 1 September 2017 21:04
> To: Mokhtar, Amr <amr.mokhtar at intel.com>
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [RFC] Wireless Base Band Device (bbdev)
>
>
> > +/* Forward declaration */
> > +struct rte_pci_device;
> > +
> > +/** Device information structure used by an application to discover a
> > +devices
> > + * capabilities and current configuration */ struct rte_bbdev_info {
> > + int socket_id; /**< NUMA socket that device is on */
> > + const char *dev_name; /**< Unique device name */
> > + const struct rte_pci_device *pci_dev; /**< PCI information */
> > + unsigned int num_queues; /**< Number of queues currently configured
> */
> > + struct rte_bbdev_conf conf; /**< Current device configuration */
> > + bool started; /**< Set if device is currently started */
> > + struct rte_bbdev_driver_info drv; /**< Info from device driver */
> > +};
>
> Please don't build in dependency on PCI from the beginning.
> Number of queues can be uint16_t ?
More information about the dev
mailing list