[dpdk-dev] [PATCH v2] cryptodev: fix crash on null dereference

2016-12-03 Thread Jerin Jacob
crypodev->data->name will be null when rte_cryptodev_get_dev_id() invoked without a valid crypto device instance. Fixes: d11b0f30df88 ("cryptodev: introduce API and framework for crypto devices") Signed-off-by: Jerin Jacob Acked-by: Arek Kusztal

[dpdk-dev] [PATCH 3/3] app/testpmd: add ixgbe MACsec offload support

2016-12-03 Thread Tiwei Bie
add test for set macsec offload add test for set macsec sc add test for set macsec sa Signed-off-by: Tiwei Bie --- app/test-pmd/cmdline.c | 389 + app/test-pmd/macfwd.c | 2 + app/test-pmd/macswap.c | 2 +

[dpdk-dev] [PATCH 2/3] net/ixgbe: add MACsec offload support

2016-12-03 Thread Tiwei Bie
MACsec (or LinkSec, 802.1AE) is a MAC level encryption/authentication scheme defined in IEEE 802.1AE that uses symmetric cryptography. This commit adds the MACsec offload support for ixgbe. Signed-off-by: Tiwei Bie --- drivers/net/ixgbe/ixgbe_ethdev.c| 436

[dpdk-dev] [PATCH 0/3] Add MACsec offload support for ixgbe

2016-12-03 Thread Tiwei Bie
This patch set adds the MACsec offload support for ixgbe. The testpmd is also updated to support MACsec cmds. Tiwei Bie (3): lib: add MACsec offload flags net/ixgbe: add MACsec offload support app/testpmd: add ixgbe MACsec offload support app/test-pmd/cmdline.c | 389

[dpdk-dev] [PATCH 3/3] net/ixgbe: optimize Rx/Tx log message level

2016-12-03 Thread Qiming Yang
Signed-off-by: Qiming Yang --- drivers/net/ixgbe/ixgbe_logs.h | 7 +++ drivers/net/ixgbe/ixgbe_rxtx.c | 14 +++--- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_logs.h b/drivers/net/ixgbe/ixgbe_logs.h index

[dpdk-dev] [PATCH 2/3] net/i40e: optimize Rx/Tx log message level

2016-12-03 Thread Qiming Yang
Signed-off-by: Qiming Yang --- drivers/net/i40e/i40e_logs.h | 7 +++ drivers/net/i40e/i40e_rxtx.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_logs.h b/drivers/net/i40e/i40e_logs.h index e042e24..5c25dbf 100644 ---

[dpdk-dev] [PATCH 0/3] net: optimize Rx/Tx log message level

2016-12-03 Thread Qiming Yang
These three patches optimized the level of Rx and Tx log messages. Add a new log control function PMD_RX_FREE_LOG to control the Rx message which is not printed in packet receive processing. This function switched by macro RTE_LIBRTE__DEBUG_RX_FREE. Qiming Yang (3): net/e1000: optimize Rx/Tx

[dpdk-dev] [PATCH 1/3] net/e1000: optimize Rx/Tx log message level

2016-12-03 Thread Qiming Yang
Signed-off-by: Qiming Yang --- config/common_base | 1 + drivers/net/e1000/e1000_logs.h | 7 +++ drivers/net/e1000/em_rxtx.c| 10 +- drivers/net/e1000/igb_rxtx.c | 10 +- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git

[dpdk-dev] [PATCH 25/25] net/qede: update PMD version to 2.0.0.1

2016-12-03 Thread Rasesh Mody
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 9701d736..be54f31e 100644 --- a/drivers/net/qede/qede_ethdev.h +++

[dpdk-dev] [PATCH 24/25] net/qede/base: dcbx changes for base driver

2016-12-03 Thread Rasesh Mody
This patch includes changes for DCBX like: - Return empty parameters for oper-params query when negotiation is not complete - Use the ieee specific mask value for reading the ethtype value in the ieee dcbx mode - Endian-ness conversion is not needed for priority<->TC field, as the data

[dpdk-dev] [PATCH 23/25] net/qede/base: semantic/formatting changes

2016-12-03 Thread Rasesh Mody
This patch consists of semantic/formatting changes. It also includes comment additions. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/common_hsi.h | 5 +- drivers/net/qede/base/ecore_dev.c| 53 --- drivers/net/qede/base/ecore_hsi_common.h |

