[dpdk-dev] [Qemu-devel] [PATCH 1/2] vhost: enable any layout feature

2016-09-30 Thread Michael S. Tsirkin
On Fri, Sep 30, 2016 at 02:05:10PM +0200, Maxime Coquelin wrote: > > > On 09/29/2016 11:23 PM, Maxime Coquelin wrote: > > > > > > On 09/29/2016 10:21 PM, Michael S. Tsirkin wrote: > > > On Thu, Sep 29, 2016 at 10:05:22PM +0200, Maxime Coquelin wrote: > > > > > > > > > > > > On 09/29/2016 07:5

[dpdk-dev] [PATCH v4 0/4] Cuckoo hash enhancements

2016-09-30 Thread Gobriel, Sameh
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of De Lara Guarch, Pablo > Sent: Friday, September 30, 2016 12:39 AM > To: dev at dpdk.org > Cc: Richardson, Bruce ; De Lara Guarch, Pablo > > Subject: [dpdk-dev] [PATCH v4 0/4] Cuckoo hash enhancements > > This

[dpdk-dev] [PATCH v4 4/5] app/test: added big data GMAC test for libcrypto

2016-09-30 Thread Thomas Monjalon
2016-09-30 18:32, Slawomir Mrozowicz: > This patch add big data AES-GMAC test for libcrypto PMD. > > Signed-off-by: Piotr Azarewicz > --- > app/test/test_cryptodev.c | 18 +- > app/test/test_cryptodev_gcm_test_vectors.h | 8245 > +++- > 2 files changed

[dpdk-dev] [PATCH v4 5/5] examples/l2fwd-crypto: updated example for libcrypto PMD

2016-09-30 Thread Slawomir Mrozowicz
Libcrypto PMD has support for: Supported cipher algorithms: RTE_CRYPTO_CIPHER_3DES_CBC RTE_CRYPTO_CIPHER_AES_CBC RTE_CRYPTO_CIPHER_AES_CTR RTE_CRYPTO_CIPHER_3DES_CTR RTE_CRYPTO_CIPHER_AES_GCM Supported authentication algorithms: RTE_CRYPTO_AUTH_AES_GMAC RTE_CRYPTO_AUTH_MD5 RTE_CRYPTO_AUTH_SHA1 RT

[dpdk-dev] [PATCH v4 4/5] app/test: added big data GMAC test for libcrypto

2016-09-30 Thread Slawomir Mrozowicz
This patch add big data AES-GMAC test for libcrypto PMD. Signed-off-by: Piotr Azarewicz --- app/test/test_cryptodev.c | 18 +- app/test/test_cryptodev_gcm_test_vectors.h | 8245 +++- 2 files changed, 8242 insertions(+), 21 deletions(-) diff --git a/app

[dpdk-dev] [PATCH v4 3/5] app/test: added tests for libcrypto PMD

2016-09-30 Thread Slawomir Mrozowicz
This patch containes unit tests for libcrypto PMD. User can use app/test application to check how to use this pmd and to verify crypto processing. Test name is cryptodev_libcrypto_autotest. For performance test cryptodev_libcrypto_perftest can be used. Signed-off-by: Piotr Azarewicz Signed-off-b

[dpdk-dev] [PATCH v4 2/5] app/test: cryptodev AES tests rework

2016-09-30 Thread Slawomir Mrozowicz
This patch rework AES tests . In general - rename AES-named functions to blockcipher functions pattern. Signed-off-by: Piotr Azarewicz Signed-off-by: Fiona Trahe --- app/test/Makefile |2 +- app/test/test_cryptodev.c | 74 +- app/test/test_cryptod

[dpdk-dev] [PATCH v4 1/5] libcrypto_pmd: initial implementation of SW crypto device

2016-09-30 Thread Slawomir Mrozowicz
This code provides the initial implementation of the libcrypto poll mode driver. All cryptography operations are using Openssl library crypto API. Each algorithm uses EVP_ interface from openssl API - which is recommended by Openssl maintainers. This patch adds libcrypto poll mode driver support t

[dpdk-dev] [PATCH v4 0/5] new crypto software based device

2016-09-30 Thread Slawomir Mrozowicz
This code provides the initial implementation of the libcrypto poll mode driver. All cryptography operations are using Openssl library crypto API. Each algorithm uses EVP_ interface from openssl API - which is recommended by Openssl maintainers. For more information about how to use this driver, g

[dpdk-dev] [PATCH v2 10/10] bnx2x: Merge debug register operations into headers

2016-09-30 Thread Harish Patil
> >The register read/writes should just be static inline instead of >alternately defined as routines or macros depending on the status of >debugging. > >Fix bnx2x_reg_read32() returning 0 during debug unaligned reads. > >Fixes: b5bf7719221d ("bnx2x: driver support routines") > >Signed-off-by: Chas

[dpdk-dev] [PATCH v2 04/22] qede/base: update base driver

