[ovs-dev] [PATCH] dpdk: Fix DPDK pdump compilation

2016-10-13 Thread Ciara Loftus
The rte_pdump header file was not included in the file that requires it. Fix this. Fixes: 01961bbdd34a ("dpdk: New module with some code from netdev-dpdk.") Signed-off-by: Ciara Loftus --- lib/dpdk.c| 4 lib/netdev-dpdk.c | 3 --- 2 files changed, 4 insertions(+), 3

[ovs-dev] [PATCH RFC 0/2] Add DPDK 16.11 & vHost PMD Support

2016-10-14 Thread Ciara Loftus
k.org/ml/archives/dev/2016-September/046631.html Early feedback on this patchset is important in case we need to submit changes to DPDK (eg. see above) before the release is made in November. Ciara Loftus (2): netdev-dpdk: Add support for DPDK 16.11 netdev-dpdk: Add vHost User PMD .travis/

[ovs-dev] [PATCH RFC 1/2] netdev-dpdk: Add support for DPDK 16.11

2016-10-14 Thread Ciara Loftus
This commit announces support for DPDK 16.11. No code changes are required, so compaitibilty with DPDK v16.07 is not broken yet. This may change soon however with the addition of subsequent commits that integrate 16.11-only features. Signed-off-by: Ciara Loftus --- .travis/linux-build.sh | 2

[ovs-dev] [PATCH RFC 2/2] netdev-dpdk: Add vHost User PMD

2016-10-14 Thread Ciara Loftus
tionality that isn't available in previous releases, and thus breaks compatibility with such releases. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 10 + NEWS |2 + lib/netdev-dpdk.c | 1101 + 3 files changed, 447 ins

[ovs-dev] [PATCH RFC v2 0/2] Add DPDK 16.11 & vHost PMD Support

2016-10-14 Thread Ciara Loftus
: http://dpdk.org/ml/archives/dev/2016-September/046631.html Early feedback on this patchset is important in case we need to submit changes to DPDK (eg. see above) before the release is made in November. v2: * Disable indirect desc for vHost & update commit message Ciara Loftus (2): netdev-

[ovs-dev] [PATCH RFC v2 1/2] netdev-dpdk: Add support for DPDK 16.11

2016-10-14 Thread Ciara Loftus
This commit announces support for DPDK 16.11. Compaitibilty with DPDK v16.07 is not broken yet thanks to only minor code changes being needed for the upgrade. This may change soon however with the addition of subsequent commits that integrate 16.11-only features. Signed-off-by: Ciara Loftus

[ovs-dev] [PATCH RFC v2 2/2] netdev-dpdk: Add vHost User PMD

2016-10-14 Thread Ciara Loftus
tionality that isn't available in previous releases, and thus breaks compatibility with such releases. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 10 + NEWS |2 + lib/netdev-dpdk.c | 1103 + 3 files changed, 448 ins

[ovs-dev] [PATCH RFC v3 1/2] netdev-dpdk: Add support for DPDK 16.11

2016-10-20 Thread Ciara Loftus
This commit announces support for DPDK 16.11. Compaitibilty with DPDK v16.07 is not broken yet thanks to only minor code changes being needed for the upgrade. This may change soon however with the addition of subsequent commits that integrate 16.11-only features. Signed-off-by: Ciara Loftus

[ovs-dev] [PATCH RFC v3 0/2] Add DPDK 16.11 & vHost PMD Support

2016-10-20 Thread Ciara Loftus
reconfigure for when txq alloc fails * Remove set_tx_multiq fn for vHost ports v2: * Disable indirect desc for vHost & update commit message Ciara Loftus (2): netdev-dpdk: Add support for DPDK 16.11 netdev-dpdk: Add vHost User PMD .travis/linux-build.sh |2 +- INSTALL.DPDK-ADVANCED.md

[ovs-dev] [PATCH RFC v3 2/2] netdev-dpdk: Add vHost User PMD