[dpdk-dev] [PATCH 18/25] net/qede/base: add support for external PHY

2016-12-03 Thread Rasesh Mody
Add support for external PHY BCM8485x. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_mcp.c | 6 +-- drivers/net/qede/base/mcp_public.h | 88 -- 2 files changed, 87 insertions(+), 7 deletions(-) diff --git

[dpdk-dev] [PATCH 17/25] net/qede/base: retrieve FW crash dump info

2016-12-03 Thread Rasesh Mody
As part of device probe, check if management FW crash dump logs are available. If available, then log an warning message and update the epoch value too. A new struct ecore_mdump_info is added to populate dump info including the new "reason" field by reading shared memory region. Signed-off-by:

[dpdk-dev] [PATCH 13/25] net/qede/base: add new enum member to status codes

2016-12-03 Thread Rasesh Mody
Add ECORE_CONN_RESET to enum ecore_status. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_status.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/qede/base/ecore_status.h b/drivers/net/qede/base/ecore_status.h index 6277bc80..c77ec260 100644

[dpdk-dev] [PATCH 14/25] net/qede/base: add macros for converting pointer

2016-12-03 Thread Rasesh Mody
Add macros PTR_LO and PTR_HI (for converting pointer to HI and LOW bits for passing to FW hsi handles). Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_utils.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/qede/base/ecore_utils.h

[dpdk-dev] [PATCH 08/25] net/qede/base: fix updating VF queue zone id

2016-12-03 Thread Rasesh Mody
Pass the absolute qzone_id when creating queues. Fixes: 5cdd769a ("qede: add L2 support") Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c| 9 ++--- drivers/net/qede/base/ecore_l2.c | 10 +- drivers/net/qede/base/ecore_l2_api.h | 11

[dpdk-dev] [PATCH 05/25] net/qede/base: make API non-static

2016-12-03 Thread Rasesh Mody
Move ecore_set_fw_mac_addr from ecore_l2.c to ecore_dev.c to facilitate future code reuse. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore.h | 2 ++ drivers/net/qede/base/ecore_dev.c | 13 + drivers/net/qede/base/ecore_l2.c | 11 ---

[dpdk-dev] [PATCH 07/25] net/qede/base: add check to validate txq

2016-12-03 Thread Rasesh Mody
Make sure VF tx_qid and the status block index is in the allocated range, else fail the request. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_sriov.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[dpdk-dev] [PATCH 02/25] net/qede/base: improve set field macro

2016-12-03 Thread Rasesh Mody
Improve robustness of the SET_FIELD macro by using a mask. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/base/ecore.h b/drivers/net/qede/base/ecore.h index

Re: [dpdk-dev] [PATCH 3/4] crypto: add sgl support for sw PMDs

2016-12-03 Thread Michał Mirosław
2016-12-02 18:07 GMT+01:00 Tomasz Kulasek : > This patch introduces RTE_CRYPTODEV_FF_MBUF_SCATTER_GATHER feature flag > informing that selected crypto device supports segmented mbufs natively > and doesn't need to be coalesced before crypto operation. > > While using

[dpdk-dev] [PATCH 3/8] net/qede/base: fix multiple acquisition requests by VF

2016-12-02 Thread Rasesh Mody
There are certain conditions under which VF would infinitely send ACQUIRE messages, as it will fail to understand that PF has rejected the ACQUIRE request. Fix to reject multiple acquisition requests by VF. Fixes: 22d07d93 ("net/qede/base: update") Signed-off-by: Rasesh Mody

[dpdk-dev] [PATCH 6/8] net/qede/base: fix Rx queue access by malicious VFs

2016-12-02 Thread Rasesh Mody
8.10.x.x was supposed to prevent malicious VFs from using out-of-bound queue indices, but apparently Rx queue access is still done prior to the index being validated by PF. Fixes: 98bc693e ("net/qede/base: change queue start") Signed-off-by: Rasesh Mody ---

[dpdk-dev] [PATCH 1/8] net/qede: fix to get vendor/device id info

2016-12-02 Thread Rasesh Mody
Fixes: ec94dbc5 ("qede: add base driver") Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c index 9c2a5eae..b9a325df 100644 ---

