dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nic_uio: add device ids for i40e devices
       [not found] ` <1405004940-6592-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2014-07-11  0:12   ` Richardson, Bruce
       [not found]     ` <59AF69C657FD0841A61C55336867B5B0343AC9C0-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Richardson, Bruce @ 2014-07-11  0:12 UTC (permalink / raw)
  To: dev-VfR2kkLFssw@public.gmane.org

The FreeBSD nic_uio driver was missing the #defines to include the device ids
for devices using the i40e driver. This change adds in the missing defines.

Signed-off-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
index 3fe6f1c..8ba7f1b 100644
--- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
+++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
@@ -109,6 +109,8 @@ struct pci_bdf {
 #define RTE_PCI_DEV_ID_DECL_IGBVF(vend, dev)   {vend, dev},
 #define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev)   {vend, dev},
 #define RTE_PCI_DEV_ID_DECL_IXGBEVF(vend, dev) {vend, dev},
+#define RTE_PCI_DEV_ID_DECL_I40E(vend, dev)    {vend, dev},
+#define RTE_PCI_DEV_ID_DECL_I40EVF(vend, dev)  {vend, dev},
 #define RTE_PCI_DEV_ID_DECL_VIRTIO(vend, dev)  {vend, dev},
 
 const struct device devices[] = {
-- 
2.0.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] nic_uio: add device ids for i40e devices
       [not found]     ` <59AF69C657FD0841A61C55336867B5B0343AC9C0-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2014-07-11  2:58       ` Zhang, Helin
       [not found]         ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A74C061-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Helin @ 2014-07-11  2:58 UTC (permalink / raw)
  To: Richardson, Bruce, dev-VfR2kkLFssw@public.gmane.org



> -----Original Message-----
> From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Richardson, Bruce
> Sent: Friday, July 11, 2014 8:13 AM
> To: dev-VfR2kkLFssw@public.gmane.org
> Subject: [dpdk-dev] [PATCH] nic_uio: add device ids for i40e devices
> 
> The FreeBSD nic_uio driver was missing the #defines to include the device ids
> for devices using the i40e driver. This change adds in the missing defines.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> ---
>  lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> index 3fe6f1c..8ba7f1b 100644
> --- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> +++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
> @@ -109,6 +109,8 @@ struct pci_bdf {
>  #define RTE_PCI_DEV_ID_DECL_IGBVF(vend, dev)   {vend, dev},
>  #define RTE_PCI_DEV_ID_DECL_IXGBE(vend, dev)   {vend, dev},
>  #define RTE_PCI_DEV_ID_DECL_IXGBEVF(vend, dev) {vend, dev},
> +#define RTE_PCI_DEV_ID_DECL_I40E(vend, dev)    {vend, dev},
> +#define RTE_PCI_DEV_ID_DECL_I40EVF(vend, dev)  {vend, dev},
>  #define RTE_PCI_DEV_ID_DECL_VIRTIO(vend, dev)  {vend, dev},
> 
>  const struct device devices[] = {
> --
> 2.0.0

Acked-by: Helin Zhang <helin.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nic_uio: add device ids for i40e devices
       [not found]         ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A74C061-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2014-07-18 23:49           ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2014-07-18 23:49 UTC (permalink / raw)
  To: Richardson, Bruce; +Cc: dev-VfR2kkLFssw

> > The FreeBSD nic_uio driver was missing the #defines to include the device ids
> > for devices using the i40e driver. This change adds in the missing defines.
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> 
> Acked-by: Helin Zhang <helin.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Applied for version 1.7.1

Thanks
-- 
Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-18 23:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1405004940-6592-1-git-send-email-bruce.richardson@intel.com>
     [not found] ` <1405004940-6592-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-07-11  0:12   ` [PATCH] nic_uio: add device ids for i40e devices Richardson, Bruce
     [not found]     ` <59AF69C657FD0841A61C55336867B5B0343AC9C0-kPTMFJFq+rELt2AQoY/u9bfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-07-11  2:58       ` Zhang, Helin
     [not found]         ` <F35DEAC7BCE34641BA9FAC6BCA4A12E70A74C061-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-07-18 23:49           ` Thomas Monjalon

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).