DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/4] VMXNET3 support for FreeBSD.
@ 2014-06-30  9:22 Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 1/4] vmxnet3: Removed unused include that broke VMXNET3 driver compilation under FreeBSD Maciej Gajdzica
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Maciej Gajdzica @ 2014-06-30  9:22 UTC (permalink / raw)
  To: dev

Enabled VMXNET3 compilation for FreeBSD in the makefiles. Fixed some
minor issues to make it run.

Maciej Gajdzica (4):
  vmxnet3: Removed unused include that broke VMXNET3 driver compilation
    under FreeBSD.
  vmxnet3: Added makefile entries to compile VMXNET3 driver under
    FreeBSD.
  vmxnet3: Added macro adding VMXNET3 to the list of recognized PCI
    devices.
  vmxnet3: Updated comments.

 config/common_bsdapp                            | 10 ++++++++++
 lib/librte_eal/bsdapp/nic_uio/nic_uio.c         |  1 +
 lib/librte_eal/common/include/rte_pci_dev_ids.h |  9 +++++----
 lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c           |  1 -
 4 files changed, 16 insertions(+), 5 deletions(-)

-- 
2.0.0

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

* [dpdk-dev] [PATCH 1/4] vmxnet3: Removed unused include that broke VMXNET3 driver compilation under FreeBSD.
  2014-06-30  9:22 [dpdk-dev] [PATCH 0/4] VMXNET3 support for FreeBSD Maciej Gajdzica
@ 2014-06-30  9:22 ` Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 2/4] vmxnet3: Added makefile entries to compile VMXNET3 driver " Maciej Gajdzica
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Maciej Gajdzica @ 2014-06-30  9:22 UTC (permalink / raw)
  To: dev

From: Maciej Gajdzica  <maciejx.t.gajdzica@intel.com>

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
---
 lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c
index cb711dc..69e01c1 100644
--- a/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c
+++ b/lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c
@@ -33,7 +33,6 @@
 
 #include <sys/queue.h>
 
-#include <endian.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-- 
2.0.0

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

* [dpdk-dev] [PATCH 2/4] vmxnet3: Added makefile entries to compile VMXNET3 driver under FreeBSD.
  2014-06-30  9:22 [dpdk-dev] [PATCH 0/4] VMXNET3 support for FreeBSD Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 1/4] vmxnet3: Removed unused include that broke VMXNET3 driver compilation under FreeBSD Maciej Gajdzica
@ 2014-06-30  9:22 ` Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 3/4] vmxnet3: Added macro adding VMXNET3 to the list of recognized PCI devices Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 4/4] vmxnet3: Updated comments Maciej Gajdzica
  3 siblings, 0 replies; 5+ messages in thread
From: Maciej Gajdzica @ 2014-06-30  9:22 UTC (permalink / raw)
  To: dev

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
---
 config/common_bsdapp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/config/common_bsdapp b/config/common_bsdapp
index 578d510..87edada 100644
--- a/config/common_bsdapp
+++ b/config/common_bsdapp
@@ -177,6 +177,16 @@ CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DRIVER=n
 CONFIG_RTE_LIBRTE_VIRTIO_DEBUG_DUMP=n
 
 #
+# Compile burst-oriented VMXNET3 PMD driver
+#
+CONFIG_RTE_LIBRTE_VMXNET3_PMD=y
+CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_INIT=n
+CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_RX=n
+CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX=n
+CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_TX_FREE=n
+CONFIG_RTE_LIBRTE_VMXNET3_DEBUG_DRIVER=n
+
+#
 # Compile example software rings based PMD
 #
 CONFIG_RTE_LIBRTE_PMD_RING=y
-- 
2.0.0

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

* [dpdk-dev] [PATCH 3/4] vmxnet3: Added macro adding VMXNET3 to the list of recognized PCI devices.
  2014-06-30  9:22 [dpdk-dev] [PATCH 0/4] VMXNET3 support for FreeBSD Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 1/4] vmxnet3: Removed unused include that broke VMXNET3 driver compilation under FreeBSD Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 2/4] vmxnet3: Added makefile entries to compile VMXNET3 driver " Maciej Gajdzica