[dpdk-dev] [PATCH 7/7] net/qede: restrict maximum queues for PF/VF

2016-12-02 Thread Harish Patil
Fix to adverstise max_rx_queues by taking into account the number of PF connections instead of returning max_queues supported by the HW. Fixes: 2ea6f76a ("qede: add core driver") Signed-off-by: Harish Patil --- drivers/net/qede/qede_ethdev.c | 13 ++---

[dpdk-dev] [PATCH 6/7] net/qede: fix maximum VF count to 0

2016-12-02 Thread Harish Patil
Set max_vfs to 0 since it is relevant only to SR-IOV PF which is not supported yet. Fixes: 2ea6f76a ("qede: add core driver") Signed-off-by: Harish Patil --- drivers/net/qede/qede_ethdev.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[dpdk-dev] [PATCH 5/7] net/qede: fix RSS related issue

2016-12-02 Thread Harish Patil
This patch includes the following: - Fix missing hash_key_size advertisement - Fix RSS hash query function - Update RSS offload flag - Accept user provided RSS configuration params via rx_adv_conf in dev_configure() - Decouple RSS configuration from common qed_update_vport() and instead make

[dpdk-dev] [PATCH 4/7] net/qede: add fastpath support for VXLAN tunneling

2016-12-02 Thread Harish Patil
- Support HW checksum and RSS offload for VXLAN traffic - Identify inner/outer packet_types using lookup table - Update documentation Signed-off-by: Harish Patil --- doc/guides/nics/features/qede.ini | 3 + doc/guides/nics/qede.rst | 3 +-

[dpdk-dev] [PATCH 1/7] net/qede: reduce noise in debug logs

2016-12-02 Thread Harish Patil
From: Rasesh Mody Replace CONFIG_RTE_LIBRTE_QEDE_DEBUG_DRIVER with CONFIG_RTE_LIBRTE_QEDE_DEBUG_VAL which is a 32-bit bitmapped value where each bit represent a particular submodule to debug. Also move notice messages under CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO.

[dpdk-dev] [PATCH 2/7] net/qede: refactor filtering code

2016-12-02 Thread Harish Patil
The filter_config in qed_eth_ops_pass is a wrapper call driving all the filtering configuration. This requires defining multiple structures and passing different function arguments for each filter type which is unnecessary. So as part of this refactoring we remove filter_config from

[dpdk-dev] [PATCH 3/7] net/qede: add slowpath support for VXLAN tunneling

2016-12-02 Thread Harish Patil
- Enable/disable VXLAN tunneling - Add/remove VXLAN classification rules - Destination UDP port configuration Signed-off-by: Harish Patil --- drivers/net/qede/base/ecore_l2.c | 3 + drivers/net/qede/base/ecore_l2_api.h | 1 + drivers/net/qede/qede_ethdev.c

[dpdk-dev] [PATCH 31/31] net/i40e: remove unused marco from PMD

2016-12-02 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- drivers/net/i40e/Makefile | 2 +- drivers/net/i40e/i40e_ethdev.c | 40 2 files changed, 1 insertion(+), 41 deletions(-) diff --git a/drivers/net/i40e/Makefile b/drivers/net/i40e/Makefile index

[dpdk-dev] [PATCH 26/31] net/i40e/base: add ERROR state for NVM update state machine

2016-12-02 Thread Jingjing Wu
This patch adds I40E_NVMUPD_STATE_ERROR state for NVM update. Without this patch driver has no possibility to return NVM image write failure.This state is being set when ARQ rises error. arq_last_status is also updated every time when ARQ event comes, not only on error cases. Signed-off-by:

[dpdk-dev] [PATCH 29/31] net/i40e/base: fix byte order

2016-12-02 Thread Jingjing Wu
Big Endian platform will accidentally send the wrong data to the firmware command. This patch fixes the issue. Fixes: 788fc17b2dec ("i40e/base: support proxy config for X722") Fixes: 3c89193a36fd ("i40e/base: support WOL config for X722") Signed-off-by: Jingjing Wu ---

[dpdk-dev] [PATCH 25/31] net/i40e/base: remove duplicate definitions

2016-12-02 Thread Jingjing Wu
We already define I40E_AQ_PHY_TYPE_EXT_25G* flags in the response adminq structure above, and do not need to re-define these. See eee_capability for an example where we didn't re-define these. This prevents Linux driver from complaining about using these flags in an #ifdef when running cppkeep