2016-09-30 Thread Ferruh Yigit
Hi Rasesh, On 9/30/2016 8:05 AM, Rasesh Mody wrote: > This patch updates the base driver and incorporates necessary changes > required to bring in the new firmware 8.10.9.0. > > In addition, it would allow driver to add new functionalities that might > be needed in future. > > Signed-off-by: Ras

[dpdk-dev] [PATCH v1 0/4] Generalize PCI specific EAL function/structures

2016-09-30 Thread David Marchand
On Tue, Sep 27, 2016 at 4:12 PM, Shreyansh Jain wrote: > (I rebased these over HEAD 7b3c4f3) > > These patches were initially part of Jan's original series on SoC > Framework ([1],[2]). An update to that series, without these patches, > was posted here [3]. > > Main motivation for these is aim of

[dpdk-dev] [PATCH] pci:fix missing free

2016-09-30 Thread David Marchand
On Fri, Sep 30, 2016 at 5:19 PM, David Marchand wrote: > Hello, > > On Thu, Sep 29, 2016 at 3:41 AM, Yangchao Zhou wrote: >> Signed-off-by: Yangchao Zhou >> --- >> lib/librte_eal/common/eal_common_pci.c |1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/lib/librte_

[dpdk-dev] [PATCH] pci:fix missing free

2016-09-30 Thread David Marchand
Hello, On Thu, Sep 29, 2016 at 3:41 AM, Yangchao Zhou wrote: > Signed-off-by: Yangchao Zhou > --- > lib/librte_eal/common/eal_common_pci.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/lib/librte_eal/common/eal_common_pci.c > b/lib/librte_eal/common/eal_common_p

[dpdk-dev] [PATCH] log: respect rte_openlog_stream calls before rte_eal_init

2016-09-30 Thread Thomas Monjalon
2016-09-28 13:42, John Ousterhout: > Before this patch, rte_eal_init invoked rte_openlog_stream, cancelling > any application-specific logger and making it it impossible for an > application to capture the initial log messages generated during > rte_eal_init. With this patch, applications can captu

[dpdk-dev] [PATCH v3 2/2] net/ixgbe: add callback to user app on VF to PF mbox msg

2016-09-30 Thread Bernard Iremonger
call _rte_eth_dev_callback_process_vf from ixgbe_rcv_msg_from_vf function. The callback asks the user application if it is allowed to perform the function. If the cb_param.retval is RTE_PMD_IXGBE_MB_EVENT_PROCEED then continue, if 0, do nothing and send ACK to VF if > 1, do nothing and send NAK to

[dpdk-dev] [PATCH v3 1/2] librte_ether: add internal callback functions

2016-09-30 Thread Bernard Iremonger
add _rte_eth_dev_callback_process_vf function. add _rte_eth_dev_callback_process_generic function Adding a callback to the user application on VF to PF mailbox message, allows passing information to the application controlling the PF when a VF mailbox event message is received, such as VF reset.

[dpdk-dev] [PATCH v3 0/2] add callbacks for VF management

2016-09-30 Thread Bernard Iremonger
This patchset contains new callback functions requested by AT&T for use with the Virtual Function Daemon (VFD). Two new callback functions have been added. Changes have been made to the ixgbe_rcv_msg_from_vf function to use the callback functions. This patchset depends on the following patch. htt

[dpdk-dev] [PATCH] eal: remove single file segments related code

2016-09-30 Thread David Marchand
On Fri, Sep 23, 2016 at 12:08 PM, Tan, Jianfeng wrote: >> -Original Message- >> From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] >> Sent: Friday, September 23, 2016 5:15 PM >> To: Thomas Monjalon >> Cc: dev at dpdk.org; David Marchand; Tan, Jianfeng >> Subject: Re: [PATCH] eal: r

[dpdk-dev] [PATCH v5 2/2] app/testpmd: improve handling of multiprocess

2016-09-30 Thread Marcin Kerlin
Added lookup for pool name because secondary process should attach to mempool created by primary process rather than create new one. Added function free_shared_dev_data() used at the exit of the testpmd. This causes detach devices data from array rte_eth_dev_data[] shared between all processes. Th

[dpdk-dev] [PATCH v2] scripts: show fixes with release version of bug

2016-09-30 Thread Thomas Monjalon
This script can help to find commits to backport in stable branches. Fixes are found if there is the word "fix" in the headline or if there is a tag Fixes: or Reverts: in the message. Chained fixes of fixes are explored to find the oldest origin. Fixes of not released bugs are ignored. Signed-off

[dpdk-dev] [PATCH v5 1/2] librte_ether: add protection against overwrite device data

2016-09-30 Thread Marcin Kerlin
Added protection against overwrite device data in array rte_eth_dev_data[] for the next secondary applications. Secondary process appends in the first free place rather than at the beginning. This behavior prevents overwriting devices data of primary process by secondary process. Signed-off-by: Ma

[dpdk-dev] [PATCH v5 0/2] app/testpmd: improve multiprocess support

2016-09-30 Thread Marcin Kerlin
This patch ensure not overwrite device data in the multiprocess application. 1)Changes in the library introduces continuity in array rte_eth_dev_data[] shared between all processes. Secondary process adds new entries in free space instead of overwriting existing entries. 2)Changes in application

