Skip to contentSkip to conversation

nic_uio: add device ids for i40e devices

PATCH In review Richardson, Bruce 3 participants 3 messages Jul 11, 2014 – Jul 18, 2014 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1405004940-6592-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH 1/1 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.

---
 lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 2 ++
 1 file changed, 2 insertions(+)
lib/librte_eal/bsdapp/nic_uio/nic_uio.c +2 -0
index 3fe6f1c..8ba7f1b 100644
@@ -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[] = {
Signature · 1 line
2.0.0

A message that is not in the archive (sent off-list or not yet received): 59AF69C657FD0841A61C55336867B5B0343AC9C0-kPTMFJFq+rELt2AQoY/[email protected]

Acked-by
#4 lore raw
Quoted 31 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Richardson, Bruce
Sent: Friday, July 11, 2014 8:13 AM
To: [email protected]
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.

---
 lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 2 ++
 1 file changed, 2 insertions(+)
lib/librte_eal/bsdapp/nic_uio/nic_uio.c +2 -1
index 3fe6f1c..8ba7f1b 100644
@@ -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[] = {
--
Quoted 1 line

2.0.0

A message that is not in the archive (sent off-list or not yet received): F35DEAC7BCE34641BA9FAC6BCA4A12E70A74C061-0J0gbvR4kTg/[email protected]