[dpdk-dev] [PATCH 20/31] net/i40e/base: add defines for new aq command

2016-12-02 Thread Jingjing Wu
By default the device clears all MAC filter information on PF Reset. However, this will cause Wake-On-LAN to fail because the wake filters are deleted on transition to D3 power state. To get around this, firmware is adding functionality to preserve certain MAC filters during PFR. These bits allow

[dpdk-dev] [PATCH 23/31] net/i40e/base: change shift values to hex

2016-12-02 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- drivers/net/i40e/base/i40e_type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h index 99e080e..3784c8f 100644 ---

[dpdk-dev] [PATCH 10/31] net/i40e/base: add protocols when discover capabilities

2016-12-02 Thread Jingjing Wu
Add logical_id to I40E_AQ_CAP_ID_MNG_MODE capability starting from major version 2. Signed-off-by: Jingjing Wu --- drivers/net/i40e/base/i40e_common.c | 8 drivers/net/i40e/base/i40e_type.h | 4 2 files changed, 12 insertions(+) diff --git

[dpdk-dev] [PATCH 06/31] net/i40e/base: fix long link down notification time

2016-12-02 Thread Jingjing Wu
This patch fixes a problem where it could take a very long time (>100 msec) to print the link down notification. This problem is fixed by changing how often we update link info from fw, when link is down. Without this patch, it can take over 100msec to notify user link is down. Fixes:

[dpdk-dev] [PATCH 09/31] net/i40e/base: add bus number info

2016-12-02 Thread Jingjing Wu
Currently i40e_bus_info has PCI device and function info only. However in log messages slot number (i.e hw->bus.device) is being printed as bus number. Another field should be added to provide bus number info and preserve existing information. Signed-off-by: Jingjing Wu

[dpdk-dev] [PATCH 08/31] net/i40e/base: add clause22 and clause45 implementation

2016-12-02 Thread Jingjing Wu
Some external PHYs require Clause22 and Clause45 method for accessing registers. Mostly used for X722 support. Signed-off-by: Jingjing Wu --- drivers/net/i40e/base/i40e_common.c| 245 +++-- drivers/net/i40e/base/i40e_prototype.h | 16 ++-

[dpdk-dev] [PATCH 05/31] net/i40e/base: group base mode VF offload flags

2016-12-02 Thread Jingjing Wu
Group together the minimum set of offload capabilities that are always supported by VF in base mode. This define would be used by PF to make sure VF in base mode gets minimum of base capabilities. Signed-off-by: Jingjing Wu --- drivers/net/i40e/base/i40e_virtchnl.h | 4

[dpdk-dev] [PATCH 04/31] net/i40e/base: fix bit test mask

2016-12-02 Thread Jingjing Wu
Incorrect bit mask was used for testing "get link status" response. Instead of I40E_AQ_LSE_ENABLE (which is actually 0x03) it most probably should be I40E_AQ_LSE_IS_ENABLED (which is defined as 0x01). Fixes: 8db9e2a1b232 ("i40e: base driver") Signed-off-by: Jingjing Wu ---

[dpdk-dev] [PATCH 02/31] net/i40e/base: preserve extended PHY type field

2016-12-02 Thread Jingjing Wu
Prevents 25G PHY types from being disabled when setting the flow control modes. Signed-off-by: Jingjing Wu --- drivers/net/i40e/base/i40e_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/i40e/base/i40e_common.c

[dpdk-dev] [PATCH 03/31] net/i40e/base: remove unnecessary code

2016-12-02 Thread Jingjing Wu
This patch changes some assignments and removing the unnecessary code to avoid error reported by static analysis tools. Signed-off-by: Jingjing Wu --- drivers/net/i40e/base/i40e_common.c | 4 drivers/net/i40e/base/i40e_lan_hmc.c | 5 - 2 files changed, 9

[dpdk-dev] [PATCH 01/31] net/i40e/base: add encap csum VF offload flag

2016-12-02 Thread Jingjing Wu
Add ENCAP_CSUM offload negotiation flag. Currently VF assumes checksum offload for encapsulated packets is supported by default. Going forward, this feature needs to be negotiated with PF before advertising to the stack. Hence, we need a flag to control it. Signed-off-by: Jingjing Wu