[dpdk-dev] [PATCH] eal: remove single file segments related code

2016-09-30 Thread Sergio Gonzalez Monroy
On 30/09/2016 15:32, David Marchand wrote: > On Fri, Sep 23, 2016 at 12:08 PM, Tan, Jianfeng > wrote: >>> -Original Message- >>> From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] >>> Sent: Friday, September 23, 2016 5:15 PM >>> To: Thomas Monjalon >>> Cc: dev at dpdk.org; David Ma

[dpdk-dev] [PATCH] log: do not drop debug logs at compile time

2016-09-30 Thread Wiles, Keith
Regards, Keith > On Sep 30, 2016, at 4:33 AM, Thomas Monjalon > wrote: > > 2016-09-16 09:43, Olivier Matz: >> Today, all logs whose level is lower than INFO are dropped at >> compile-time. This prevents from enabling debug logs at runtime using >> --log-level=8. >> >> The rationale was to rem

[dpdk-dev] [PATCH] net/bnx2x: fix icc build error

2016-09-30 Thread Ferruh Yigit
When bnx2x debug config enabled, icc (ICC) 17.0.0 20160721 gives the following compilation error: .../drivers/net/bnx2x/elink.c(6682): error #3656: variable "fw_ver1" may be used before its value is set PMD_DRV_LOG(DEBUG, ^ According logic in the code, this error is a false positi

[dpdk-dev] [PATCH] net/mlx: fix compile errors with ignore pedantic pragma

2016-09-30 Thread Ferruh Yigit
On 9/20/2016 7:17 PM, Adrien Mazarguil wrote: > On Tue, Sep 20, 2016 at 04:58:48PM +0100, Bruce Richardson wrote: >> On Tue, Sep 20, 2016 at 02:51:27PM +0200, Adrien Mazarguil wrote: >>> On Mon, Sep 19, 2016 at 04:26:05PM +0100, Bruce Richardson wrote: On Mon, Sep 19, 2016 at 04:59:59PM +0200,

[dpdk-dev] [PATCH v2 13/15] net/thunderx: document secondary queue set support

2016-09-30 Thread Mcnamara, John
> -Original Message- > From: Kamil Rytarowski [mailto:krytarowski at caviumnetworks.com] > Sent: Friday, September 30, 2016 1:06 PM > To: dev at dpdk.org > Cc: maciej.czekaj at caviumnetworks.com; zyta.szpak at semihalf.com; > slawomir.rosek at semihalf.com; rad at semihalf.com; > jerin.j

[dpdk-dev] [PATCH v2 21/22] doc: update qede pmd documentation

2016-09-30 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rasesh Mody > Sent: Friday, September 30, 2016 8:06 AM > To: dev at dpdk.org > Cc: Dept-EngDPDKDev at qlogic.com; Rasesh Mody > Subject: [dpdk-dev] [PATCH v2 21/22] doc: update qede pmd documentation > > Sign

[dpdk-dev] [PATCH v3] doc: add limitations for i40e PMD

2016-09-30 Thread Mcnamara, John
> -Original Message- > From: Wu, Jingjing > Sent: Friday, September 30, 2016 7:46 AM > To: dev at dpdk.org > Cc: Wu, Jingjing ; Xing, Beilei > ; Mcnamara, John > Subject: [PATCH v3] doc: add limitations for i40e PMD > > This patch adds "Limitations or Known issues" section for i40e PMD,

[dpdk-dev] [PATCH 4/4] bnxt: Update the Broadcom PMD driver documentation

2016-09-30 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ajit Khaparde > Sent: Thursday, September 29, 2016 6:04 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 4/4] bnxt: Update the Broadcom PMD driver > documentation > > This patch reformats the Broadcom PMD d

[dpdk-dev] [PATCH v3 9/9] doc: update ipsec-secgw sample app guide

2016-09-30 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Thursday, September 29, 2016 4:44 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH v3 9/9] doc: update ipsec-secgw sample app > guide > > Update

[dpdk-dev] [PATCH v3 8/9] doc: ipsec-secgw release notes

2016-09-30 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sergio Gonzalez > Monroy > Sent: Thursday, September 29, 2016 4:44 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH v3 8/9] doc: ipsec-secgw release notes > > Signed-off-by: Ser

[dpdk-dev] [PATCH v5 0/2] app/testpmd: improve multiprocess support

2016-09-30 Thread Pattan, Reshma
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marcin Kerlin > Sent: Friday, September 30, 2016 3:01 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com; Kerlin, MarcinX > Subject: [dpdk-dev] [PATCH v5 0/2] app/testpmd: im

[dpdk-dev] [PATCH v5 2/2] app/testpmd: improve handling of multiprocess

2016-09-30 Thread Pattan, Reshma
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marcin Kerlin > Sent: Friday, September 30, 2016 3:24 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com; Kerlin, MarcinX > Subject: [dpdk-dev] [PATCH v5 2/2] app/testpmd: im

[dpdk-dev] [PATCH v5 1/2] librte_ether: add protection against overwrite device data