2016-10-20 Thread Ciara Loftus
tionality that isn't available in previous releases, and thus breaks compatibility with such releases. Signed-off-by: Ciara Loftus --- v3: * Added DPDK_DEV_VHOST_CLIENT netdev_dpdk "type" * Reintroduced socket-id logic to correctly set client type sid * Removed magic number & used

[ovs-dev] [PATCH RFC v4 1/2] netdev-dpdk: Add support for DPDK 16.11

2016-10-21 Thread Ciara Loftus
This commit announces support for DPDK 16.11. Compaitibilty with DPDK v16.07 is not broken yet thanks to only minor code changes being needed for the upgrade. This may change soon however with the addition of subsequent commits that integrate 16.11-only features. Signed-off-by: Ciara Loftus

[ovs-dev] [PATCH RFC v4 2/2] netdev-dpdk: Add vHost User PMD

2016-10-21 Thread Ciara Loftus
tionality that isn't available in previous releases, and thus breaks compatibility with such releases. Signed-off-by: Ciara Loftus --- v4: * Use id-pool implementation for allocating vHost PMD IDs v3: * Added DPDK_DEV_VHOST_CLIENT netdev_dpdk "type" * Reintroduced socket-id logic to corr

[ovs-dev] [PATCH RFC v4 0/2] Add DPDK 16.11 & vHost PMD Support

2016-10-21 Thread Ciara Loftus
tdev_dpdk_init fails * Introduce "out" in client_reconfigure for when txq alloc fails * Remove set_tx_multiq fn for vHost ports v2: * Disable indirect desc for vHost & update commit message Ciara Loftus (2): netdev-dpdk: Add support for DPDK 16.11 netdev-dpdk: Add vHost User

[ovs-dev] [PATCH RFC v5 0/2] Add DPDK 16.11 & vHost PMD Support

2016-10-21 Thread Ciara Loftus
if netdev_dpdk_init fails * Introduce "out" in client_reconfigure for when txq alloc fails * Remove set_tx_multiq fn for vHost ports v2: * Disable indirect desc for vHost & update commit message Ciara Loftus (2): netdev-dpdk: Add support for DPDK 16.11 netdev-dpdk: Add vHost User PMD

[ovs-dev] [PATCH RFC v5 2/2] netdev-dpdk: Add vHost User PMD

2016-10-21 Thread Ciara Loftus
tionality that isn't available in previous releases, and thus breaks compatibility with such releases. Signed-off-by: Ciara Loftus --- v5: * change vhost_pmd_id to signed int and use -1 value to indicate an ID from the pool hasn't been alloced for it yet. * free pool ID if rte_eth_dev_attach

[ovs-dev] [PATCH RFC v5 1/2] netdev-dpdk: Add support for DPDK 16.11

2016-10-21 Thread Ciara Loftus
This commit announces support for DPDK 16.11. Compaitibilty with DPDK v16.07 is not broken yet thanks to only minor code changes being needed for the upgrade. This may change soon however with the addition of subsequent commits that integrate 16.11-only features. Signed-off-by: Ciara Loftus

[ovs-dev] [PATCH RFC v6 2/2] netdev-dpdk: Add vHost User PMD

2016-10-28 Thread Ciara Loftus
tionality that isn't available in previous releases, and thus breaks compatibility with such releases. Signed-off-by: Ciara Loftus --- v6: * Unregister callbacks before detach v5: * change vhost_pmd_id to signed int and use -1 value to indicate an ID from the pool hasn't been alloced

[ovs-dev] [PATCH RFC v6 0/2] Add DPDK 16.11 & vHost PMD Support

2016-10-28 Thread Ciara Loftus
for vHost & update commit message Ciara Loftus (2): netdev-dpdk: Add support for DPDK 16.11 netdev-dpdk: Add vHost User PMD .travis/linux-build.sh | 2 +- INSTALL.DPDK-ADVANCED.md | 6 +- INSTALL.DPDK.rst | 18 +- NEWS | 3 + lib/dpd

[ovs-dev] [PATCH RFC v6 1/2] netdev-dpdk: Add support for DPDK 16.11