[dpdk-dev] [PATCH 00/31] net/i40e: base code update

2016-12-02 Thread Jingjing Wu
i40e base code upate. The main changes are: - add clause22 and clause45 implementation for PHY registers accessing - replace existing legacy memcpy() calls with i40e_memcpy() calls. - use BIT() macro instead of bit fields - add clear all WoL filters implementation - add ERROR state for NVM

Re: [dpdk-dev] [PATCH v12 0/6] add Tx preparation

2016-12-02 Thread Yong Wang
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > Sent: Wednesday, November 30, 2016 10:27 AM > To: Ananyev, Konstantin > Cc: Harish Patil ; dev@dpdk.org; Rahul Lakkireddy >

Re: [dpdk-dev] [RFC] igb_uio: deprecate iomem and ioport mapping

2016-12-02 Thread Stephen Hemminger
On Thu, 1 Sep 2016 02:16:37 + Jianfeng Tan wrote: > Previously in igb_uio, iomem is mapped, and both ioport and io mem > are recorded into uio framework, which is duplicated and makes the > code too complex. > > For iomem, DPDK user space code never opens or reads

[dpdk-dev] Question about IXGBEVF reset

2016-12-02 Thread Ruslan Nikolaev
Hi I was having a discussion on the IXGBE mailing list regarding RESET due to lost link mailbox message and its handling in DPDK: http://lists.osuosl.org/pipermail/intel-wired-lan/Week-of-Mon-20161128/007389.html I was wondering what can be done regarding this issue. Particularly, the patch

Re: [dpdk-dev] [RFC PATCH] eventdev: add buffered enqueue and flush APIs

2016-12-02 Thread Jerin Jacob
On Fri, Dec 02, 2016 at 01:45:56PM -0600, Gage Eads wrote: > This commit adds buffered enqueue functionality to the eventdev API. > It is conceptually similar to the ethdev API's tx buffering, however > with a smaller API surface and no dropping of events. Hello Gage, Different implementation

Re: [dpdk-dev] [PATCH 01/22] ethdev: introduce generic flow API

2016-12-02 Thread Kevin Traynor
On 12/01/2016 08:36 AM, Adrien Mazarguil wrote: > Hi Kevin, > > On Wed, Nov 30, 2016 at 05:47:17PM +, Kevin Traynor wrote: >> Hi Adrien, >> >> On 11/16/2016 04:23 PM, Adrien Mazarguil wrote: >>> This new API supersedes all the legacy filter types described in >>> rte_eth_ctrl.h. It is

[dpdk-dev] [RFC PATCH] eventdev: add buffered enqueue and flush APIs

2016-12-02 Thread Gage Eads
This commit adds buffered enqueue functionality to the eventdev API. It is conceptually similar to the ethdev API's tx buffering, however with a smaller API surface and no dropping of events. Signed-off-by: Gage Eads --- lib/librte_eventdev/rte_eventdev.c | 29 ++

Re: [dpdk-dev] [PATCH v2 00/55] Solarflare libefx-based PMD

2016-12-02 Thread Ferruh Yigit
On 11/29/2016 4:18 PM, Andrew Rybchenko wrote: > The patch series adds Solarflare libefx-based network PMD. > > This version of the driver supports Solarflare SFN7xxx and SFN8xxx > families of 10/40 Gbps adapters. > > libefx is a platform-independent library to implement drivers for > Solarflare

Re: [dpdk-dev] [PATCH] Scheduler: add driver for scheduler crypto pmd

2016-12-02 Thread Bruce Richardson
On Fri, Dec 02, 2016 at 03:31:24PM +0100, Thomas Monjalon wrote: > 2016-12-02 14:15, Fan Zhang: > > This patch provides the initial implementation of the scheduler poll mode > > driver using DPDK cryptodev framework. > > > > Scheduler PMD is used to schedule and enqueue the crypto ops to the > >

Re: [dpdk-dev] [PATCH 00/31] Support VFD and DPDK PF + kernel VF on i40e

2016-12-02 Thread Thomas Monjalon
2016-12-02 14:25, Iremonger, Bernard: > Hi Thomas, > > From: Thomas Monjalon [mailto:thomas.monja...@6wind.com] > > > > Do you agree to copy the remaining VF-specific functions from the generic > > ethdev API to ixgbe in 17.02? > > After a deprecation notice, we could remove them from the