2016-09-30 Thread Pattan, Reshma
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marcin Kerlin > Sent: Friday, September 30, 2016 3:01 PM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; > thomas.monjalon at 6wind.com; Kerlin, MarcinX > Subject: [dpdk-dev] [PATCH v5 1/2] librte_ether: ad

[dpdk-dev] [PATCH v3] doc: add limitations for i40e PMD

2016-09-30 Thread Jingjing Wu
This patch adds "Limitations or Known issues" section for i40e PMD, including two items: 1. MPLS packet classification on X710/XL710 2. 16 Byte Descriptor cannot be used on DPDK VF 3. Link down with i40e kernel driver after DPDK application exist Signed-off-by: Jingjing Wu --- v2 changes: fix ty

[dpdk-dev] [PATCH 01/10] bnx2x: Set cache line based on build configuration

2016-09-30 Thread Patil, Harish
> >Hi Harish, > >On 7/12/2016 6:39 AM, Harish Patil wrote: >>> >>> Correctly hint the cache line size. Remove unused macros associated >>> with the cache line size. >>> >>> Fixes: 540a211084a7 ("bnx2x: driver core") >>> >>> Signed-off-by: Chas Williams <3chas3 at gmail.com> >>> --- >>> drivers/ne

[dpdk-dev] [PATCH v2 15/15] net/thunderx: Bump driver version to 2.0

2016-09-30 Thread Kamil Rytarowski
Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

[dpdk-dev] [PATCH v2 14/15] ethdev: Support VFs on the different PCI domains

2016-09-30 Thread Kamil Rytarowski
It's possible to have the same numbers for bus, device id and function, therefore we need to differentiate on domain. This enables DPDK with multiple VFs on ThunderX 2-socket hardware. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomi

[dpdk-dev] [PATCH v2 13/15] net/thunderx: document secondary queue set support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- doc/guides/nics/thunderx.rst | 148 --- 1 fil

[dpdk-dev] [PATCH v2 12/15] net/thunderx: add final bits for secondary queue support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Summary: - add secondary qset support in device stats - add support for releasing mbufs from RBDR for >8 queues - add support for releasing mbufs from RX queues for >8 queues - support >8 queues in tx_queue_setup - support >8 queues in rx_queue_setup - support up to 9

[dpdk-dev] [PATCH v2 11/15] net/thunderx: add secondary qset support in device configure

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 65 + 1 fil

[dpdk-dev] [PATCH v2 10/15] net/thunderx: add secondary qset support in device start

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 266 +++- 1 fil

[dpdk-dev] [PATCH v2 09/15] net/thunderx: add secondary qset support in dev stop/close

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 142 +++- 1 fil

[dpdk-dev] [PATCH v2 08/15] net/thunderx: add helper utils for secondary qset support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.h | 39 + 1 fil

[dpdk-dev] [PATCH v2 07/15] net/thunderx: remove problematic private_data->eth_dev link

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski In case of the multiprocess mode a shared nicvf struct between processes cannot point with the eth_dev pointer to master device, therefore remove it allong with references to it refactoring the code where needed. This change fixes multiprocess issues detected in stats. Fi

[dpdk-dev] [PATCH v2 06/15] net/thunderx: add secondary queue set in interrupt functions

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/net/thunderx/nicvf_ethdev.c | 41 ++--- 1 fil

[dpdk-dev] [PATCH v2 05/15] net/thunderx: add family of functions to store DPDK qsets

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski These functions (nicvf_svf) are DPDK specialization of base/nicvf_bsvf.[ch] ones. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- dr

[dpdk-dev] [PATCH v2 04/15] net/thunderx/base: add secondary queue set support

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Changes: - add new message sqs_alloc in mailbox - add a queue container to hold secondary qsets. - add nicvf_mbox_request_sqs - handle new mailbox messages for secondary queue set support - register secondary queue sets for furthe reuse - register the number secondary

[dpdk-dev] [PATCH v2 03/15] net/thunderx/base: add family of functions to store qsets

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski This interface (nicvf_bsvf) will be used for secondary queue set support. Signed-off-by: Maciej Czekaj Signed-off-by: Kamil Rytarowski Signed-off-by: Zyta Szpak Signed-off-by: Slawomir Rosek Signed-off-by: Radoslaw Biernacki Signed-off-by: Jerin Jacob --- drivers/ne

[dpdk-dev] [PATCH v2 02/15] net/thunderx: correct transmit checksum handling

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski The symbols PKT_TX_TCP_CKSUM and PKT_TX_UDP_CKSUM are not bits on a bitmask. Set l3_offset always for TX offloads, not just for PKT_TX_IP_CKSUM being true. Fixes: 1c421f18e095 ("net/thunderx: add single and multi-segment Tx") Signed-off-by: Maciej Czekaj Signed-off-by: K

[dpdk-dev] [PATCH v2 01/15] net/thunderx: cleanup the driver before adding new features