2016-10-28 Thread Ciara Loftus
This commit announces support for DPDK 16.11. Compaitibilty with DPDK v16.07 is not broken yet thanks to no code changes being needed for the upgrade. This may change soon however with the addition of subsequent commits that integrate 16.11-only features. Signed-off-by: Ciara Loftus --- v6

[ovs-dev] [PATCH RFC v4 2/3] netdev-dpdk: Arbitrary 'dpdk' port naming

2016-10-28 Thread Ciara Loftus
ctl set Interface my-port options:dpdk-devargs=:06:00.3 The user must no longer hotplug DPDK ports by issuing specific ovs-appctl commands. The hotplug is now automatically invoked when a valid PCI address is set in the dpdk-devargs. Signed-off-by: Ciara Loftus --- INSTALL.DP

[ovs-dev] [PATCH RFC v4 0/3] Port Hotplug, Arbitrary 'dpdk' Port Naming & Experimental vdev PMD Support

2016-10-28 Thread Ciara Loftus
This RFC series consists of 3 patches. 1. Port Hotplug (Mauricio Vasquez) (v8) Previous: http://openvswitch.org/pipermail/dev/2016-July/075350.html 2. Arbitrary Port Naming (Ciara Loftus) (v4) Previous: http://openvswitch.org/pipermail/dev/2016-July/075385.html 3. Experimental vDev PMD (Ciara

[ovs-dev] [PATCH RFC v4 1/3] netdev-dpdk: add hotplug support

2016-10-28 Thread Ciara Loftus
In order to use dpdk ports in ovs they have to be bound to a DPDK compatible driver before ovs is started. This patch adds the possibility to hotplug (or hot-unplug) a device after ovs has been started. The implementation adds two appctl commands: netdev-dpdk/port-attach and netdev-dpdk/port-detac

[ovs-dev] [PATCH RFC v4 3/3] netdev-dpdk: Add new 'dpdkvdev' experimental port type

2016-10-28 Thread Ciara Loftus
ev' port that uses the 'null' DPDK PMD driver: ovs-vsctl set Interface null0 options:dpdk-devargs=eth_null0 All virtual DPDK PMDs haven't been tested so this port type can be considered experimental. Signed-off-by: Ciara Loftus --- INSTALL.DPDK-ADVANCED.md | 23 +

[ovs-dev] [PATCH RFC v2 0/1] netdev-dpdk: add dpdk vhost-user ports

2015-04-21 Thread Ciara Loftus
This RFC patch makes use of the vhost-user implementation that is available in DPDK 2.0. Submitting as RFC as this implementation depends on OVS support for DPDK 2.0. As such, this patch can be considered experimental. Since DPDK 2.0 support is necessary for vhost-user, please use this patch to e

[ovs-dev] [PATCH RFC v2 1/1] netdev-dpdk: add dpdk vhost-user ports

2015-04-21 Thread Ciara Loftus
desired. A new dpdkvhostuser port will create a unix domain socket which when provided to QEMU is used to facilitate communication between the virtio-net device on the VM and the OVS port on the host. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 128

[ovs-dev] [PATCH RFC 0/1] dpif-netdev: Make EMC Size Configurable

2015-04-21 Thread Ciara Loftus
This patch allows the user to specify the number of Exact Match Cache entries they wish to have available for their instance of the vswitch. This is a achieved by means of a 'configure' flag. At the moment, the default number of EMC entries is 1024, for which the switch should perform optimally up

[ovs-dev] [PATCH RFC 1/1] dpif-netdev: Make EMC Size Configurable

2015-04-21 Thread Ciara Loftus
performance. This introduces the configure flag '--with-emc=size' that changes the number of EMC entries from 2^10 to 2^size. Signed-off-by: Ciara Loftus --- acinclude.m4 | 15 +++ configure.ac | 1 + lib/dpif-netdev.c | 1 - 3 files changed, 16 insertions(+),

[ovs-dev] [PATCH RFC v3 0/1] netdev-dpdk: add dpdk vhost-user ports