Re: [dpdk-dev] [PATCH 00/31] Support VFD and DPDK PF + kernel VF on i40e

2016-12-02 Thread Thomas Monjalon
Do you agree to copy the remaining VF-specific functions from the generic ethdev API to ixgbe in 17.02? After a deprecation notice, we could remove them from the generic API in 17.05. So we will have a consistent status in 17.05 regarding VF functions. After some time (and experience) we will be

[dpdk-dev] [PATCH 3/3] app/test: add DES tests to Intel QAT crypto test suite

2016-12-02 Thread Arek Kusztal
This commit adds tests of Data Encryption Standard (DES) algorithm to Intel QuickAssist technology crypto test suites Signed-off-by: Arek Kusztal --- app/test/test_cryptodev.c | 18 + app/test/test_cryptodev_blockcipher.c | 5 ++

[dpdk-dev] [PATCH 2/3] crypto/qat: add DES capability to Intel QAT driver

2016-12-02 Thread Arek Kusztal
This commit adds DES capability to Intel QuickAssist Technology Driver Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/qat.rst| 1 + doc/guides/rel_notes/release_17_02.rst | 6 + drivers/crypto/qat/qat_adf/qat_algs.h

Re: [dpdk-dev] [PATCH 00/31] Support VFD and DPDK PF + kernel VF on i40e

2016-12-02 Thread Andrew Rybchenko
Hi Bernard, On 12/02/2016 01:58 PM, Iremonger, Bernard wrote: -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Andrew Rybchenko Sent: Friday, December 2, 2016 9:00 AM To: Lu, Wenzhuo ; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 00/31]

[dpdk-dev] [PATCH] app/testpmd: supported offload capabilities query

2016-12-02 Thread Qiming Yang
Add two new commands "show port capa " and "show port capa all"to diaplay what offload capabilities supported in ports. It will not only display all the capabilities of the port, but also the enabling condition for each capability in the running time. Signed-off-by: Qiming Yang

Re: [dpdk-dev] [PATCH 30/31] net/i40e: support Linux VF to configure IRQ link list

2016-12-02 Thread Ferruh Yigit
On 12/2/2016 12:12 AM, Wenzhuo Lu wrote: > i40e PF host only support to work with DPDK VF driver, Linux > VF driver is not supported. This change will enhance in > configuring IRQ link list. > > This Change will identify VF client by number of vector > requested. DPDK VF will ask only single one

Re: [dpdk-dev] [PATCH 12/31] net/i40e: set VF MAC from PF support

2016-12-02 Thread Ferruh Yigit
On 12/2/2016 12:11 AM, Wenzhuo Lu wrote: > Support setting VF MAC address from PF. > User can call the API on PF to set a speific VF's s/speific/specific > MAC address. > > Signed-off-by: Ferruh Yigit <..>

Re: [dpdk-dev] [PATCH 05/31] net/i40e: set TX loopback from PF

2016-12-02 Thread Ferruh Yigit
On 12/2/2016 12:11 AM, Wenzhuo Lu wrote: > Support enabling/disabling TX loopback from PF. > User can call the API on PF to enable/disable TX loopback > for all the PF and VFs. > > Signed-off-by: Wenzhuo Lu > --- > drivers/net/i40e/i40e_ethdev.c| 219 >

Re: [dpdk-dev] [PATCH 1/3] doc: update AESNI MB PMD guide

2016-12-02 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara > Sent: Thursday, December 1, 2016 9:37 AM > To: Doherty, Declan > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH

Re: [dpdk-dev] [PATCH 3/3] doc: add missing supported algos for AESNI MB PMD

2016-12-02 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pablo de Lara > Sent: Thursday, December 1, 2016 9:37 AM > To: Doherty, Declan > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [dpdk-dev] [PATCH

Re: [dpdk-dev] [PATCH] nfp: add doc about supported features

2016-12-02 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Alejandro Lucero > Sent: Friday, December 2, 2016 8:18 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] nfp: add doc about supported features > > Signed-off-by: Alejandro Lucero

[dpdk-dev] [PATCH 11/18] net/ixgbe: parse n-tuple filter