2016-09-30 Thread Kamil Rytarowski
From: Kamil Rytarowski Refactored features: - enable nicvf_qset_rbdr_precharge to handle secondary queue sets - rte_free already handles NULL pointer - check mempool flags to predict being contiguous in memory - prohibit to use mempool with multiple memory chunks - simplify local construct o

[dpdk-dev] [PATCH v2 00/15] Add support for secondary queue set in nicvf thunderx driver

2016-09-30 Thread Kamil Rytarowski
This series of patches adds support for secondary queue set in nicvf thunderx driver There are two types of VFs: - Primary VF - Secondary VF Each port consist of a primary VF and n secondary VF(s). Each VF provides 8 Tx/Rx queues to a port. In case port is configured to use more than 8 queues,

[dpdk-dev] [Qemu-devel] [PATCH 1/2] vhost: enable any layout feature

2016-09-30 Thread Maxime Coquelin
On 09/29/2016 11:23 PM, Maxime Coquelin wrote: > > > On 09/29/2016 10:21 PM, Michael S. Tsirkin wrote: >> On Thu, Sep 29, 2016 at 10:05:22PM +0200, Maxime Coquelin wrote: >>> >>> >>> On 09/29/2016 07:57 PM, Michael S. Tsirkin wrote: On Thu, Sep 29, 2016 at 05:30:53PM +0200, Maxime Coquelin w

[dpdk-dev] Did we reduce unnecessary linkage too well?

2016-09-30 Thread Panu Matilainen
On 09/30/2016 01:15 PM, Bruce Richardson wrote: > On Thu, Sep 29, 2016 at 09:26:48AM +0200, Christian Ehrhardt wrote: >> On Thu, Sep 29, 2016 at 9:20 AM, Panu Matilainen >> wrote: >> >>> >>> Yup. Set CONFIG_RTE_EAL_PMD_PATH to the path where your PMDs are >>> installed. Note that since the plugin

[dpdk-dev] Did we reduce unnecessary linkage too well?

2016-09-30 Thread Christian Ehrhardt
On Fri, Sep 30, 2016 at 12:15 PM, Bruce Richardson < bruce.richardson at intel.com> wrote: > To me having some sort of > naming convention might not be a bad thing, so that we can point it at > generic > folders. > Distributions don't really agree on the prefix path for the libraries /usr/lib. So

[dpdk-dev] [PATCH v11 00/24] Introducing rte_driver/rte_device generalization