2015-04-29 Thread Ciara Loftus
This RFC patch makes use of the vhost-user implementation that is available in DPDK 2.0. Submitting as RFC as this implementation depends on OVS support for DPDK 2.0. As such, this patch can be considered experimental. Since DPDK 2.0 support is necessary for vhost-user, please use this patch to en

[ovs-dev] [PATCH RFC v3 1/1] netdev-dpdk: add dpdk vhost-user ports

2015-04-29 Thread Ciara Loftus
and can be enabled using a configure flag, steps for which are available in INSTALL.DPDK.md. A new dpdkvhostuser port will create a unix domain socket which when provided to QEMU is used to facilitate communication between the virtio-net device on the VM and the OVS port on the host. Signed-off

[ovs-dev] [PATCH] netdev-dpdk: add dpdk vhost-user ports

2015-05-05 Thread Ciara Loftus
and can be enabled using a configure flag, steps for which are available in INSTALL.DPDK.md. A new dpdkvhostuser port will create a unix domain socket which when provided to QEMU is used to facilitate communication between the virtio-net device on the VM and the OVS port on the host. Signed-off

[ovs-dev] [PATCH v2] netdev-dpdk: add dpdk vhost-user ports

2015-05-07 Thread Ciara Loftus
('dpdkvhost') ports are still available, and will be enabled if vhost-cuse support is detected in the DPDK build specified during compilation of the switch. Otherwise, vhost-user ports are enabled. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md

[ovs-dev] [PATCH v3] netdev-dpdk: add dpdk vhost-user ports

2015-05-11 Thread Ciara Loftus
('dpdkvhost') ports are still available, and will be enabled if vhost-cuse support is detected in the DPDK build specified during compilation of the switch. Otherwise, vhost-user ports are enabled. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md

[ovs-dev] [PATCH v4] netdev-dpdk: add dpdk vhost-user ports

2015-05-13 Thread Ciara Loftus
n. - Fixed indentation & line-wrap. - Simplified and corrected the processing of vhost ovs-vswitchd flags. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 174 ++-- acinclude.m4| 3 + lib/netdev-dpdk

[ovs-dev] [PATCH] dpif-netdev: Increase the number of EMC entries

2015-05-13 Thread Ciara Loftus
) which in turn yields improved throughput when processing multiple flows of traffic. Signed-off-by: Ciara Loftus --- lib/dpif-netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index f1d65f5..a4d96a4 100644 --- a/lib/dpif-netdev.c +++ b

[ovs-dev] [PATCH v5] netdev-dpdk: add dpdk vhost-user ports

2015-05-18 Thread Ciara Loftus
n. - Fixed indentation & line-wrap. - Simplified and corrected the processing of vhost ovs-vswitchd flags. v5: - Removed unnecessary strdup() - Fixed spacing Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 174 ++-- acinclude.m4

[ovs-dev] [PATCH v6] netdev-dpdk: add dpdk vhost-user ports

2015-05-21 Thread Ciara Loftus
n. - Fixed indentation & line-wrap. - Simplified and corrected the processing of vhost ovs-vswitchd flags. v5: - Removed unnecessary strdup() - Fixed spacing v6: - Rebased to master Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 174 ++--

[ovs-dev] [PATCH v7] netdev-dpdk: add dpdk vhost-user ports

2015-05-22 Thread Ciara Loftus
n. - Fixed indentation & line-wrap. - Simplified and corrected the processing of vhost ovs-vswitchd flags. v5: - Removed unnecessary strdup() - Fixed spacing v6: - Rebased to master v7: - Rebased to master Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md

[ovs-dev] [PATCH v8] netdev-dpdk: add dpdk vhost-user ports

2015-06-04 Thread Ciara Loftus
('dpdkvhost') ports are still available as 'dpdkvhostcuse' ports and will be enabled if vhost-cuse support is detected in the DPDK build specified during compilation of the switch. Otherwise, vhost-user ports are enabled. Signed-off-by: Ciara Loftus --- v4: - Included hel