2016-12-02 Thread Wei Zhao
From: wei zhao1 Add rule validate function and check if the rule is a n-tuple rule, and get the n-tuple info. Signed-off-by: wei zhao1 Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.c | 349

[dpdk-dev] [PATCH 00/18] net/ixgbe: Consistent filter API

2016-12-02 Thread Wei Zhao
From: wei zhao1 The patches mainly finish following functions: 1) Store and restore all kinds of filters. 2) Parse all kinds of filters. 3) Add flow validate function. 4) Add flow create function. 5) Add flow destroy function. 6) Add flow flush function. wei zhao1 (18):

Re: [dpdk-dev] [PATCH 4/4] lib/librte_vhost: improve vhost perf using rte_memset

2016-12-02 Thread Thomas Monjalon
2016-12-05 16:26, Zhiyong Yang: > +* **Introduced rte_memset and related test on IA platform.** > + > + Performance drop had been caused in some cases on Ivybridge when DPDK code > calls glibc > + function memset. It was necessary to introduce more high efficient > function to fix it. > + The

[dpdk-dev] [PATCH v3] nfp: report link speed using hardware info

2016-12-02 Thread Alejandro Lucero
Previous reported speed was hardcoded. v3: remove unsed macro v2: using RTE_DIM instead of own macro Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH 3/4] app/test: add performance autotest for rte_memset

2016-12-02 Thread Zhiyong Yang
The file implements the perf autotest for rte_memset. The perf data can be gotten compared between memset and rte_memset when you run it. The first column shows the N size for memset. The second column lists a set of numbers for memset in cache, The third column lists a set of numbers for memset

[dpdk-dev] [PATCH 0/4] eal/common: introduce rte_memset and related test

2016-12-02 Thread Zhiyong Yang
DPDK code has met performance drop badly in some case when calling glibc function memset. Reference to discussions about memset in http://dpdk.org/ml/archives/dev/2016-October/048628.html It is necessary to introduce more high efficient function to fix it. One important thing about rte_memset is

[dpdk-dev] [PATCH] vhost: optimize vhost memcpy

2016-12-02 Thread Zhihong Wang
This patch optimizes Vhost performance for large packets when the Mergeable Rx buffer feature is enabled. It introduces a dedicated memcpy function for vhost enqueue/dequeue to replace rte_memcpy. The reason is that rte_memcpy is for general cases, it handles unaligned copies and make store

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