2016-09-30 Thread David Marchand
Hello, On Tue, Sep 20, 2016 at 2:41 PM, Shreyansh Jain wrote: > Based on master (e15922d75) > > Background: > === > > It includes two different patch-sets floated on ML earlier: > * Original patch series is from David Marchand [1], [2]. > `- This focused mainly on PCI (PDEV) part >

[dpdk-dev] [PATCH v2 01/10] bnx2x: Set cache line based on build configuration

2016-09-30 Thread Ferruh Yigit
Hi Chas, On 9/29/2016 11:20 AM, Chas Williams wrote: > Correctly hint the cache line size. Remove unused macros associated > with the cache line size. > > Fixes: 540a211084a7 ("bnx2x: driver core") > > Signed-off-by: Chas Williams <3chas3 at gmail.com> > Acked-by: Harish Patil > --- Thank you

[dpdk-dev] [PATCH v2 05/10] bnx2x: Restrict RX mask flags sent to the PF

2016-09-30 Thread Ferruh Yigit
On 9/29/2016 11:20 AM, Chas Williams wrote: > Don't use bnx2x_fill_accept_flags() to fill the RX mask in the VF > since the PF only handles a subset of the existing flags. now, > bnx2x_fill_accept_flags() can be static. > > Fixes: 540a211084a7 ("bnx2x: driver core") > > Signed-off-by: Chas Willi

[dpdk-dev] [PATCH v2 07/10] bnx2x: Serialize access to pf2vf mailbox

2016-09-30 Thread Ferruh Yigit
On 9/29/2016 11:20 AM, Chas Williams wrote: > The pf2vf mailbox can only be used by one thread at a time. > > Fixes: 540a211084a7 ("bnx2x: driver core") > > Signed-off-by: Chas Williams <3chas3 at gmail.com> > --- > drivers/net/bnx2x/bnx2x.h| 12 +++-- > drivers/net/bnx2x/bnx2x_ethdev.c

[dpdk-dev] [PATCH] log: do not drop debug logs at compile time

2016-09-30 Thread Thomas Monjalon
2016-09-16 09:43, Olivier Matz: > Today, all logs whose level is lower than INFO are dropped at > compile-time. This prevents from enabling debug logs at runtime using > --log-level=8. > > The rationale was to remove debug logs from the data path at > compile-time, avoiding a test at run-time. >

[dpdk-dev] [v2 00/15] bnxt patch series

2016-09-30 Thread Bruce Richardson
On Mon, Sep 26, 2016 at 11:13:33AM -0500, Ajit Khaparde wrote: > Please consider applying this patch series. > > v1->v2: Update the bnxt PMD to use a newer HWRM API > has been split into smaller patches for easier review. > > Ajit Khaparde (15): > bnxt: Add support for Broadcom StrataGX Communi

[dpdk-dev] [PATCH v6 2/2] app/test_pmd: add tests for new API's

2016-09-30 Thread Bernard Iremonger
add test for set vf vlan anti spoof add test for set vf mac anti spoof add test for set vf vlan stripq add test for set vf vlan insert add test for set tx loopback add test for set all queues drop enable bit add test for set vf split drop enable bit add test for set vf mac address add new API's to

[dpdk-dev] [PATCH v6 1/2] net/ixgbe: add API's for VF management

2016-09-30 Thread Bernard Iremonger
Add API's to configure and manage VF's on an Intel 82559 NIC. add rte_pmd_ixgbe_set_vf_vlan_anti_spoof function. add rte_pmd_ixgbe_set_vf_mac_anti_spoof function. add rte_pmd_ixgbe_set_vf_stripq function. Signed-off-by: Alex Zelezniak add rte_pmd_ixgbe_set_vf_vlan_insert function. add rte_pmd_i

[dpdk-dev] [PATCH v6 0/2] add API's for VF management

2016-09-30 Thread Bernard Iremonger
This patchset contains new DPDK API's requested by AT&T for use with the Virtual Function Daemon (VFD). The need to configure and manage VF's on a NIC has grown to the point where AT&T have devloped a DPDK based tool, VFD, to do this. This patch set adds API extensions to DPDK for VF configuratio

[dpdk-dev] Did we reduce unnecessary linkage too well?

2016-09-30 Thread Bruce Richardson
On Thu, Sep 29, 2016 at 09:26:48AM +0200, Christian Ehrhardt wrote: > On Thu, Sep 29, 2016 at 9:20 AM, Panu Matilainen > wrote: > > > > > Yup. Set CONFIG_RTE_EAL_PMD_PATH to the path where your PMDs are > > installed. Note that since the plugin autoloader in DPDK doesn't make > > assumptions abou

[dpdk-dev] [PATCH] doc: remove iomem and ioport handling in igb_uio

2016-09-30 Thread Ferruh Yigit
On 9/22/2016 6:44 AM, Jianfeng Tan wrote: > In igb_uio, iomem is mapped, and both ioport and io mem are recorded > into uio framework (then into sysfs files), which is duplicated with > what Linux has already provided for user space, and makes the code > too complex. > > For iomem, DPDK user space

[dpdk-dev] [PATCH 2/2] kni: remove unnecessary ethtool files

2016-09-30 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/Makefile | 3 - .../linuxapp/kni/ethtool/igb/igb_debugfs.c | 28 -- .../linuxapp/kni/ethtool/igb/igb_hwmon.c | 260 --- .../linuxapp/kni/ethtool/igb/igb_procfs.c | 363 -

[dpdk-dev] [PATCH 1/2] kni: remove unused ethtool files

2016-09-30 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- lib/librte_eal/linuxapp/kni/Makefile |2 - lib/librte_eal/linuxapp/kni/ethtool/igb/igb_ptp.c | 944 - lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.c | 1482 .../linuxapp/kni/ethtool/igb/kcompat_ethtool.c

[dpdk-dev] [PATCH v4 6/6] testpmd: use Tx preparation in csum engine

2016-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- app/test-pmd/csumonly.c | 97 ++- 1 file changed, 54 insertions(+), 43 deletions(-) diff --git a/app/test-pmd/csumonly.c b/app/test-pmd/csumonly.c index 21cb78f..8fcf814 100644 --- a/app/test-pmd/csumonly.c +++ b/app

[dpdk-dev] [PATCH v4 5/6] ixgbe: add Tx preparation

2016-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/ixgbe/ixgbe_ethdev.c |3 ++ drivers/net/ixgbe/ixgbe_ethdev.h |5 +++- drivers/net/ixgbe/ixgbe_rxtx.c | 56 +- drivers/net/ixgbe/ixgbe_rxtx.h |2 ++ 4 files changed, 64 insertions(+), 2 deletions(-)

[dpdk-dev] [PATCH v4 4/6] i40e: add Tx preparation

2016-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/i40e/i40e_ethdev.c |3 ++ drivers/net/i40e/i40e_rxtx.c | 72 +++- drivers/net/i40e/i40e_rxtx.h |8 + 3 files changed, 82 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/

[dpdk-dev] [PATCH v4 3/6] fm10k: add Tx preparation

2016-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/fm10k/fm10k.h|6 + drivers/net/fm10k/fm10k_ethdev.c |5 drivers/net/fm10k/fm10k_rxtx.c | 50 +- 3 files changed, 60 insertions(+), 1 deletion(-) diff --git a/drivers/net/fm10k/fm10k.h b

[dpdk-dev] [PATCH v4 2/6] e1000: add Tx preparation

2016-09-30 Thread Tomasz Kulasek
Signed-off-by: Tomasz Kulasek --- drivers/net/e1000/e1000_ethdev.h | 11 drivers/net/e1000/em_ethdev.c|5 +++- drivers/net/e1000/em_rxtx.c | 48 ++- drivers/net/e1000/igb_ethdev.c |4 +++ drivers/net/e1000/igb_rxtx.c | 52 +

[dpdk-dev] [PATCH v4 1/6] ethdev: add Tx preparation

2016-09-30 Thread Tomasz Kulasek
Added API for `rte_eth_tx_prep` uint16_t rte_eth_tx_prep(uint8_t port_id, uint16_t queue_id, struct rte_mbuf **tx_pkts, uint16_t nb_pkts) Added fields to the `struct rte_eth_desc_lim`: uint16_t nb_seg_max; /**< Max number of segments per whole packet. */

[dpdk-dev] [PATCH v4 0/6] add Tx preparation

2016-09-30 Thread Tomasz Kulasek
As discussed in that thread: http://dpdk.org/ml/archives/dev/2015-September/023603.html Different NIC models depending on HW offload requested might impose different requirements on packets to be TX-ed in terms of: - Max number of fragments per packet allowed - Max number of fragments per TSO

[dpdk-dev] [PATCH] cryptodev: fix compilation error in SUSE 11 SP2

2016-09-30 Thread Adrien Mazarguil
On Thu, Sep 29, 2016 at 07:30:31PM +, De Lara Guarch, Pablo wrote: > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarguil at 6wind.com] > > Sent: Tuesday, September 27, 2016 12:45 AM > > To: De Lara Guarch, Pablo > > Cc: dev at dpdk.org; Doherty, Declan > > Subject:

[dpdk-dev] [RFC PATCH v2 3/5] librte_ether: add API's for VF management

2016-09-30 Thread Bruce Richardson
On Wed, Sep 28, 2016 at 08:02:21PM +0200, Thomas Monjalon wrote: > 2016-09-28 16:52, Ananyev, Konstantin: > > > > > > > > 2016-09-28 14:30, Ananyev, Konstantin: > > > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > > > 2016-09-28 13:26, Ananyev, Konstantin: > > > > > > From: T

[dpdk-dev] [PATCH] drivers/i40e: fix the hash filter invalid calculation in X722

2016-09-30 Thread Ferruh Yigit
Hi Jingjing, On 9/30/2016 7:05 AM, Wu, Jingjing wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Friday, September 30, 2016 2:16 AM >> To: Guo, Jia; Zhang, Helin; Wu, Jingjing >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] drivers/i40e: fix the hash filter inva

[dpdk-dev] [PATCH v4 0/6] add Tx preparation

2016-09-30 Thread Ananyev, Konstantin
> > As discussed in that thread: > > http://dpdk.org/ml/archives/dev/2015-September/023603.html > > Different NIC models depending on HW offload requested might impose different > requirements on packets to be TX-ed in terms of: > > - Max number of fragments per packet allowed > - Max numb

[dpdk-dev] qos: traffic shaping at queue level

2016-09-30 Thread Nikhil Jagtap
Hi, Can someone please answer my queries? I tried using queue weights to distribute traffic-class bandwidth among the child queues, but did not get the desired results. Regards, Nikhil On 27 September 2016 at 15:34, Nikhil Jagtap wrote: > Hi, > > I have a few questions about the hierarchical sc

[dpdk-dev] [PATCH v4 4/4] hash: modify lookup bulk pipeline

2016-09-30 Thread Pablo de Lara
From: Byron Marohn This patch replaces the pipelined rte_hash lookup mechanism with a loop-and-jump model, which performs significantly better, especially for smaller table sizes and smaller table occupancies. Signed-off-by: Byron Marohn Signed-off-by: Saikrishna Edupuganti Signed-off-by: Pabl

[dpdk-dev] [PATCH v4 3/4] hash: add vectorized comparison

2016-09-30 Thread Pablo de Lara
From: Byron Marohn In lookup bulk function, the signatures of all entries are compared against the signature of the key that is being looked up. Now that all the signatures are together, they can be compared with vector instructions (SSE, AVX2), achieving higher lookup performance. Also, entries

[dpdk-dev] [PATCH v4 2/4] hash: reorganize bucket structure

2016-09-30 Thread Pablo de Lara
From: Byron Marohn Move current signatures of all entries together in the bucket and same with all alternative signatures, instead of having current and alternative signatures together per entry in the bucket. This will be benefitial in the next commits, where a vectorized comparison will be perf

[dpdk-dev] [PATCH v4 1/4] hash: reorder hash structure

2016-09-30 Thread Pablo de Lara
In order to optimize lookup performance, hash structure is reordered, so all fields used for lookup will be in the first cache line. Signed-off-by: Pablo de Lara --- lib/librte_hash/rte_cuckoo_hash.h | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/l

[dpdk-dev] [PATCH v4 0/4] Cuckoo hash enhancements

2016-09-30 Thread Pablo de Lara
This patchset improves lookup performance on the current hash library by changing the existing lookup bulk pipeline, with an improved pipeline, based on a loop-and-jump model, instead of the current 4-stage 2-entry pipeline. Also, x86 vectorized intrinsics are used to improve performance when compa

[dpdk-dev] [PATCH] drivers/i40e: fix the hash filter invalid calculation in X722

2016-09-30 Thread Wu, Jingjing
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, September 30, 2016 2:16 AM > To: Guo, Jia; Zhang, Helin; Wu, Jingjing > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] drivers/i40e: fix the hash filter invalid > calculation in X722 > > On 9/26/2016 11:51 AM, Jeff Guo wro

[dpdk-dev] [PATCH] eal: fix bug in x86 cmpset

2016-09-30 Thread Nikhil Rao
The original code used movl instead of xchgl, this caused rte_atomic64_cmpset to use ebx as the lower dword of the source to cmpxchg8b instead of the lower dword of function argument "src". Reported-by: Job Abraham Tested-by: Job Abraham Signed-off-by: Nikhil Rao --- lib/librte_eal/common/incl

[dpdk-dev] [PATCH] app/test: reduce lpm6 test case size

2016-09-30 Thread Wei Dai
copy app/test/test_lpm6_routes.h to app/test/test_lpm6_data.h . and then delete app/test/test_lpm6_routes.h and clear the large_ips_table[ ] to make LPM6 test case size much smaller than before. Also add codes in app/test/test_lpm6_data.h to generate test data in large_ips_table[ ] at run time. Si

[dpdk-dev] [PATCH v2 0/4] Add new ZUC SW PMD

2016-09-30 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, September 28, 2016 8:00 PM > To: dev at dpdk.org > Cc: Doherty, Declan; De Lara Guarch, Pablo > Subject: [PATCH v2 0/4] Add new ZUC SW PMD > > Added new SW PMD which makes use of the libsso SW library, > which provides

[dpdk-dev] [PATCH v3 0/9] IPsec Enhancements

2016-09-30 Thread De Lara Guarch, Pablo
> -Original Message- > From: Gonzalez Monroy, Sergio > Sent: Thursday, September 29, 2016 8:44 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH v3 0/9] IPsec Enhancements > > This patch set mainly adds support for AES-GCM and AES-CTR. > > It also updates the IV gen

[dpdk-dev] [PATCH v2 22/22] qede: update driver version

2016-09-30 Thread Rasesh Mody
This patch updates the qede pmd version to 1.2.2.1. Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h index dfbbcf4..91d3c90 100644 --- a/drivers/ne

[dpdk-dev] [PATCH v2 21/22] doc: update qede pmd documentation

2016-09-30 Thread Rasesh Mody
Signed-off-by: Rasesh Mody --- doc/guides/nics/qede.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/qede.rst b/doc/guides/nics/qede.rst index d32fba2..105ae37 100644 --- a/doc/guides/nics/qede.rst +++ b/doc/guides/nics/qede.rst @@ -65,6 +65,8 @@ Non-supp

[dpdk-dev] [PATCH v2 20/22] qede: remove external dependency and enable by default

2016-09-30 Thread Rasesh Mody
The qede driver doesn't depend on libz anymore. Hence remove the LDLIBS entry form the Makefile. This patch enables the qede PMD by default. Fixes: 6adac0bf ("qede: add missing external dependency and disable by default") Signed-off-by: Rasesh Mody --- config/common_base| 2 +- doc

[dpdk-dev] [PATCH v2 19/22] qede: add support for queue statistics

2016-09-30 Thread Rasesh Mody
This patch adds support for pulling per queue statistics. Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 98 +- drivers/net/qede/qede_ethdev.h | 3 ++ drivers/net/qede/qede_rxtx.c | 23 +- drivers/net/qede/qede_rxtx.h | 4 +-

[dpdk-dev] [PATCH v2 18/22] qede: fix driver version string

2016-09-30 Thread Rasesh Mody
From: Harish Patil This patch fixes the base driver version display. The driver version notation is: Fixes: 2ea6f76 ("qede: add core driver") Signed-off-by: Harish Patil --- drivers/net/qede/qede_ethdev.c | 43 +- drivers/net/qede/qede_ethdev.h | 17 ++

[dpdk-dev] [PATCH v2 17/22] qede: skip slowpath polling for 100G VF device

2016-09-30 Thread Rasesh Mody
From: Harish Patil There is no need to poll for slowpath events for VF device since the ramrod responses are received over PF-VF backchannel synchronously. So the fix is to restrict the slowpath polling for PF device only. Fixes 2af14ca ("net/qede: support 100G") Signed-off-by: Harish Patil --

[dpdk-dev] [PATCH v2 16/22] qede/base: add support to initiate PF FLR

2016-09-30 Thread Rasesh Mody
From: Harish Patil Add support to send PF FLR request to the management firmware to bringup the device in clean slate. This cleanup is necessary in some corner cases where the device would be left in a bad state from its previous operations. The driver will send PF FLR request before slowpath ini

[dpdk-dev] [PATCH v2 15/22] qede/base: change rx tx queue start APIs

2016-09-30 Thread Rasesh Mody
Changed q_{rx,tx}_start APIs to use common queue start parameters Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_l2.c | 131 +++ drivers/net/qede/base/ecore_l2.h | 26 ++- drivers/net/qede/base/ecore_l2_api.h | 69 +- driv

  1   2   >