[ovs-dev] [PATCH RFC 0/1] netdev-dpdk.c: add dpdk vhost-user ports

2015-03-19 Thread Ciara Loftus
This RFC patch makes use of the vhost-user implementation that will be available in DPDK 2.0. Submitting as RFC as this implementation depends on a stable version of DPDK 2.0 and following that, OVS support for DPDK 2.0. As such, this patch can be considered experimental. This patch builds on top

[ovs-dev] [PATCH RFC 1/1] netdev-dpdk: add dpdk vhost-user ports

2015-03-19 Thread Ciara Loftus
is used to facilitate communication between the virtio-net device on the VM and the OVS port. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 115 acinclude.m4| 13 ++ configure.ac| 1 + lib/netdev-dpdk.c

[ovs-dev] [PATCH] bugfix: Fix DPDK linking when using a relative path

2015-09-16 Thread Ciara Loftus
When linking with DPDK, if a relative path is used with the '--with-dpdk' flag, then OVS will always be compiled with vHost Cuse support, even if it is not enabled in the DPDK build. This patch fixes this problem, and enables the correct version of vHost despite whether or not a relative or absolut

[ovs-dev] [PATCH 1/2] bugfix: Fix DPDK linking when using a relative path

2015-09-16 Thread Ciara Loftus
elative or absolute path is used. Signed-off-by: Ciara Loftus --- acinclude.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index b755dc4..47d9318 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -174,9 +174,10 @@ AC_DEFUN([OVS_CHECK_DPDK], [ DP

[ovs-dev] [PATCH 2/2] AUTHORS: Add Ciara Loftus

2015-09-16 Thread Ciara Loftus
Signed-off-by: Ciara Loftus --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index a7f40bb..12d7e2e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -34,6 +34,7 @@ Casey Barkercrbar...@google.com Christoph Jaegerc...@linux.com Chris Wright

[ovs-dev] [PATCH] netdev-dpdk: Fix comment about vhost cuse/user vswitchd arguments

2015-10-21 Thread Ciara Loftus
Signed-off-by: Ciara Loftus --- lib/netdev-dpdk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 93b0589..ea2d9f3 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -2111,9 +2111,9 @@ process_vhost_flags(char *flag, char

[ovs-dev] [PATCH] netdev-dpdk: Clean-up after vHost User port delete

2015-10-21 Thread Ciara Loftus
Unregister and delete the socket associated with a vhost-user port when the port is deleted and/or the switch is brought down. Do not delete the socket if the vhost-user device is still attached to the guest. Signed-off-by: Ciara Loftus --- lib/netdev-dpdk.c | 3 +++ 1 file changed, 3

[ovs-dev] [PATCH v2] netdev-dpdk: Clean-up after vHost User port delete

2015-10-21 Thread Ciara Loftus
Unregister and delete the socket associated with a vhost-user port when the port is deleted and/or the switch is brought down. Do not delete the socket if the vhost-user device is still attached to the guest. Signed-off-by: Ciara Loftus --- lib/netdev-dpdk.c | 4 1 file changed, 4

[ovs-dev] [PATCH] INSTALL.DPDK: Mention issue with QEMU v2.4.0 & dpdkvhostuser

2015-10-29 Thread Ciara Loftus
Currently when using QEMU v2.4.0+, two (or more) dpdkvhostuser ports cannot be unbound from the kernel driver in the guest without causing the ovs-vswitchd process to crash. Document this limitation. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 10 ++ 1 file changed, 10 insertions

[ovs-dev] [PATCH v2] INSTALL.DPDK: Mention issue with QEMU v2.4.0 & dpdkvhostuser

2015-11-05 Thread Ciara Loftus
Currently when using QEMU v2.4.0+, two (or more) dpdkvhostuser ports cannot be unbound from the kernel driver in the guest without causing the ovs-vswitchd process to crash. Document this limitation and potential workarounds. Signed-off-by: Ciara Loftus --- INSTALL.DPDK.md | 12 1

<    1   2