2016-12-02 Thread Olivier Matz
Hi Konstantin, On Fri, 2 Dec 2016 01:06:30 +, "Ananyev, Konstantin" wrote: > > > > 2016-11-23 18:36, Tomasz Kulasek: > > > +/** > > > + * Process a burst of output packets on a transmit queue of an > > > Ethernet device. > > > + * > > > + * The

[dpdk-dev] [PATCH 31/31] i40e: enhance in sanity check of mac

2016-12-02 Thread Wenzhuo Lu
When VF sends request to add a new mac address, PF host will check if it's a non-zero or uncast address, or it will return with error. In fact, VF still can set multicast address. This change remove to check if it's a unicast address. Signed-off-by: Chen Jing D(Mark) ---

[dpdk-dev] [PATCH 28/31] net/i40e: return correct vsi_id

2016-12-02 Thread Wenzhuo Lu
PF host didn't return correct VSI id to VF. This change fix it. Signed-off-by: Chen Jing D(Mark) --- drivers/net/i40e/i40e_pf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c index

[dpdk-dev] [PATCH 20/31] app/testpmd: use VFD APIs on i40e

2016-12-02 Thread Wenzhuo Lu
The new VF Daemon (VFD) APIs is implemented on i40e. Change testpmd code to use them, inlcuding VF MAC anti-spoofing, VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN insert. Signed-off-by: Wenzhuo Lu Signed-off-by: Chen Jing D(Mark)

[dpdk-dev] [PATCH 12/31] net/i40e: set VF MAC from PF support

2016-12-02 Thread Wenzhuo Lu
Support setting VF MAC address from PF. User can call the API on PF to set a speific VF's MAC address. Signed-off-by: Ferruh Yigit --- app/test/Makefile | 8 +++ app/test/test_pmd_i40e.c | 96 +++

[dpdk-dev] [PATCH 07/31] net/i40e: set VF multicast promisc mode from PF

2016-12-02 Thread Wenzhuo Lu
Support enabling/disabling VF multicast promicscuous mode from PF. User can call the API on PF to enable/disable a specific VF's multicast promiscuous mode. Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 36 +++

[dpdk-dev] [PATCH 02/31] net/i40e: add callback to user on VF to PF mbox msg

2016-12-02 Thread Wenzhuo Lu
The callback asks the user application if it is allowed to perform the mailbox messages. If the return value from user is RTE_PMD_I40E_MB_EVENT_PROCEED then continue. If ACK or NACK, do nothing and send not_supported to VF. Signed-off-by: Wenzhuo Lu ---

[dpdk-dev] [PATCH 25/31] net/sfc: add basic stubs for RSS support on driver attach

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- doc/guides/nics/sfc_efx.rst |

[dpdk-dev] [PATCH 30/31] net/sfc: add callback to update RSS redirection table

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 27/31] net/sfc: add callback to query RSS key and hash types config

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c |

[dpdk-dev] [PATCH 17/31] net/sfc: add callback to get RxQ pending descriptors count

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 11 +++ drivers/net/sfc/sfc_rx.c | 16 drivers/net/sfc/sfc_rx.h

[dpdk-dev] [PATCH 16/31] net/sfc: support Rx free threshold

2016-12-01 Thread Andrew Rybchenko
Rx free threshold defines minimum number of free Rx descriptors when Rx ring refill should be done. Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 20/31] net/sfc: support deferred start of receive queues

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 2 ++ drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 19/31] net/sfc: support scattered Rx DMA

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 4 ++-- drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 14/31] net/sfc: handle received packet type info provided by HW

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 2 ++ drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 18/31] net/sfc: add RxQ descriptor done callback

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 9 + drivers/net/sfc/sfc_rx.c | 11 +++ drivers/net/sfc/sfc_rx.h | 1 +

[dpdk-dev] [PATCH 12/31] net/sfc: support multicast addresses list controls

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 11/31] net/sfc: support main (the first) MAC address change

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c |

[dpdk-dev] [PATCH 09/31] net/sfc: support link up/down

2016-12-01 Thread Andrew Rybchenko
From: Artem Andreev Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Artem Andreev Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 15/31] net/sfc: support callback to get receive queue information

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 24 1 file changed, 24 insertions(+) diff --git

[dpdk-dev] [PATCH 13/31] net/sfc: support checksum offloads on receive

2016-12-01 Thread Andrew Rybchenko
IPv4 header and TCP/UDP checksums for both IPv4 and IPv6 are supported. Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 4 ++--

[dpdk-dev] [PATCH 10/31] net/sfc: support promiscuous and all-multicast control

2016-12-01 Thread Andrew Rybchenko
From: Ivan Malov Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Ivan Malov Signed-off-by: Andrew Rybchenko ---

[dpdk-dev] [PATCH 03/31] net/sfc: implement ethdev hook to get basic statistics

2016-12-01 Thread Andrew Rybchenko
Does not implement any deprecated statistics. No per-queue statistics yet. Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 +

[dpdk-dev] [PATCH 08/31] net/sfc: support link speed and duplex settings

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + drivers/net/sfc/sfc.c| 38 ++--

[dpdk-dev] [PATCH 05/31] net/sfc: support flow control settings get/set

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/features/sfc_efx.ini | 1 + doc/guides/nics/sfc_efx.rst | 2 + drivers/net/sfc/sfc_ethdev.c

[dpdk-dev] [PATCH 01/31] net/sfc: implement MCDI logging callback

2016-12-01 Thread Andrew Rybchenko
Reviewed-by: Andrew Lee Reviewed-by: Robert Stonehouse Signed-off-by: Andrew Rybchenko --- doc/guides/nics/sfc_efx.rst | 6 drivers/net/sfc/efsys.h | 2 +- drivers/net/sfc/sfc.h| 1 +

[dpdk-dev] [PATCH 00/31] Support more features in Solarflare PMD

2016-12-01 Thread Andrew Rybchenko
The patch series adds a number of features to Solarflare libefx-based PMD. Basically one patch per feature. The patches are grouped into one series since they touch nearby lines in either PMD feature list, or dev_ops structure, or documentation. So, patches cannot be applied in arbitrary order.

  1   2   3   4   5   6   7   8   9   10   >