[dpdk-dev] [PATCH v3 46/46] doc: add doc for liquidio and update release notes

2017-03-24 Thread Shijith Thotton
Add liquidio driver documentation and update 17.05 release notes. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- MAINTAINERS

Re: [dpdk-dev] [PATCH v2 0/5] consistent PMD batching behaviour

2017-03-24 Thread Yang, Zhiyong
Hi, Ferruh: I will update release note and fix the 2/5 checkpath warnings. send V3 later. Thanks Zhiyong > -Original Message- > From: Yigit, Ferruh > Sent: Friday, March 24, 2017 10:02 PM > To: Yang, Zhiyong ; dev@dpdk.org > Cc: Richardson, Bruce > Subject: Re: [dpdk-dev] [PA

[dpdk-dev] [PATCH v3 44/46] net/liquidio: add API to close device

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 68 +-- drivers/net/liqu

[dpdk-dev] [PATCH v3 43/46] net/liquidio: add API to stop device

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 20 1 file changed, 20 insertions(+) d

[dpdk-dev] [PATCH v3 45/46] net/liquidio: add API to add and remove VLAN port

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini | 2 ++ drivers/net/liquidio/base/lio_hw_defs.h | 2 ++

[dpdk-dev] [PATCH v3 39/46] net/liquidio: add APIs to configure UDP tunnel port

2017-03-24 Thread Shijith Thotton
Add APIs to configure VXLAN port and enable tunnel checksum. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.

[dpdk-dev] [PATCH v3 41/46] net/liquidio: add support for Tx stats

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 36 ++-- drivers/net/liquidi

[dpdk-dev] [PATCH v3 42/46] net/liquidio: add APIs for hardware stats

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini | 1 + drivers/net/liquidio/base/lio_hw_defs.h | 2 +

[dpdk-dev] [PATCH v3 40/46] net/liquidio: add support for Rx stats

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini | 1 + drivers/net/liquidio/lio_ethdev.c | 50 +++

[dpdk-dev] [PATCH v3 38/46] net/liquidio: add APIs to set link up and down

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 56 +++ 1 file changed,

[dpdk-dev] [PATCH v3 35/46] net/liquidio: add API to get device info

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.c | 47 +++

[dpdk-dev] [PATCH v3 37/46] net/liquidio: add APIs to enable and disable multicast

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini | 1 + drivers/net/liquidio/base/lio_hw_defs.h | 2 +

[dpdk-dev] [PATCH v3 34/46] net/liquidio: add RSS support

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini | 3 + drivers/net/liquidio/base/lio_hw_defs.h | 26 +

[dpdk-dev] [PATCH v3 36/46] net/liquidio: add API to validate VF MTU

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 46 +++ 1 file changed,

[dpdk-dev] [PATCH v3 32/46] net/liquidio: add APIs to alloc and send control command

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.h | 6 +++

[dpdk-dev] [PATCH v3 33/46] net/liquidio: add API to control Rx

2017-03-24 Thread Shijith Thotton
Enable or disable packet reception. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 3 ++ drivers/ne

[dpdk-dev] [PATCH v3 30/46] net/liquidio: add API to release Tx queue

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 31 +++ drivers/net/liquidio/lio

[dpdk-dev] [PATCH v3 31/46] net/liquidio: add APIs to start device and update link

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini | 2 + drivers/net/liquidio/base/lio_hw_defs.h | 1 +

[dpdk-dev] [PATCH v3 29/46] net/liquidio: add API to flush IQ

2017-03-24 Thread Shijith Thotton
API to flush instruction queue checks how many packets reached device and frees associated host buffers using request list. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by:

[dpdk-dev] [PATCH v3 26/46] net/liquidio: add APIs to enable and disable IO queues

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_23xx_vf.c | 70 + drivers/net/liqu

[dpdk-dev] [PATCH v3 28/46] net/liquidio: add Tx data path for multiple segments

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini | 1 + drivers/net/liquidio/lio_rxtx.c | 62 +++

[dpdk-dev] [PATCH v3 27/46] net/liquidio: add Tx data path for single segment

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 1 + drivers/net/liquidio/lio_ethdev.c | 3 +

[dpdk-dev] [PATCH v3 24/46] net/liquidio: add API to setup Tx queue

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 60 +++ drivers/net/liqu

[dpdk-dev] [PATCH v3 25/46] net/liquidio: add APIs for SG list

2017-03-24 Thread Shijith Thotton
Add APIs to setup and free Scatter-Gather list. SG list is used while sending packets with multiple segments. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jath

Re: [dpdk-dev] [PATCH v2 61/61] net/qede: add LRO/TSO offloads support

2017-03-24 Thread Mody, Rasesh
> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Friday, March 24, 2017 4:59 AM > > On 3/18/2017 7:06 AM, Rasesh Mody wrote: > > From: Harish Patil > > > > This patch includes slowpath configuration and fastpath changes to > > support LRO and TSO. A bit of revamping is needed in order

[dpdk-dev] [PATCH v3 21/46] net/liquidio: initialize Rx queue

2017-03-24 Thread Shijith Thotton
Initialize Rx queue registers and allocate packet buffers for Rx queue. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/ba

[dpdk-dev] [PATCH v3 22/46] net/liquidio: add Rx data path

2017-03-24 Thread Shijith Thotton
Add APIs to receive packets and re-fill ring buffers. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/liquidio.ini |

[dpdk-dev] [PATCH v3 23/46] net/liquidio: add API to release Rx queue

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/lio_ethdev.c | 28 drivers/net/liquidio/lio_rx

[dpdk-dev] [PATCH v3 16/46] net/liquidio: add APIs to allocate and free soft command

2017-03-24 Thread Shijith Thotton
Get buffers from SC buffer pool and create soft command. Buffers are freed to the pool once the command reaches device. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mall

[dpdk-dev] [PATCH v3 19/46] net/liquidio: add API to configure device

2017-03-24 Thread Shijith Thotton
Add API to configure device and initialize ethernet device operations. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/bas

[dpdk-dev] [PATCH v3 20/46] net/liquidio: add API to setup Rx queue

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 3 + drivers/net/liquidio/lio_ethdev.c | 67 +

[dpdk-dev] [PATCH v3 18/46] net/liquidio: add API to send packet to device

2017-03-24 Thread Shijith Thotton
Add API to send control and data packets to device. Request list keeps track of host buffers to be freed till it reaches device. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off

[dpdk-dev] [PATCH v3 17/46] net/liquidio: add APIs for response list

2017-03-24 Thread Shijith Thotton
Add APIs to setup and process response list. Response list holds soft commands waiting for response from device. Entries of this list are processed to check for command response or timeout. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Ve

[dpdk-dev] [PATCH v3 14/46] net/liquidio: add API to setup IQ

2017-03-24 Thread Shijith Thotton
Map instruction queue registers and set queue size. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_23xx_vf.c | 4

[dpdk-dev] [PATCH v3 13/46] net/liquidio: add APIs to allocate and free IQ

2017-03-24 Thread Shijith Thotton
Instruction queue (IQ) is used to send control and data packets to device from host. IQ 0 is used to send device configuration commands during initialization and later re-allocated as per application requirement. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chic

[dpdk-dev] [PATCH v3 15/46] net/liquidio: add APIs to allocate and free SC buffer pool

2017-03-24 Thread Shijith Thotton
Soft command (SC) holds device control command and related information. SC buffer pool holds buffers which are used during soft command allocation. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubram

[dpdk-dev] [PATCH v3 12/46] net/liquidio: add API for VF FLR

2017-03-24 Thread Shijith Thotton
VF sends Function Level Reset request to PF using mbox and PF does the reset. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liqui

[dpdk-dev] [PATCH v3 11/46] net/liquidio: add API for PF VF handshake

2017-03-24 Thread Shijith Thotton
Handshake with PF kernel driver to check driver version compatibility. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/bas

[dpdk-dev] [PATCH v3 09/46] net/liquidio: add mbox APIs for PF VF communication

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/Makefile| 1 + drivers/net/liquidio/base/lio_mbox.c | 275 +++

[dpdk-dev] [PATCH v3 08/46] net/liquidio: add API to setup IO queue registers

2017-03-24 Thread Shijith Thotton
Set default configuration values for input and output queue registers. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/bas

[dpdk-dev] [PATCH v3 10/46] net/liquidio: add API to setup mbox registers

2017-03-24 Thread Shijith Thotton
Map and initialize mbox registers. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_23xx_vf.c | 61 +++

[dpdk-dev] [PATCH v3 07/46] net/liquidio: add API to disable IO queues

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_23xx_vf.c | 49 + drivers/net/liqu

[dpdk-dev] [PATCH v3 03/46] net/liquidio: definitions for log

2017-03-24 Thread Shijith Thotton
Add debug options to config file. Define macros used for log and make use of config file options to enable them. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham J

[dpdk-dev] [PATCH v3 01/46] net/liquidio: add liquidio PMD skeleton

2017-03-24 Thread Shijith Thotton
Add makefile and config file options to compile PMD. Add feature and version map file. Update maintainers file to claim responsibility. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Sig

[dpdk-dev] [PATCH v3 04/46] net/liquidio: liquidio VF PMD driver registration

2017-03-24 Thread Shijith Thotton
Register LiquidIO PMD (net_liovf) and define APIs to init and uninit. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- doc/guides/nics/features/

[dpdk-dev] [PATCH v3 06/46] net/liquidio: liquidio device init

2017-03-24 Thread Shijith Thotton
Default device configuration and initialization code. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/Makefile |

[dpdk-dev] [PATCH v3 05/46] net/liquidio/base: macros to read and write register

2017-03-24 Thread Shijith Thotton
Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_hw_defs.h | 67 + 1 file changed,

[dpdk-dev] [PATCH v3 02/46] net/liquidio/base: hardware register definitions

2017-03-24 Thread Shijith Thotton
Add HW register definitions for LiquidIO II CN23XX adapter. Signed-off-by: Shijith Thotton Signed-off-by: Jerin Jacob Signed-off-by: Derek Chickles Signed-off-by: Venkat Koppula Signed-off-by: Srisivasubramanian S Signed-off-by: Mallesham Jatharakonda --- drivers/net/liquidio/base/lio_23xx_

[dpdk-dev] [PATCH v3 00/46] LiquidIO PMD

2017-03-24 Thread Shijith Thotton
The patch series provides initial version of virtual function poll mode driver for Cavium LiquidIO II server adapters. This version adds support for LiquidIO II CN23XX 210SV adapters. Patch series includes driver documentation doc/guides/nics/liquidio.rst and list of supported features doc/guides/

Re: [dpdk-dev] [PATCH v3 41/61] net/qede/base: add support for previous driver unload

2017-03-24 Thread Mody, Rasesh
Hi Ferruh, > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Friday, March 24, 2017 4:01 AM > > On 3/24/2017 7:28 AM, Rasesh Mody wrote: > > New driver/management fw load request sequence for handling previous > > driver unload. > > > > Signed-off-by: Rasesh Mody > > Hi Rasesh, > > P

Re: [dpdk-dev] [PATCH v5 02/20] event/sw: add new software-only eventdev driver

2017-03-24 Thread Jerin Jacob
On Fri, Mar 24, 2017 at 04:52:57PM +, Harry van Haaren wrote: > From: Bruce Richardson > > This adds the minimal changes to allow a SW eventdev implementation to > be compiled, linked and created at run time. The eventdev does nothing, > but can be created via vdev on commandline, e.g. > >

Re: [dpdk-dev] [PATCH v2] pipeline_firewall: Fix for port range filtering

2017-03-24 Thread Shyam Shrivastav
> Firewall ACL definition need to use same input index for source and > > destination ports as these are 16 bits and would fit in one ACL > > field of 32 bits. This is required as per librte_acl API. Without this > > UDP/TCP source and destination ports filtering (and for that > > matter ICMP type/

Re: [dpdk-dev] [PATCH v5 01/20] test/eventdev: pass timeout ticks unsupported

2017-03-24 Thread Jerin Jacob
On Fri, Mar 24, 2017 at 04:52:56PM +, Harry van Haaren wrote: > This commit reworks the return value handling of the > timeout ticks test. This feature is not mandatory for > a pmd, the eventdev layer returns -ENOTSUP if the PMD > doesn't implement the function. > > The test is modified to che

Re: [dpdk-dev] [PATCH v6] eventdev: add errno-style return values

2017-03-24 Thread Jerin Jacob
On Fri, Mar 24, 2017 at 08:08:06AM +0530, Jerin Jacob wrote: > On Thu, Mar 23, 2017 at 05:30:20PM -0500, Gage Eads wrote: > > From: "Eads, Gage" > > > > This commit adds rte_errno return values to rte_event_enqueue_burst() and > > rte_event_dequeue_burst(). > > > > These return values allows use

Re: [dpdk-dev] [PATCH v4 1/5] net/i40e: add pipeline personalization profile processing

2017-03-24 Thread Xing, Beilei
Hi Andrey, > -Original Message- > From: Chilikin, Andrey > Sent: Friday, March 24, 2017 10:53 PM > To: Xing, Beilei ; Wu, Jingjing > > Cc: Zhang, Helin ; dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 1/5] net/i40e: add pipeline > personalization profile processing > > Hi Beilei, > >

[dpdk-dev] [PATCH v6 12/13] test/test: add dpaa2 sec crypto performance test

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev_perf.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index 7f1adf8..9cdbc39 100644 --- a/test/t

[dpdk-dev] [PATCH v6 13/13] test/test: add dpaa2 sec crypto functional test

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev.c | 106 + test/test/test_cryptodev_blockcipher.c | 3 + test/test/test_cryptodev_blockcipher.h | 1 + 3 files changed, 110 insertions(+) diff

[dpdk-dev] [PATCH v6 10/13] doc: add NXP dpaa2 sec in cryptodev

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- doc/guides/cryptodevs/dpaa2_sec.rst | 232 +++ doc/guides/cryptodevs/features/dpaa2_sec.ini | 34 doc/guides/cryptodevs/index.rst | 1 + doc/guides/nics/dpaa2.rst

[dpdk-dev] [PATCH v6 11/13] maintainers: claim responsibility for dpaa2 sec pmd

2017-03-24 Thread akhil.goyal
From: Akhil Goyal update MAINTAINERS file to add responsibility for dpaa2 sec pmd Signed-off-by: Akhil Goyal --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c97c105..ea9a94c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -481,6 +481,12 @

[dpdk-dev] [PATCH v6 09/13] crypto/dpaa2_sec: statistics support

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 76 + 1 file changed, 76 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index d45797f..0e5fc10 10064

[dpdk-dev] [PATCH v6 08/13] crypto/dpaa2_sec: add crypto operation support

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1210 +++ drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 143 2 files changed, 1353 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpa

[dpdk-dev] [PATCH v6 07/13] bus/fslmc: add packet frame list entry definitions

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 25 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 2 files changed, 26 insertions(+) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dp

[dpdk-dev] [PATCH v6 04/13] crypto/dpaa2_sec: add basic crypto operations

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 181 1 file changed, 181 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpsec

[dpdk-dev] [PATCH v6 03/13] crypto/dpaa2_sec: add mc dpseci object support

2017-03-24 Thread akhil.goyal
From: Akhil Goyal add support for dpseci object in MC driver. DPSECI represent a crypto object in DPAA2. Signed-off-by: Cristian Sovaiala Signed-off-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/Makefile| 2 + drivers/crypto/dpaa2_sec/mc/dpseci.c | 551 +++

[dpdk-dev] [PATCH v6 01/13] cryptodev: add cryptodev type for dpaa2 sec

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Akhil Goyal --- lib/librte_cryptodev/rte_cryptodev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index f9f3f9e..263e68d 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++

[dpdk-dev] [PATCH v6 02/13] crypto/dpaa2_sec: add dpaa2 sec poll mode driver

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Signed-off-by: Hemant Agrawal Signed-off-by: Akhil Goyal --- config/common_base | 8 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 12 ++ drivers/bus/Makefile | 4 + drivers/bus/fslmc/Makefile

[dpdk-dev] [PATCH v6 00/13] Introducing NXP dpaa2_sec based cryptodev pmd

2017-03-24 Thread akhil.goyal
From: Akhil Goyal Based over the DPAA2 PMD driver [1], this series of patches introduces the DPAA2_SEC PMD which provides DPDK crypto driver for NXP's DPAA2 CAAM Hardware accelerator. SEC is NXP DPAA2 SoC's security engine for cryptographic acceleration and offloading. It implements block encryp

Re: [dpdk-dev] [PATCH v3 2/2] ethdev: add hierarchical scheduler API

2017-03-24 Thread Dumitrescu, Cristian
> > No there is no such policy on a next- tree. > > It is free to the maintainer of the tree I guess. > > Thanks, Thomas. Can you please create a next-tree for QoS Traffic > Management with the following details: > Maintainer: Cristian > Committers: Hemant, Jerin, Cristian Hi Thomas,

Re: [dpdk-dev] DPDK installation

2017-03-24 Thread De Lara Guarch, Pablo
Hi Ashwini, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ashwini Thaokar > Sent: Friday, March 24, 2017 7:14 PM > To: dev@dpdk.org > Subject: [dpdk-dev] DPDK installation > > I have downloaded a tar file of latest version of DPDK and extracted it on > my VM

[dpdk-dev] DPDK installation

2017-03-24 Thread Ashwini Thaokar
I have downloaded a tar file of latest version of DPDK and extracted it on my VMware Fusion running Ubuntu 16.04 on Mac OS X . I'm trying to install and make targets, using the make install T= command in the top-level DPDK directory. make install T=x86_64-native-linuxapp-icc The following error

Re: [dpdk-dev] [PATCH v2] pipeline_firewall: Fix for port range filtering

2017-03-24 Thread Dumitrescu, Cristian
> -Original Message- > From: Shyam Kumar Shrivastav [mailto:shrivastav.sh...@gmail.com] > Sent: Wednesday, March 22, 2017 1:36 AM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org; Shyam Kumar Shrivastav > Subject: [PATCH v2] pipeline_firewall: Fix for port range filtering > > Firewall ACL

[dpdk-dev] [PATCH v8 3/3] net/vhost: vHost support to free consumed buffers

2017-03-24 Thread Billy McFall
Add support to the vHostdriver for the new API to force free consumed buffers on Tx ring. vHost does not cache the mbufs so there is no work to do. Signed-off-by: Billy McFall Acked-by: Maxime Coquelin Acked-by: Keith Wiles --- doc/guides/nics/features/vhost.ini | 1 + drivers/net/vhost/rte_e

[dpdk-dev] [PATCH v8 2/3] net/e1000: e1000 igb support to free consumed buffers

2017-03-24 Thread Billy McFall
Add support to the e1000 igb driver for the new API to force free consumed buffers on Tx ring. This API is independent of the tx_rs_thresh setting. With this API, buffers should be free even if tx_rs_thresh is not met. e1000 igb driver does not implement a tx_rs_thresh to free mbufs, it frees a sl

[dpdk-dev] [PATCH v8 1/3] ethdev: new API to free consumed buffers in Tx ring

2017-03-24 Thread Billy McFall
Add a new API to force free consumed buffers on Tx ring. API will return the number of packets freed (0-n) or error code if feature not supported (-ENOTSUP) or input invalid (-ENODEV). Signed-off-by: Billy McFall Acked-by: Keith Wiles --- doc/guides/conf.py | 7 +-- do

[dpdk-dev] [PATCH v8 0/3] new API to free consumed buffers in Tx ring

2017-03-24 Thread Billy McFall
See request from 11/21/2016: http://dpdk.org/ml/archives/dev/2016-November/050585.html Add a new API to free consumed buffers on TX ring. This addresses two scenarios: 1) Flooding a packet and want to reuse existing mbuf to avoid a packet copy. Increment the reference count of the packet and pol

Re: [dpdk-dev] [PATCH 0/1] proposed minor change in rte_flow_validate semantics

2017-03-24 Thread John Daley (johndale)
Hi Adrien, > -Original Message- > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > Sent: Friday, March 24, 2017 2:47 AM > To: John Daley (johndale) > Cc: dev@dpdk.org > Subject: Re: [PATCH 0/1] proposed minor change in rte_flow_validate > semantics > > Hi John, > > On Thu, M

[dpdk-dev] [PATCH v3 09/14] ring: allow dequeue fns to return remaining entry count

2017-03-24 Thread Bruce Richardson
Add an extra parameter to the ring dequeue burst/bulk functions so that those functions can optionally return the amount of remaining objs in the ring. This information can be used by applications in a number of ways, for instance, with single-consumer queues, it provides a max dequeue size which i

[dpdk-dev] [PATCH v3 10/14] examples/quota_watermark: use ring space for watermarks

2017-03-24 Thread Bruce Richardson
Now that the enqueue function returns the amount of space in the ring, we can use that to replace the old watermark functionality. Update the example app to do so, and re-enable it in the examples Makefile. Signed-off-by: Bruce Richardson Acked-by: Olivier Matz --- examples/Makefile

[dpdk-dev] [PATCH v3 08/14] ring: allow enqueue fns to return free space value

2017-03-24 Thread Bruce Richardson
Add an extra parameter to the ring enqueue burst/bulk functions so that those functions can optionally return the amount of free space in the ring. This information can be used by applications in a number of ways, for instance, with single-producer queues, it provides a max enqueue size which is gu

[dpdk-dev] [PATCH v3 07/14] ring: make bulk and burst fn return vals consistent

2017-03-24 Thread Bruce Richardson
The bulk fns for rings returns 0 for all elements enqueued and negative for no space. Change that to make them consistent with the burst functions in returning the number of elements enqueued/dequeued, i.e. 0 or N. This change also allows the return value from enq/deq to be used directly without a

[dpdk-dev] [PATCH v3 14/14] ring: make ring struct and enq/deq macros type agnostic

2017-03-24 Thread Bruce Richardson
Modify the enqueue and dequeue macros to support copying any type of object by passing in the exact object type. Rather than using the "ring" structure member of rte_ring, which is of type "array of void *", instead have the macros take the start of the ring a a pointer value, thereby leaving the r

[dpdk-dev] [PATCH v3 13/14] ring: create common function for updating tail idx

2017-03-24 Thread Bruce Richardson
Both producer and consumer use the same logic for updating the tail index so merge into a single function. Signed-off-by: Bruce Richardson Acked-by: Olivier Matz --- V3: added check for "single" mode in tail update to buypass unneeded check --- lib/librte_ring/rte_ring.h | 34 +-

[dpdk-dev] [PATCH v3 12/14] ring: separate out head index manipulation for enq/deq

2017-03-24 Thread Bruce Richardson
We can write a single common function for head manipulation for enq and a common one for deq, allowing us to have a single worker function for enq and deq, rather than two of each. Update all other inline functions to use the new functions. Signed-off-by: Bruce Richardson Acked-by: Olivier Matz

[dpdk-dev] [PATCH v3 11/14] ring: reduce scope of local variables

2017-03-24 Thread Bruce Richardson
The local variable i is only used for loop control so define it in the enqueue and dequeue blocks directly, rather than at the function level. Signed-off-by: Bruce Richardson Acked-by: Olivier Matz --- lib/librte_ring/rte_ring.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

[dpdk-dev] [PATCH v3 06/14] ring: remove watermark support

2017-03-24 Thread Bruce Richardson
Remove the watermark support. A future commit will add support for having enqueue functions return the amount of free space in the ring, which will allow applications to implement their own watermark checks, while also being more useful to the app. Signed-off-by: Bruce Richardson Acked-by: Olivie

[dpdk-dev] [PATCH v3 03/14] ring: eliminate duplication of size and mask fields

2017-03-24 Thread Bruce Richardson
The size and mask fields are duplicated in both the producer and consumer data structures. Move them out of that into the top level structure so they are not duplicated. Signed-off-by: Bruce Richardson Acked-by: Olivier Matz --- lib/librte_ring/rte_ring.c | 20 ++-- lib/librte_r

[dpdk-dev] [PATCH v3 05/14] ring: remove the yield when waiting for tail update

2017-03-24 Thread Bruce Richardson
There was a compile time setting to enable a ring to yield when it entered a loop in mp or mc rings waiting for the tail pointer update. Build time settings are not recommended for enabling/disabling features, and since this was off by default, remove it completely. If needed, a runtime enabled equ

[dpdk-dev] [PATCH v3 04/14] ring: remove debug setting

2017-03-24 Thread Bruce Richardson
The debug option only provided statistics to the user, most of which could be tracked by the application itself. Remove this as a compile time option, and feature, simplifying the code. Signed-off-by: Bruce Richardson Acked-by: Olivier Matz --- config/common_base | 1 - do

[dpdk-dev] [PATCH v3 01/14] ring: remove split cacheline build setting

2017-03-24 Thread Bruce Richardson
Users compiling DPDK should not need to know or care about the arrangement of cachelines in the rte_ring structure. Therefore just remove the build option and set the structures to be always split. On platforms with 64B cachelines, for improved performance use 128B rather than 64B alignment since

[dpdk-dev] [PATCH v3 02/14] ring: create common structure for prod and cons metadata

2017-03-24 Thread Bruce Richardson
create a common structure to hold the metadata for the producer and the consumer, since both need essentially the same information - the head and tail values, the ring size and mask. Signed-off-by: Bruce Richardson --- V3: removed union and replaced with "single" variable V2: renamed the shared s

[dpdk-dev] [PATCH v3 00/14] refactor and cleanup of rte_ring

2017-03-24 Thread Bruce Richardson
This patchset make a set of, sometimes non-backward compatible, cleanup changes to the rte_ring code in order to improve it. The resulting code is shorter, since the existing functions are restructured to reduce code duplication, as well as being more consistent in behaviour. The specific changes m

[dpdk-dev] [PATCH] app/testpmd: enable NUMA support by default

2017-03-24 Thread Bruce Richardson
There is little reason for NUMA support in testpmd to be off by default, so enable it, and add in a new commandline parameter to disable it, if that is wanted by users. Signed-off-by: Bruce Richardson --- app/test-pmd/parameters.c | 3 +++ app/test-pmd/testpmd.c| 2 +-

[dpdk-dev] [PATCH v5 01/20] test/eventdev: pass timeout ticks unsupported

2017-03-24 Thread Harry van Haaren
This commit reworks the return value handling of the timeout ticks test. This feature is not mandatory for a pmd, the eventdev layer returns -ENOTSUP if the PMD doesn't implement the function. The test is modified to check if the return value is -ENOTSUP, and return -ENOTSUP to the test framework,

[dpdk-dev] [PATCH v5 02/20] event/sw: add new software-only eventdev driver

2017-03-24 Thread Harry van Haaren
From: Bruce Richardson This adds the minimal changes to allow a SW eventdev implementation to be compiled, linked and created at run time. The eventdev does nothing, but can be created via vdev on commandline, e.g. sudo ./x86_64-native-linuxapp-gcc/app/test --vdev=event_sw0 ... PMD: Creati

Re: [dpdk-dev] [PATCH v2 02/14] ring: create common structure for prod and cons metadata

2017-03-24 Thread Bruce Richardson
On Fri, Mar 24, 2017 at 05:41:34PM +0100, Olivier Matz wrote: > Hi Bruce, > > On Fri, 24 Mar 2017 14:55:36 +, Bruce Richardson > wrote: > > On Wed, Mar 15, 2017 at 03:01:49PM +0100, Thomas Monjalon wrote: > > > clang error below: > > > > > > 2017-03-07 11:32, Bruce Richardson: > > > > +

Re: [dpdk-dev] [PATCH] vfio: add hotplug support

2017-03-24 Thread Burakov, Anatoly
Hi Alejandro, >Those lines are not error messages. Are you suggesting not splitting lines in >the commit comment? Apologies, that (and other instances) was supposed to mean "snipped" :)   > What do you refer to? The TODO line? No, I was referring to "map BARS" comment in an unmapping function.

