From: "Mokhtar, Amr" <amr.mokhtar@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [RFC] Wireless Base Band Device (bbdev)
Date: Fri, 1 Sep 2017 21:35:07 +0000 [thread overview]
Message-ID: <3D3765A8CDB52A4C8B410430AA19CB236EC2944E@IRSMSX104.ger.corp.intel.com> (raw)
In-Reply-To: <20170901130339.76dc0457@xeon-e3>
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@networkplumber.org]
> Sent: Friday 1 September 2017 21:04
> To: Mokhtar, Amr <amr.mokhtar@intel.com>
> Cc: dev@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 ?
next prev parent reply other threads:[~2017-09-01 21:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 13:46 Amr Mokhtar
2017-08-25 13:46 ` Amr Mokhtar
2017-09-01 19:38 ` Mokhtar, Amr
2017-09-21 14:34 ` Thomas Monjalon
2017-10-05 20:06 ` Mokhtar, Amr
2017-10-05 20:49 ` Thomas Monjalon
2017-09-01 20:03 ` Stephen Hemminger
2017-09-01 21:35 ` Mokhtar, Amr [this message]
2017-09-21 14:56 ` Thomas Monjalon
2017-10-03 14:29 ` Mokhtar, Amr
2017-10-03 15:17 ` Thomas Monjalon
2017-10-04 17:11 ` Flavio Leitner
2017-10-05 21:55 ` Mokhtar, Amr
2017-10-05 22:22 ` Thomas Monjalon
2017-10-06 23:27 ` Mokhtar, Amr
2017-10-07 11:42 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D3765A8CDB52A4C8B410430AA19CB236EC2944E@IRSMSX104.ger.corp.intel.com \
--to=amr.mokhtar@intel.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).