[dpdk-dev] [PATCH] eal: add missing include to debug header

2016-05-05 Thread Thomas Monjalon
2016-05-05 17:07, Ferruh Yigit: > On 5/5/2016 1:59 PM, Bruce Richardson wrote: > > On Wed, May 04, 2016 at 05:37:56PM +0100, Bruce Richardson wrote: > >> The header file rte_debug.h makes use of the "unlikely" macro which > >> means it should include the rte_branch_prediction.h header file. > >> >

[dpdk-dev] [PATCH 2/2] test: add autotest for external mempool stack handler

2016-05-05 Thread David Hunt
Signed-off-by: David Hunt --- app/test/test_mempool.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 09951cc..8190f20 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -570,6 +570,7 @@

[dpdk-dev] [PATCH 1/2] mempool: add stack (fifo) mempool handler

2016-05-05 Thread David Hunt
This is a mempool handler that is useful for pipelining apps, where the mempool cache doesn't really work - example, where we have one core doing rx (and alloc), and another core doing Tx (and return). In such a case, the mempool ring simply cycles through all the mbufs, resulting in a LLC miss on

[dpdk-dev] [PATCH 0/2] mempool: add stack (fifo) mempool handler

2016-05-05 Thread David Hunt
This patch set adds a fifo stack handler to the external mempool manager. This patch set depends on the 3 part external mempool handler patch set (v4 of the series): http://dpdk.org/dev/patchwork/patch/12077/ which depends on the 36 part patch set for mempool rework

[dpdk-dev] [PATCH] vhost: add support for dynamic vhost PMD creation

2016-05-05 Thread Ferruh Yigit
Add rte_eth_from_vhost() API to create vhost PMD dynamically from applications. Signed-off-by: Ferruh Yigit --- drivers/net/vhost/rte_eth_vhost.c | 117 drivers/net/vhost/rte_eth_vhost.h | 19 + drivers/net/vhost/rte_pmd_vhost_version.map |

[dpdk-dev] [RFC 4/4] app/test: support resources archived by tar

2016-05-05 Thread Jan Viktorin
On Thu, 5 May 2016 14:33:01 +0100 Bruce Richardson wrote: > On Fri, Apr 29, 2016 at 03:11:36PM +0200, Jan Viktorin wrote: > > When needing a more complex resource (a file hierarchy), packing every > > single > > file as a single resource would be very ineffective. For that purpose, it is > >

[dpdk-dev] [RFC 0/4] Include resources in tests

2016-05-05 Thread Jan Viktorin
On Thu, 5 May 2016 14:29:30 +0100 Bruce Richardson wrote: > On Fri, Apr 29, 2016 at 03:11:32PM +0200, Jan Viktorin wrote: > > Hello, > > > > this patch set introduces a mechanism to include a resource (in general a > > blob) > > into the test binary. This allows to make tests less dependent on

[dpdk-dev] [PATCH 6/6] testpmd: update documentation

2016-05-05 Thread Zhihong Wang
This patch updates documentation for testpmd. Signed-off-by: Zhihong Wang --- doc/guides/testpmd_app_ug/run_app.rst | 1 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 10 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst

[dpdk-dev] [PATCH 5/6] testpmd: show topology at forwarding start

2016-05-05 Thread Zhihong Wang
This patch show topology at forwarding start. "show config fwd" also does this, but showing it directly can reduce the possibility of misconfiguration. Signed-off-by: Zhihong Wang --- app/test-pmd/testpmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH 4/6] testpmd: handle all rxqs in rss setup

2016-05-05 Thread Zhihong Wang
This patch removes constraints in rxq handling when multiqueue is enabled to handle all the rxqs. Current testpmd forces a dedicated core for each rxq, some rxqs may be ignored when core number is less than rxq number, and that causes confusion and inconvenience. Signed-off-by: Zhihong Wang

[dpdk-dev] [PATCH 3/6] testpmd: show throughput in port stats

2016-05-05 Thread Zhihong Wang
This patch adds throughput numbers (in the period since last use of this command) in port statistics display for "show port stats (port_id|all)". Signed-off-by: Zhihong Wang --- app/test-pmd/config.c | 20 1 file changed, 20 insertions(+) diff --git