[dpdk-dev] [PATCH v5 20/20] maintainers: add eventdev section and claim SW PMD

2017-03-24 Thread Harry van Haaren
Add a section for the eventdev PMDs, and note the next-tree. Claim maintainership of the software eventdev PMD. Signed-off-by: Harry van Haaren --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 711fbfb..55ca3f0 100644 --- a/MAINTAINERS +

[dpdk-dev] [PATCH v5 19/20] doc: add event device and software eventdev

2017-03-24 Thread Harry van Haaren
This commit adds a section to the docs listing the event device PMDs available. It then adds the software eventdev PMD to the listed event devices. Signed-off-by: Harry van Haaren --- doc/guides/eventdevs/index.rst | 40 +++ doc/guides/eventdevs/sw.rst| 148

[dpdk-dev] [PATCH v5 18/20] test/eventdev: add SW deadlock tests

2017-03-24 Thread Harry van Haaren
This commit adds the worker loopback test to verify that the deadlock avoidance scheme is functioning, and a holb (head-of-line-blocking) test to ensure the head of line blocking avoidance is correct. Signed-off-by: Bruce Richardson Signed-off-by: David Hunt Signed-off-by: Harry van Haaren ---

[dpdk-dev] [PATCH v5 17/20] test/eventdev: add SW xstats tests

2017-03-24 Thread Harry van Haaren
This commit introduces xstats tests for statistics and reset functionality. Signed-off-by: Bruce Richardson Signed-off-by: David Hunt Signed-off-by: Harry van Haaren --- v5: fix 32 bit prints using PRIu64 and %zu --- test/test/test_eventdev_sw.c | 806

  1   2   3   >