diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2016-07-08 16:52:37 +0300 |
---|---|---|
committer | Daniele Di Proietto <diproiettod@vmware.com> | 2016-07-08 15:27:21 -0700 |
commit | 81acebdaaf27048dbd6cb602a04b6cd0108c9423 (patch) | |
tree | 7a12c8771f9e36e5a4c3de30f174f99f239f90c6 /NEWS | |
parent | 62b87eab7de505242a5e52e9b625f69403e2e708 (diff) | |
download | openvswitch-81acebdaaf27048dbd6cb602a04b6cd0108c9423.tar.gz |
netdev-dpdk: Obtain number of queues for vhost ports from attached virtio.
Currently, there are few inconsistencies in ways to configure number of
queues for netdev device:
* dpif-netdev can't know about exact number of queues
allocated inside netdev.
This leads to constant mapping of queue-ids to 'real' ones.
* We are able to configure 'n_rxq' for vhost-user devices, but
there is only one sane number of rx queues which must be used
and configured manually (number of queues that allocated
in QEMU).
This patch disables configuration of 'n_rxq' for DPDK vHost devices.
Configuration of rx and tx queues now automatically applied from
connected virtio device. Standard reconfiguration mechanism was used to
apply this changes.
Also, now 'n_txq' and 'n_rxq' are always the real numbers of queues
in the device.
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ Post-v2.5.0 - DPDK: * New option "n_rxq" for PMD interfaces. Old 'other_config:n-dpdk-rxqs' is no longer supported. + Not supported by vHost interfaces. For them number of rx and tx queues + is applied from connected virtio device. * New appctl command 'dpif-netdev/pmd-rxq-show' to check the port/rxq assignment. * Type of log messages from PMD threads changed from INFO to DBG. |