[dpdk-dev] [PATCH 2/6] testpmd: configurable tx_first burst number

2016-05-05 Thread Zhihong Wang
This patch enables configurable tx_first burst number. Use "start tx_first (burst_num)" to specify how many bursts of packets to be sent before forwarding start, or "start tx_first" like before for the default 1 burst send. Signed-off-by: Zhihong Wang --- app/test-pmd/cmdline.c | 41

[dpdk-dev] [PATCH 1/6] testpmd: add io_retry forwarding

2016-05-05 Thread Zhihong Wang
This patch adds an io_retry-fwd in testpmd to prevent most packet losses. It can be enabled by "set fwd io_retry". io-fwd is the fastest possible forwarding engine, good for basic performance test. Adding retry mechanism expands test case coverage to support scenarios where packet loss affects

[dpdk-dev] [PATCH 0/6] vhost/virtio performance loopback utility

2016-05-05 Thread Zhihong Wang
This patch enables vhost/virtio pmd performance loopback test in testpmd. All the features are for general usage. The loopback test focuses on the maximum full-path packet forwarding performance between host and guest, it runs vhost/virtio pmd only without introducing extra overhead. Therefore,

[dpdk-dev] [PATCH] eal: add missing include to debug header

2016-05-05 Thread Ferruh Yigit
On 5/5/2016 1:59 PM, Bruce Richardson wrote: > On Wed, May 04, 2016 at 05:37:56PM +0100, Bruce Richardson wrote: >> The header file rte_debug.h makes use of the "unlikely" macro which >> means it should include the rte_branch_prediction.h header file. >> >> Fixes: 50705e8e3cdd ("eal: add assert

[dpdk-dev] [PATCH 15/15] i40e/base: add capability of disabling all link

2016-05-05 Thread Helin Zhang
It adds a flag, which can be used to tell the firmware to disable the link on all ports. Signed-off-by: Helin Zhang --- doc/guides/rel_notes/release_16_07.rst | 7 +++ drivers/net/i40e/Makefile | 2 +- drivers/net/i40e/base/i40e_adminq_cmd.h | 3 +++ 3 files changed, 11

[dpdk-dev] [PATCH 14/15] i40e/base: add RSS config to virtual channel

2016-05-05 Thread Helin Zhang
It add opcodes and structures to support RSS configuration by PF driver on behalf of the VF drivers. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_virtchnl.h | 45 --- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git

[dpdk-dev] [PATCH 13/15] i40e/base: add input set mask definitions

2016-05-05 Thread Helin Zhang
It adds input set mask definitions for RSS, flow director and flex bytes. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_type.h | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/net/i40e/base/i40e_type.h

[dpdk-dev] [PATCH 12/15] i40e/base: increase supported AQ API version

2016-05-05 Thread Helin Zhang
It increases the supported AQ API version to 1.5 for X722. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h index 7ed3048..bc68b47 100644

[dpdk-dev] [PATCH 11/15] i40e/base: add more device capabilities

2016-05-05 Thread Helin Zhang
It adds more device capabilities for NVM management. - if update is available - if security check is needed Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_adminq_cmd.h | 1 + drivers/net/i40e/base/i40e_common.c | 6 ++ drivers/net/i40e/base/i40e_type.h | 5 + 3

[dpdk-dev] [PATCH 10/15] i40e/base: fix debug output

2016-05-05 Thread Helin Zhang
It fixes the debug output messages. Fixes: f388b435bc33 ("i40e/base: clean adminq debug") Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/base/i40e_common.c

[dpdk-dev] [PATCH 09/15] i40e/base: fix the number of MSIX vector

2016-05-05 Thread Helin Zhang
It corrects the number of MSIX vector in a debug info. Fixes: 889bc9f0cd3a ("i40e/base: unify the capability function") Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_common.c

[dpdk-dev] [PATCH 08/15] i40e/base: add new devices

2016-05-05 Thread Helin Zhang
It adds new device IDs of both X722 and XXV710, and new PHY types. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_adminq_cmd.h | 4 drivers/net/i40e/base/i40e_common.c | 4 drivers/net/i40e/base/i40e_devids.h | 4

[dpdk-dev] [PATCH 07/15] i40e/base: fix problematic mirror rule ID check

2016-05-05 Thread Helin Zhang
It removes the problematic mirror rule ID check. It returns an error if the mirror rule ID is 0, which is a valid value. Fixes: 0bf2dbbe077c ("i40e/base: support mirroring rules") Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_common.c | 5 + 1 file changed, 1 insertion(+), 4

[dpdk-dev] [PATCH 06/15] i40e/base: expose mirroring config

2016-05-05 Thread Helin Zhang
It exposes the configuration of mirroring or not egress traffic to VSIs in promiscuous mode, as latest firmware supports that from API version 1.5. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_common.c| 9 ++--- drivers/net/i40e/base/i40e_prototype.h | 4 ++--

[dpdk-dev] [PATCH 05/15] i40e/base: fixup Geneve VNI for HW use

2016-05-05 Thread Helin Zhang
The hardware doesn't layout the Geneve VNI quite the same as the VxLAN VNI, so it needs to adjust it before sending through the AQ commands as the workaround. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_common.c | 35 ++-

[dpdk-dev] [PATCH 04/15] i40e/base: code style fixes

2016-05-05 Thread Helin Zhang
It adds code style fixes. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_adminq.c | 52 +++-- drivers/net/i40e/base/i40e_adminq.h | 4 +-- drivers/net/i40e/base/i40e_adminq_cmd.h | 21 +++-- drivers/net/i40e/base/i40e_common.c | 5

[dpdk-dev] [PATCH 03/15] i40e/base: refactor NVM update event handling

2016-05-05 Thread Helin Zhang
It refactors the NVM update event handling, with specifying the AQ event opcode to wait on. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_adminq.c| 33 +-- drivers/net/i40e/base/i40e_nvm.c | 77 +++---

[dpdk-dev] [PATCH 02/15] i40e/base: refactor NVM update status info

2016-05-05 Thread Helin Zhang
It centralizes all NVM update status info in the same structure, for better management. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_adminq.c | 6 +++--- drivers/net/i40e/base/i40e_adminq.h | 1 - drivers/net/i40e/base/i40e_nvm.c| 12 ++--

[dpdk-dev] [PATCH 01/15] i40e/base: remove HMC AQ APIs

2016-05-05 Thread Helin Zhang
HMC AQ APIs were removed from the latest datasheet, and hence remove its implementations and relevant. Signed-off-by: Helin Zhang --- drivers/net/i40e/base/i40e_adminq.c | 4 --- drivers/net/i40e/base/i40e_adminq_cmd.h | 25 -- drivers/net/i40e/base/i40e_common.c | 61

[dpdk-dev] [PATCH 00/15] i40e base driver update

2016-05-05 Thread Helin Zhang
This is the i40e base driver update, which includes bug fixes, enhancements, refactoring, and new device enabling. Below are the details. Helin Zhang (15): i40e/base: remove HMC AQ APIs i40e/base: refactor NVM update status info i40e/base: refactor NVM update event handling i40e/base:

[dpdk-dev] [PATCH v2 8/8] app/testpmd: check for valid mbuf pool

2016-05-05 Thread Bernard Iremonger
Fixes: b6ea6408fbc7 ("ethdev: store numa_node per device") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index f044a91..dad616d 100644 ---

[dpdk-dev] [PATCH v2 7/8] app/testpmd: check for valid socket id when attaching port

2016-05-05 Thread Bernard Iremonger
Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index e632a5b..f044a91 100644 ---

[dpdk-dev] [PATCH v2 6/8] app/testpmd: move call to init_fwd_streams

2016-05-05 Thread Bernard Iremonger
Move call to init_fwd_streams from start_port function to start_packet_forwarding function. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index

[dpdk-dev] [PATCH v2 5/8] app/testpmd: add function port_is_bonding_slave

2016-05-05 Thread Bernard Iremonger
Use this function in stop_port and close_port functions. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 18 ++ app/test-pmd/testpmd.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 2c58075..e5e50ca

[dpdk-dev] [PATCH v2 4/8] app/testpmd: reconfigure forwarding after changing portlist

2016-05-05 Thread Bernard Iremonger
Set nb_fwd_ports to zero on quit. Check portlist has been set before displaying forwarding configuration. Fixes: d3a274ce9dee ("app/testpmd: handle SIGINT and SIGTERM") Fixes: af75078fece3 ("first public release") Signed-off-by: Bernard Iremonger --- app/test-pmd/config.c | 8 ++--

[dpdk-dev] [PATCH v2 3/8] app/testpmd: check port is not forwarding in stop_port and close_port

2016-05-05 Thread Bernard Iremonger
Add calls to port_is_forwarding function. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 5dc7bba..11b4cf7 100644 ---

[dpdk-dev] [PATCH v2 2/8] app/testpmd: don't update fwding config when attaching/detaching a port

2016-05-05 Thread Bernard Iremonger
Remove checks on test_done variable. Remove code to update forwarding configuration. Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 28 +--- 1 file changed, 1 insertion(+), 27 deletions(-) diff

[dpdk-dev] [PATCH v2 1/8] app/testpmd: add function port_is_forwarding

2016-05-05 Thread Bernard Iremonger
Add function port_is_forwarding to check whether a port is forwarding or not. Signed-off-by: Bernard Iremonger --- app/test-pmd/config.c | 18 +- app/test-pmd/testpmd.h | 3 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/config.c

[dpdk-dev] [PATCH v2 0/8] app/testpmd: forwarding

2016-05-05 Thread Bernard Iremonger
Modify testpmd to allow stop, close, detach and attach of a port without stopping forwarding. This patchset should not be applied unless the following bonding patchset is applied: 0001-bonding-replace-spinlock-with-read-write-lock.patch

[dpdk-dev] [PATCH 5/5] bonding: add read/write lock to the link_update function

2016-05-05 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_pmd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 6e1cc10..fff6654 100644 ---

[dpdk-dev] [PATCH 4/5] bonding: add read/write lock to stop function

2016-05-05 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_pmd.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index c33a860..6e1cc10 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++

[dpdk-dev] [PATCH 3/5] bonding: remove memcopy of slaves from rx/tx burst function

2016-05-05 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_pmd.c | 41 +- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index c3e772c..c33a860 100644 ---

[dpdk-dev] [PATCH 2/5] bonding: add read/write lock to rx/tx burst functions

2016-05-05 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_pmd.c | 112 + 1 file changed, 85 insertions(+), 27 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index ed6245b..c3e772c 100644 ---

[dpdk-dev] [PATCH 1/5] bonding: replace spinlock with read/write lock

2016-05-05 Thread Bernard Iremonger
Fixes: a45b288ef21a ("bond: support link status polling") Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_api.c | 10 +++--- drivers/net/bonding/rte_eth_bond_pmd.c | 57 +++--- drivers/net/bonding/rte_eth_bond_private.h | 6 ++-- 3 files

[dpdk-dev] [PATCH 0/5] bonding: locks

2016-05-05 Thread Bernard Iremonger
Replace spinlock with read/write lock. Add read/write locks where needed to protect active_slave_count and active_slaves[]. With read/write locks in place remove memcpy of slaves. Bernard Iremonger (5): bonding: replace spinlock with read/write lock bonding: add read/write lock to rx/tx burst

[dpdk-dev] [PATCH 2/2] app/test: add aes-ni multi-buffer pmd test cases for AES CTR

2016-05-05 Thread Fan Zhang
Added tests cases for AES-NI MB PMD working in counter mode. Signed-off-by: Fan Zhang --- app/test/test_cryptodev.c | 13 + 1 file changed, 13 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 03d6f02..45e6daa 100644 ---

[dpdk-dev] [PATCH 1/2] aesni_mb: add counter mode support

2016-05-05 Thread Fan Zhang
This patch provides counter mode support to AES-NI multi-buffer library. The following cipher algorithm is enabled: - RTE_CRYPTO_CIPHER_AES_CTR Signed-off-by: Fan Zhang --- doc/guides/cryptodevs/aesni_mb.rst | 3 +++ doc/guides/cryptodevs/overview.rst | 6 +++---

[dpdk-dev] [PATCH 0/2] Add AES Counter mode support for AES-NI MB PMD

2016-05-05 Thread Fan Zhang
This patchset adds counter mode support to AES-NI multi-buffer library and appropriate test cases. This patchset depends on "doc: fix supported AES-CBC key lengths" (http://dpdk.org/ml/archives/dev/2016-May/038358.html) and "Added AES counter mode capability"

[dpdk-dev] [PATCH 2/2] app/test: add test cases for AES CTR

2016-05-05 Thread Arek Kusztal
Added tests cases for AES working in counter mode Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 254 app/test/test_cryptodev_aes_ctr_test_vectors.h | 257 + 2 files changed, 511 insertions(+) create mode 100644

[dpdk-dev] [PATCH 1/2] qat: add AES counter mode capability

2016-05-05 Thread Arek Kusztal
Added possibility for AES to work in counter mode Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/overview.rst | 6 +++--- doc/guides/cryptodevs/qat.rst | 3 +++ doc/guides/rel_notes/release_16_07.rst | 5 + drivers/crypto/qat/qat_crypto.c| 29

[dpdk-dev] [PATCH 0/2] Added AES counter mode capability

2016-05-05 Thread Arek Kusztal
This patchset adds AES counter mode capability for Intel QuickAssist Technology crypto driver. It adds six test cases for 16B, 24B, 32B key size. Arek Kusztal (2): qat: add AES counter mode capability app/test: add test cases for AES CTR app/test/test_cryptodev.c | 254

[dpdk-dev] [RFC 4/4] app/test: support resources archived by tar

2016-05-05 Thread Bruce Richardson
On Fri, Apr 29, 2016 at 03:11:36PM +0200, Jan Viktorin wrote: > When needing a more complex resource (a file hierarchy), packing every single > file as a single resource would be very ineffective. For that purpose, it is > possible to pack the files into a tar archive, extract it before test from

[dpdk-dev] [RFC 0/4] Include resources in tests

2016-05-05 Thread Bruce Richardson
On Fri, Apr 29, 2016 at 03:11:32PM +0200, Jan Viktorin wrote: > Hello, > > this patch set introduces a mechanism to include a resource (in general a > blob) > into the test binary. This allows to make tests less dependent on the target > testing environment. The first use case is testing of PCI

[dpdk-dev] [PATCH 1/2] mempool: add stack (fifo) mempool handler

2016-05-05 Thread Stephen Hemminger
Overall, this is ok, but why can't it be the default? Lots of little things should be cleaned up > +struct rte_mempool_common_stack > +{ > + /* Spinlock to protect access */ > + rte_spinlock_t sl; > + > + uint32_t size; > + uint32_t len; > + void *objs[]; > + > +#ifdef

[dpdk-dev] [PATCH] i40evf: fix return value if command fails

2016-05-05 Thread Jingjing Wu
Previously, if message is sent successfully, but no response is received, function "i40evf_execute_vf_cmd" will return without error. The root cause is value "err" is overwritten. This patch fixes it. Fixes: ae19955e7c86 ("i40evf: support reporting PF reset") Signed-off-by: Jingjing Wu ---

[dpdk-dev] [PATCH] eal: add missing include to debug header

2016-05-05 Thread Bruce Richardson
On Wed, May 04, 2016 at 05:37:56PM +0100, Bruce Richardson wrote: > The header file rte_debug.h makes use of the "unlikely" macro which > means it should include the rte_branch_prediction.h header file. > > Fixes: 50705e8e3cdd ("eal: add assert macro for debug") > > Signed-off-by: Bruce

[dpdk-dev] Old oversubscription related checkin

2016-05-05 Thread Dumitrescu, Cristian
Hi Sridhar, I think this patch is simply the implementation of the oversubscription feature, as introduced by DPDK release 1.4.1. Most likely, this patch is the way Thomas added this Intel release to dpdk.org. The oversubscription feature was never implemented for all 4 traffic classes. The

[dpdk-dev] [PATCH] doc: fix supported AES-CBC key lengths

2016-05-05 Thread Pablo de Lara
AES-NI MB PMD supports 128, 192 and 256-bit keys, not 128, 256 and 512-bit keys. Fixes: 924e84f87306 ("aesni_mb: add driver for multi buffer based crypto") Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_mb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] [RFC PATCH 0/4]: Implement module information export

2016-05-05 Thread Bruce Richardson
On Wed, May 04, 2016 at 11:16:42PM +0200, Thomas Monjalon wrote: > This discussion requires more opinions. > Please everybody, READ and COMMENT. Thanks > > If it is not enough visible, a new thread could be started later. > > 2016-05-04 07:43, Neil Horman: > > On Wed, May 04, 2016 at 10:24:18AM

[dpdk-dev] [PATCH 1/5] bonding: replace spinlock with read/write lock

2016-05-05 Thread Stephen Hemminger
On Thu, 5 May 2016 16:14:56 +0100 Bernard Iremonger wrote: > Fixes: a45b288ef21a ("bond: support link status polling") > Signed-off-by: Bernard Iremonger You know an uncontested reader/writer lock is significantly slower than a spinlock.

[dpdk-dev] [PATCH 3/3] virtio-user: add mq in virtual pci driver

2016-05-05 Thread Jianfeng Tan
Partially implement ctrl-queue to handle control command with class of VIRTIO_NET_CTRL_MQ and with cmd of VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET to handle mq support. After filling the command into ctrl-queue, we dequeue it when notify_queue(), and invoke method from device emulation to enable/disable

[dpdk-dev] [PATCH 2/3] virtio-user: add mq in device emulation

2016-05-05 Thread Jianfeng Tan
Multi-queue requires VIRTIO_NET_F_MQ and VIRTIO_NET_F_CTRL_VQ in feature negotiation. Mainly two changes in virtio-user device emulation layer. - Multi-queue requires ctrl-queue. So ctrl-queue will by enabled automatically when multi-queue is specified. - Provide a method

[dpdk-dev] [PATCH 1/3] virtio-user: add mq in vhost user adapter

2016-05-05 Thread Jianfeng Tan
This patch mainly adds method in vhost user adapter to communicate enable/disable queues messages with vhost user backend. Signed-off-by: Jianfeng Tan --- drivers/net/virtio/virtio_user/vhost.h | 4 drivers/net/virtio/virtio_user/vhost_user.c | 21 + 2 files

[dpdk-dev] [PATCH 0/3] add multi queue support for virtio-user

2016-05-05 Thread Jianfeng Tan
This patch set depends on below patch sets: - http://dpdk.org/ml/archives/dev/2016-April/038111.html - http://dpdk.org/ml/archives/dev/2016-April/038118.html - http://dpdk.org/ml/archives/dev/2016-April/038121.html Add multi queue support for virtio-user virtual port. Patch 1 adds vhost

[dpdk-dev] [RFC PATCH 0/4]: Implement module information export

2016-05-05 Thread Neil Horman
On Wed, May 04, 2016 at 11:16:42PM +0200, Thomas Monjalon wrote: > This discussion requires more opinions. > Please everybody, READ and COMMENT. Thanks > > If it is not enough visible, a new thread could be started later. > > 2016-05-04 07:43, Neil Horman: > > On Wed, May 04, 2016 at 10:24:18AM

[dpdk-dev] [PATCH v2] lib: fix DCB config issue on ixgbe

2016-05-05 Thread Wenzhuo Lu
An issue is found that DCB cannot be configged on ixgbe NICs. It's said the TX queue number is not right. On ixgbe the max TX queue number is not fixed, it depends on the multi-queue mode. The API rte_eth_dev_configure should be used to config this mode. But the input of this API includes TX queue

[dpdk-dev] [PATCH] virtio: split virtio rx/tx queue

2016-05-05 Thread Xie, Huawei
On 5/5/2016 11:46 AM, Yuanhan Liu wrote: > On Thu, May 05, 2016 at 03:29:44AM +, Xie, Huawei wrote: >> On 5/5/2016 11:03 AM, Yuanhan Liu wrote: >>> On Thu, May 05, 2016 at 01:54:25AM +, Xie, Huawei wrote: On 5/5/2016 7:59 AM, Yuanhan Liu wrote: > On Wed, May 04, 2016 at 08:50:27AM

[dpdk-dev] [PATCH 4/4] igb: automatic link recovery on VF

2016-05-05 Thread Wenzhuo Lu
When the physical link is down and recover later, the VF link cannot recover until the user stop and start it manually. This patch implements the automatic recovery of VF port. The automatic recovery bases on the link up/down message received from PF. When VF receives the link up/down message, it

[dpdk-dev] [PATCH 3/4] ixgbe: automatic link recovery on VF

2016-05-05 Thread Wenzhuo Lu
When the physical link is down and recover later, the VF link cannot recover until the user stop and start it manually. This patch implements the automatic recovery of VF port. The automatic recovery bases on the link up/down message received from PF. When VF receives the link up/down message, it

[dpdk-dev] [PATCH 2/4] igb: VF supports mailbox interruption for PF link up/down

2016-05-05 Thread Wenzhuo Lu
In this scenario, kernel PF + DPDK VF, when PF finds the link state is changed, up -> down or down -> up, it will send a mailbox message to VF. This patch enables the support of the interruption of mailbox, so VF can receive the message for link up/down. Signed-off-by: Wenzhuo Lu ---

[dpdk-dev] [PATCH 1/4] ixgbe: VF supports mailbox interruption for PF link up/down

2016-05-05 Thread Wenzhuo Lu
In this scenario, kernel PF + DPDK VF, when PF finds the link state is changed, up -> down or down -> up, it will send a mailbox message to VF. This patch enables the support of the interruption of mailbox, so VF can receive the message for link up/down. Signed-off-by: Wenzhuo Lu ---

[dpdk-dev] [PATCH 0/4] automatic link recovery on ixgbe/igb VF

2016-05-05 Thread Wenzhuo Lu
Now if the PF link is down and up, VF doesn't handle this event, user need to reset the VF port to let it recover. This patch set addes the support of the mailbox interruption on VF. So, VF can receice the messges for physical link down/up. And VF will handle this event and let the VF link recover

[dpdk-dev] [PATCH v3 2/2] virtio: fix memory leak of virtqueue memzones

2016-05-05 Thread Tan, Jianfeng
Hi Yuanhan, > -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Thursday, May 5, 2016 11:28 AM > To: Tan, Jianfeng > Cc: dev at dpdk.org; Xie, Huawei > Subject: Re: [dpdk-dev] [PATCH v3 2/2] virtio: fix memory leak of virtqueue > memzones > > ping...

[dpdk-dev] [PATCH] virtio: split virtio rx/tx queue

2016-05-05 Thread Xie, Huawei
On 5/5/2016 11:03 AM, Yuanhan Liu wrote: > On Thu, May 05, 2016 at 01:54:25AM +, Xie, Huawei wrote: >> On 5/5/2016 7:59 AM, Yuanhan Liu wrote: >>> On Wed, May 04, 2016 at 08:50:27AM +0800, Huawei Xie wrote: -int virtio_dev_queue_setup(struct rte_eth_dev *dev, - int

[dpdk-dev] [PATCH] virtio: split virtio rx/tx queue

2016-05-05 Thread Xie, Huawei
On 5/5/2016 7:59 AM, Yuanhan Liu wrote: > On Wed, May 04, 2016 at 08:50:27AM +0800, Huawei Xie wrote: >> -int virtio_dev_queue_setup(struct rte_eth_dev *dev, >> -int queue_type, >> -uint16_t queue_idx, >> +static int >> +virtio_dev_cq_queue_setup(struct

[dpdk-dev] [RFC PATCH 0/4]: Implement module information export

2016-05-05 Thread Thomas Monjalon
This discussion requires more opinions. Please everybody, READ and COMMENT. Thanks If it is not enough visible, a new thread could be started later. 2016-05-04 07:43, Neil Horman: > On Wed, May 04, 2016 at 10:24:18AM +0200, David Marchand wrote: > > On Tue, May 3, 2016 at 1:57 PM, Neil Horman