@ 2014-06-30  9:22 ` Maciej Gajdzica
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 4/4] vmxnet3: Updated comments Maciej Gajdzica
  3 siblings, 0 replies; 5+ messages in thread
From: Maciej Gajdzica @ 2014-06-30  9:22 UTC (permalink / raw)
  To: dev

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
---
 lib/librte_eal/bsdapp/nic_uio/nic_uio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
index 3fe6f1c..00c9a8d 100644
--- a/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
+++ b/lib/librte_eal/bsdapp/nic_uio/nic_uio.c
@@ -110,6 +110,7 @@ struct pci_bdf {
 #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_VIRTIO(vend, dev)  {vend, dev},
+#define RTE_PCI_DEV_ID_DECL_VMXNET3(vend, dev) {vend, dev},
 
 const struct device devices[] = {
 #include <rte_pci_dev_ids.h>
-- 
2.0.0

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

* [dpdk-dev] [PATCH 4/4] vmxnet3: Updated comments.
  2014-06-30  9:22 [dpdk-dev] [PATCH 0/4] VMXNET3 support for FreeBSD Maciej Gajdzica
                   ` (2 preceding siblings ...)
  2014-06-30  9:22 ` [dpdk-dev] [PATCH 3/4] vmxnet3: Added macro adding VMXNET3 to the list of recognized PCI devices Maciej Gajdzica
@ 2014-06-30  9:22 ` Maciej Gajdzica
  3 siblings, 0 replies; 5+ messages in thread
From: Maciej Gajdzica @ 2014-06-30  9:22 UTC (permalink / raw)
  To: dev

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
---
 lib/librte_eal/common/include/rte_pci_dev_ids.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h b/lib/librte_eal/common/include/rte_pci_dev_ids.h
index 9c1ee04..b0737a5 100644
--- a/lib/librte_eal/common/include/rte_pci_dev_ids.h
+++ b/lib/librte_eal/common/include/rte_pci_dev_ids.h
@@ -63,17 +63,18 @@
  * This file contains a list of the PCI device IDs recognised by DPDK, which
  * can be used to fill out an array of structures describing the devices.
  *
- * Currently four families of devices are recognised: those supported by the
+ * Currently five families of devices are recognised: those supported by the
  * IGB driver, by EM driver, those supported by the IXGBE driver, and by virtio
- * driver which is a para virtualization driver running in guest virtual machine.
- * The inclusion of these in an array built using this file depends on the
- * definition of
+ * and vmxnet3 drivers which are para virtualization drivers running in guest
+ * virtual machine. The inclusion of these in an array built using this file 
+ * depends on the definition of
  * RTE_PCI_DEV_ID_DECL_EM
  * RTE_PCI_DEV_ID_DECL_IGB
  * RTE_PCI_DEV_ID_DECL_IGBVF
  * RTE_PCI_DEV_ID_DECL_IXGBE
  * RTE_PCI_DEV_ID_DECL_IXGBEVF
  * RTE_PCI_DEV_ID_DECL_VIRTIO
+ * RTE_PCI_DEV_ID_DECL_VMXNET3
  * at the time when this file is included.
  *
  * In order to populate an array, the user of this file must define this macro:
-- 
2.0.0

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

end of thread, other threads:[~2014-06-30  9:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-30  9:22 [dpdk-dev] [PATCH 0/4] VMXNET3 support for FreeBSD Maciej Gajdzica
2014-06-30  9:22 ` [dpdk-dev] [PATCH 1/4] vmxnet3: Removed unused include that broke VMXNET3 driver compilation under FreeBSD Maciej Gajdzica
2014-06-30  9:22 ` [dpdk-dev] [PATCH 2/4] vmxnet3: Added makefile entries to compile VMXNET3 driver " Maciej Gajdzica
2014-06-30  9:22 ` [dpdk-dev] [PATCH 3/4] vmxnet3: Added macro adding VMXNET3 to the list of recognized PCI devices Maciej Gajdzica
2014-06-30  9:22 ` [dpdk-dev] [PATCH 4/4] vmxnet3: Updated comments Maciej Gajdzica

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