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 +
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
:
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-
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
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
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/
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
Configurable queue sizing for DPDK ports did not make the 2.6 release
however the NEWS entry suggests it did. Fix this.
Signed-off-by: Ciara Loftus
---
NEWS | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/NEWS b/NEWS
index 725754a..04943d4 100644
--- a/NEWS
+++ b/NEWS
however
require the NIC to restart when changed.
Signed-off-by: Ciara Loftus
Acked-by: Yunhong Jiang
Acked-by: Ilya Maximets
---
v6:
* Reintroduce check for queue_size >= 0
v5:
* Rebase
* If invalid value is specified, request a default value rather than the
previous value.
* Added request
however
require the NIC to restart when changed.
Signed-off-by: Ciara Loftus
Acked-by: Yunhong Jiang
Acked-by: Ilya Maximets
---
v5:
* Rebase
* If invalid value is specified, request a default value rather than the
previous value.
* Added requested values to get_config
v4:
* Fix typos i
however
require the NIC to restart when changed.
Signed-off-by: Ciara Loftus
Acked-by: Yunhong Jiang
---
v4:
* Fix typos in vswitchd.xml
* Use internal OVS function is_pow2 rather than DPDK function
* Additional documentation
v3:
* Make queue sizes per-port rather than global
* Check if queu
however
require the NIC to restart when changed.
Signed-off-by: Ciara Loftus
---
v3:
* Make queue sizes per-port rather than global
* Check if queue size is power of 2 - fail if so.
v2:
* Rebase
INSTALL.DPDK-ADVANCED.md | 16 ++--
NEWS | 2 ++
lib/netde
nching the
daemon as changing the queue size requires the NIC to restart.
Signed-off-by: Ciara Loftus
---
v2
* Rebase
INSTALL.DPDK-ADVANCED.md | 16 ++--
NEWS | 3 +++
lib/netdev-dpdk.c| 35 +++
vswitchd/
nching the
daemon as changing the queue size requires the NIC to restart.
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK-ADVANCED.md | 16 ++--
NEWS | 3 +++
lib/netdev-dpdk.c| 35 +++
vswitchd/vswitch.xml | 26 +++
The 'dpdkvhostuser' port type no longer supports both server and client
mode. Instead, 'dpdkvhostuser' ports are always 'server' mode and
'dpdkvhostuserclient' ports are always 'client' mode.
Suggested-by: Daniele Di Proietto
Signed-off-by:
The 'dpdkvhostuser' port type no longer supports both server and client
mode. Instead, 'dpdkvhostuser' ports are always 'server' mode and
'dpdkvhostuserclient' ports are always 'client' mode.
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK-A
Fixes: 419876444357 ("netdev-dpdk: Remove dpdkvhostcuse ports")
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK-ADVANCED.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/INSTALL.DPDK-ADVANCED.md b/INSTALL.DPDK-ADVANCED.md
index 9694003..857c805 100755
--- a/IN
dn't been set
yet when the register function is called but happen to be zero. Provide
an explicit flag instead for better practice.
Fixes: ("c1ff66ac80b5: netdev-dpdk: vHost client mode and reconnect")
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 2 +-
1 file changed, 1 in
If NUMA information can't be derived from a vHost User device, only
print an error if the VHOST_NUMA option is enabled in DPDK. Otherwise
'fail' silently.
Fixes: 0a0f39df1d5a ("netdev-dpdk: Add support for DPDK 16.07")
Signed-off-by: Ciara Loftus
Reported-by: Ian
ed by QEMU. Once specified, the port stays
in 'client' mode for the remainder of its lifetime.
QEMU v2.7.0+ is required when using OVS in vHost client mode and QEMU in
vHost server mode.
Signed-off-by: Ciara Loftus
Signed-off-by: Daniele Di Proietto
---
v5:
- Added Daniele's inc
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
Acked-by: Ilya Maximets
---
INSTALL.DPDK-ADVANCED.md| 242 -
NEWS| 1 +
ac
A mix of vhost_user_ and vhost_ is used when naming vhost functions. The
'user_' has been dropped for consistency. Also remove empty init
functions for netdev dpdk classes.
Suggested-by: Daniele Di Proietto
Acked-by: Daniele Di Proietto
Acked-by: Flavio Leitner
Signed-off-by: Ci
Only 'dpdk' ports support flow control. This patch stops 'dpdkr' ports
from attempting to initialise this feature as this port type does not
support it.
Fixes: 9fd39370c12c ("netdev-dpdk: Add Flow Control support.")
Signed-off-by: Ciara Loftu
Only devices of type "DPDK_DEV_ETH" use the netdev_dpdk_set_config
function, so no need to check for the device type within the function.
Fixes: 9fd39370c12c ("netdev-dpdk: Add Flow Control support.")
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 27 +--
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 9a1f7cd..329b4ea 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -648,7 +648,7 @@ dpdk_eth_dev_init(struct netdev_dpdk
A mix of vhost_user_ and vhost_ is used when naming vhost functions. The
'user_' has been dropped for consistency. Also remove empty init
functions for netdev dpdk classes.
Suggested-by: Daniele Di Proietto
Acked-by: Daniele Di Proietto
Acked-by: Flavio Leitner
Signed-off-by: Ci
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
Acked-by: Ilya Maximets
---
INSTALL.DPDK-ADVANCED.md| 242 -
NEWS| 1 +
ac
server' mode. That is
unless a valid 'vhost-server-path' is specified for that device like so:
ovs-vsctl set Interface
options:vhost-server-path=
Once specified, the port stays in 'client' mode for the remainder of its
lifetime.
QEMU v2.7.0+ is required when using OVS
nd in
INSTALL.DPDK-ADVANCED.md
Pdump capability in OVS with DPDK will only be initialised if the
CONFIG_RTE_LIBRTE_PMD_PCAP=y and CONFIG_RTE_LIBRTE_PDUMP=y options are
set in DPDK. libpcap is required if the above configuration is used.
Signed-off-by: Ciara Loftus
---
v2:
- specify ovs_run
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
Acked-by: Ilya Maximets
---
INSTALL.DPDK-ADVANCED.md| 242 -
NEWS| 1 +
ac
ll act as the vHost client and connect to
sockets created and managed by QEMU which acts as the server. This mode
allows for reconnect capability, which allows vHost ports to resume
normal connectivity in event of switch reset.
QEMU v2.7.0+ is required when using OVS in client mode and QEMU in
serv
DPDK type ports no longer implement the netdev class 'init' function.
Set the function to NULL in NETDEV_DPDK_CLASS.
Suggested-by: Daniele Di Proietto
Acked-by: Daniele Di Proietto
Acked-by: Flavio Leitner
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 13 ++---
1 fi
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
---
INSTALL.DPDK-ADVANCED.md| 242 -
NEWS| 1 +
ac
ll act as the vHost client and connect to
sockets created and managed by QEMU which acts as the server. This mode
allows for reconnect capability, which allows vHost ports to resume
normal connectivity in event of switch reset.
QEMU v2.7.0+ is required when using OVS in client mode and QEMU in
serv
DPDK type ports no longer implement the netdev class 'init' function.
Set the function to NULL in NETDEV_DPDK_CLASS.
Suggested-by: Daniele Di Proietto
Acked-by: Daniele Di Proietto
Acked-by: Flavio Leitner
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 13 ++---
1 fi
nd in
INSTALL.DPDK-ADVANCED.md
The pdump feature is optional. Should you wish to use it, pcap libraries
must to be installed on the system and the CONFIG_RTE_LIBRTE_PMD_PCAP=y
and CONFIG_RTE_LIBRTE_PDUMP=y options set in DPDK. Additionally you must
set the 'dpdk-pdump' ovs other_config D
Prior to this patch, OVS with DPDK required the libnuma packages to
build. This patch removes this dependency, making it only a requirement
when the CONFIG_RTE_LIBRTE_VHOST_NUMA option is detected as enabled in
the DPDK build.
Signed-off-by: Ciara Loftus
---
.travis.yml | 1
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
---
INSTALL.DPDK-ADVANCED.md| 242 -
NEWS| 1 +
ac
DPDK type ports no longer implement the netdev class 'init' function.
Set the function to NULL in NETDEV_DPDK_CLASS.
Suggested-by: Daniele Di Proietto
Acked-by: Daniele Di Proietto
Acked-by: Flavio Leitner
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 13 ++---
1 fi
ll act as the vHost client and connect to
sockets created and managed by QEMU which acts as the server. This mode
allows for reconnect capability, which allows vHost ports to resume
normal connectivity in event of switch reset.
QEMU v2.7.0+ is required when using OVS in client mode and QEMU in
serv
7;vid'
Signed-off-by: Ciara Loftus
Tested-by: Maxime Coquelin
Tested-by: Robert Wojciechowicz
v5:
- rebase with OVS master
- un-rebase(?) with vHost User PMD patch
- use new RCU index mechanism on vid
v4:
- rebased with DPDK v16.07
- rebased with OVS master
- rebased with vHost User PMD
ice reconfigured at least once
- re-add call to rcu synchronise in destroy_device
- define IF_NAME_SZ and use instead of PATH_MAX
- added NEWS entry
v2:
- rebase with DPDK rc2
- rebase with OVS master
- fix vhost cuse compilation
Ciara Loftus (1):
netdev-dpdk: Add support for DPDK 16.07
.travi
Previous:
http://openvswitch.org/pipermail/dev/2016-July/074972.html
This RFC patch enables vHost 'client' mode in OVS and reconnect
capability, both of which are features which are available in the new
DPDK 16.07 release.
To use this patch, first apply the vHost User PMD patch:
http://openvswitc
ll act as the vHost client and connect to
sockets created and managed by QEMU which acts as the server. This mode
allows for reconnect capability, which allows vHost ports to resume
normal connectivity in event of switch reset.
QEMU v2.7.0+ is required when using OVS in client mode and QEMU in
serv
This commit removes extended statistics support for vHost User ports
until such a time that this becomes available in the vHost PMD in a
DPDK release supported by OVS.
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK.md | 10 +
NEWS |
A mix of vhost_user_ and vhost_ is used when naming vhost functions. The
'user_' has been dropped for consistency. Also remove empty
'vhost_user_class_init' function.
Signed-off-by: Ciara Loftus
Acked-by: Daniele Di Proietto
Acked-by: Flavio Leitner
---
li
Implementations for the netdev functions 'get_features' and
'get_status' are now available for vhost-user thanks to the addition of
the vHost PMD.
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(
Previous:
http://openvswitch.org/pipermail/dev/2016-July/075891.html
This RFC patch provides support for the DPDK 16.07 release which was
released 28th July. The reason for the RFC is that this patch depends
on support for the vHost User PMD found in the following patch-set:
http://openvswitch.or
This commit introduces support for DPDK 16.07 and consequently breaks
compatibility with DPDK 16.04.
DPDK 16.07 introduces some changes to the xstats API. OVS has been
modified to comply with the changes.
Signed-off-by: Ciara Loftus
Tested-by: Maxime Coquelin
Tested-by: Robert Wojciechowicz
inlock in send
- mutex nesting consistent with rest of code
- use MIN(OVS_VHOST_MAX_QUEUE_NUM, RTE_MAX_QUEUES_PER_PORT) instead of
OVS_VHOST_MAX_QUEUE_NUM
- style fixes
Ciara Loftus (5):
netdev-dpdk: Remove dpdkvhostcuse ports
netdev-dpdk: Consistent naming for vhost functions
netdev-dpdk: Ad
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
---
INSTALL.DPDK-ADVANCED.md| 241 -
NEWS| 1 +
ac
Prior to this patch, OVS with DPDK required the libnuma packages to
build. This patch removes this dependency, making it only a requirement
when the CONFIG_RTE_LIBRTE_VHOST_NUMA option is detected as enabled in
the DPDK build.
Signed-off-by: Ciara Loftus
---
.travis.yml | 1
This patch enables optional DPDK pdump support in OVS. Pdump allows you
to capture packets on DPDK devices. The pdump feature is enabled in
DPDK 16.07 which isn't supported in OVS yet so the patch for this needs
to be applied first before using this patch:
http://openvswitch.org/pipermail/dev/2016
nd in
INSTALL.DPDK-ADVANCED.md
The pdump feature is optional. Should you wish to use it, pcap libraries
must to be installed on the system and the CONFIG_RTE_LIBRTE_PMD_PCAP=y
and CONFIG_RTE_LIBRTE_PDUMP=y options set in DPDK. Additionally you must
set the 'dpdk-pdump' ovs other_config D
Prior to this patch, OVS with DPDK required the libnuma packages to
build. This patch removes this dependency, making it only a requirement
when the CONFIG_RTE_LIBRTE_VHOST_NUMA option is detected as enabled in
the DPDK build.
Signed-off-by: Ciara Loftus
---
.travis.yml | 1
A mix of vhost_user_ and vhost_ is used when naming vhost functions. The
'user_' has been dropped for consistency. Also remove empty
'vhost_user_class_init' function.
Signed-off-by: Ciara Loftus
Acked-by: Daniele Di Proietto
---
lib/netdev-dpdk.c | 25 -
This commit removes extended statistics support for vHost User ports
until such a time that this becomes available in the vHost PMD in a
DPDK release supported by OVS.
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK.md | 10 +
NEWS |
Previous:
http://openvswitch.org/pipermail/dev/2016-July/076245.html
The patchset combines two previously independent sets:
1. netdev-dpdk: Remove dpdkvhostcuse ports (v1)
http://openvswitch.org/pipermail/dev/2016-July/074696.html
2. vHost PMD (v3)
http://openvswitch.org/pipermail/dev/2016-May/070
Implementations for the netdev functions 'get_features' and
'get_status' are now available for vhost-user thanks to the addition of
the vHost PMD.
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
---
INSTALL.DPDK-ADVANCED.md | 241 -
NEWS | 1 +
acinclude.m4 | 12 --
lib/net
This commit removes extended statistics support for vHost User ports
until such a time that this becomes available in the vHost PMD in a
DPDK release supported by OVS.
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK.md | 10 +
NEWS |
e callback functions to static
- remove void cast when registering callbacks
- remove unnecessary spinlock in send
- mutex nesting consistent with rest of code
- use MIN(OVS_VHOST_MAX_QUEUE_NUM, RTE_MAX_QUEUES_PER_PORT) instead of
OVS_VHOST_MAX_QUEUE_NUM
- style fixes
Ciara Loftus (4):
netdev-dp
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
Acked-by: Daniele Di Proietto
---
INSTALL.DPDK-ADVANCED.md | 241 -
NEWS | 1 +
acinclude.m4 | 12 --
lib/net
Implementations for the netdev functions 'get_features' and
'get_status' are now available for vhost-user thanks to the addition of
the vHost PMD.
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(
A mix of vhost_user_ and vhost_ is used when naming vhost functions. The
'user_' has been dropped for consistency. Also remove empty
'vhost_user_class_init' function.
Signed-off-by: Ciara Loftus
Acked-by: Daniele Di Proietto
---
lib/netdev-dpdk.c | 25 -
This RFC patch provides initial support for DPDK 16.07-rc3 (release
candidate 3) which was tagged July 16th. I plan to submit a full patch
once the 16.07 release is final, hopefully later this month. This RFC
patch can be used in meantime to test with the DPDK master branch or
16.07-rc3 tag.
The m
7;vid'
Signed-off-by: Ciara Loftus
Tested-by: Maxime Coquelin
v3:
- fixed style issues
- fixed & simplified xstats frees
- use xcalloc & free instead of rte_mzalloc & rte_free for stats
- remove libnuma include
- fixed & simplified vHost NUMA set
- added flag to indicate de
et Interface my-port options:dpdk-pci=:06:00.3
Signed-off-by: Ciara Loftus
v2:
- remove global pci list
- remove unnecessary parenthesis
- remove return from void fn
- print pci like dpdk
- fix port ranges
---
INSTALL.DPDK-ADVANCED.md | 2 +-
INSTALL.DPDK.md | 10 ++--
NEWS
This RFC patch addresses the restrictions placed on dpdk port names.
Currently dpdk ports must be named dpdkX where X is the dpdk port-id.
This patch removes this restriction and introduces the requirement to
specify the pci address of the device in the other_config db. eg.
ovs-vsctl add-port br0
This commit removes extended statistics support for vHost User ports
until such a time that this becomes available in the vHost PMD in a
DPDK release supported by OVS.
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK.md | 10 +
NEWS |
Implementations for the netdev functions 'get_features' and
'get_status' are now available for vhost-user thanks to the addition of
the vHost PMD.
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(
two years old
this should however be a low impact change.
Signed-off-by: Ciara Loftus
Acked-by: Flavio Leitner
---
INSTALL.DPDK-ADVANCED.md | 241 -
NEWS | 1 +
acinclude.m4 | 12 --
lib/netdev-dpdk.c| 101 +---
cs for the vHost PMD so we can expect support for this to be
re-added in OVS at a later date.
Ciara Loftus (4):
netdev-dpdk: Remove dpdkvhostcuse ports
netdev-dpdk: Consistent naming for vhost functions
netdev-dpdk: Add vHost User PMD
netdev-dpdk: Add vhost-user 'get_features'
A mix of vhost_user_ and vhost_ is used when naming vhost functions. The
'user_' has been dropped for consistency. Also remove empty
'vhost_user_class_init' function.
Signed-off-by: Ciara Loftus
---
lib/netdev-dpdk.c | 20 +++-
1 file changed, 7 inserti
This RFC patch enables vHost 'client' mode in OVS and reconnect
capability, both of which are features which will be available in DPDK
16.07 due later this month.
To use this patch, first apply the patch for 16.07 support:
http://openvswitch.org/pipermail/dev/2016-July/074921.html
Then apply this
ll act as the vHost client and connect to
sockets created and managed by QEMU which acts as the server. This mode
allows for reconnect capability, which allows vHost ports to resume
normal connectivity in event of switch reset.
QEMU v2.7.0+ is required when using OVS in client mode and QEMU in
serv
7;vid'
Signed-off-by: Ciara Loftus
---
.travis/linux-build.sh | 2 +-
INSTALL.DPDK-ADVANCED.md | 8 +-
INSTALL.DPDK.md | 20 ++--
lib/netdev-dpdk.c| 243 +++
4 files changed, 135 insertions(+), 138 deletions(-)
diff --git
This RFC patch provides initial support for DPDK 16.07-rc2 (release
candidate 2) which was tagged July 12th. I plan to submit a full patch
once the 16.07 release is final, hopefully later this month. This RFC
patch can be used in meantime to test with the DPDK master branch or
16.07-rc2 tag.
The m
e.
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK-ADVANCED.md | 241 -
NEWS | 1 +
acinclude.m4 | 12 --
lib/netdev-dpdk.c| 101 +---
rhel/README.RHEL | 2 -
utilities/automake.mk| 1 -
utilities/qemu-wrap.
7;vid'
Signed-off-by: Ciara Loftus
---
.travis/linux-build.sh | 2 +-
INSTALL.DPDK.md| 12 +--
lib/netdev-dpdk.c | 247 -
3 files changed, 128 insertions(+), 133 deletions(-)
diff --git a/.travis/linux-build.sh b/.travis/linu
This RFC patch provides initial support for DPDK 16.07-rc1 (release
candidate 1) which was tagged July 4th. I plan to submit a full patch
once the 16.07 release is final, hopefully later this month. This RFC
patch can be used in meantime to test with the DPDK master branch or
16.07-rc1 tag.
The ma
This time with patch numbering :)
This RFC patch addresses the restrictions placed on dpdk port names.
Currently dpdk ports must be named dpdkX where X is the dpdk port-id.
This patch removes this restriction and introduces the requirement to
specify the pci address of the device in the other_con
et Interface my-port options:dpdk-pci=:06:00.3
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK.md | 12 ++---
NEWS | 2 +
lib/netdev-dpdk.c | 142 +-
3 files changed, 127 insertions(+), 29 deletions(-)
diff --git
et Interface my-port options:dpdk-pci=:06:00.3
Signed-off-by: Ciara Loftus
---
INSTALL.DPDK.md | 12 ++---
NEWS | 2 +
lib/netdev-dpdk.c | 142 +-
3 files changed, 127 insertions(+), 29 deletions(-)
diff --git
1 - 100 of 148 matches
Mail list logo