Re: [dpdk-dev] [PATCH] net/mlx5: implement drop action in hardware classifier

2017-05-25 Thread Nélio Laranjeiro
Shachar, Please see the few comments above, On Thu, May 25, 2017 at 01:05:58PM +, Shachar Beiser wrote: > The current drop action is implemented as a queue tail drop, > requiring to instantiate multiple WQs to maintain high drop rate. > This commit, implements the drop action in hardware clas

[dpdk-dev] [PATCH v4 20/20] bus/fslmc: reducing the debug log messages

2017-05-25 Thread Hemant Agrawal
Reducing the amount of logging and making the err statement as a single line statements. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 43 +--- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c |

[dpdk-dev] [PATCH v4 15/20] net/dpaa2: add link status config support

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 118 +++ drivers/net/dpaa2/dpaa2_ethdev.h | 2 +- drivers/net/dpaa2/dpaa2_rxtx.c | 25 + 3 files changed, 144 insertions(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_et

[dpdk-dev] [PATCH v4 19/20] net/dpaa2: add support for Firmware Version get

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 36 +++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index

[dpdk-dev] [PATCH v4 13/20] net/dpaa2: add support for VLAN filter and offload

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 2 ++ drivers/net/dpaa2/dpaa2_ethdev.c| 55 +++ drivers/net/dpaa2/mc/dpni.c | 66 + drivers/net/dpaa2/mc/fsl_dpni.h | 54 +++

[dpdk-dev] [PATCH v4 14/20] net/dpaa2: add support for VLAN strip

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 0670ae3..d7e18ad 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -330,6

[dpdk-dev] [PATCH v4 16/20] net/dpaa2: add support for flow control

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 142 drivers/net/dpaa2/mc/dpni.c | 18 + drivers/net/dpaa2/mc/fsl_dpni.h | 24 ++ drivers/net/dpaa2/mc/fsl_dpni_cmd.h |

[dpdk-dev] [PATCH v4 18/20] bus/fslmc: add support to detect soc version

2017-05-25 Thread Hemant Agrawal
This is required to configure the stashing destination based on the cluster size. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpmng.c| 81 +++ drivers/bus/fslmc/mc/fsl_dpmng.h| 99 +

[dpdk-dev] [PATCH v4 12/20] net/dpaa2: add support for multicast promiscuous mode

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 61 +++-- drivers/net/dpaa2/mc/dpni.c | 41 + drivers/net/dpaa2/mc/fsl_dpni.h | 27 drivers/net/

[dpdk-dev] [PATCH v4 17/20] net/dpaa2: configure jumbo frames

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c | 20 2 files changed, 21 insertions(+) diff --git a/doc/guides/nics/features/dpaa2.ini b/doc/guides/nics/features/dpaa2.ini index 720c35b..48422f0 100644 --- a/d

[dpdk-dev] [PATCH v4 10/20] bus/fslmc: update TAILQ usages in dpaa2 objects

2017-05-25 Thread Hemant Agrawal
This patch updates the usages of malloc and TAILQ in dpbp and dpio objects. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c | 28 +--- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 32 2 files changed, 21 insertions

[dpdk-dev] [PATCH v4 11/20] net/dpaa2: add support for MAC address filtering

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- doc/guides/nics/features/dpaa2.ini | 1 + drivers/net/dpaa2/dpaa2_ethdev.c| 81 - drivers/net/dpaa2/mc/dpni.c | 76 ++ drivers/net/dpaa2/mc/fsl_dpni.h | 45 +

[dpdk-dev] [PATCH v4 06/20] net/dpaa2: support parallel Rx in eth pmd

2017-05-25 Thread Hemant Agrawal
Typically when the PMD issues a RX command to DPAA2 hardware, the hw writes the available descriptors into the given memory. The RX function then processes the frames and prepare them as mbufs. This patch adds support to issue another pull request to hardware in another memory location, before we

[dpdk-dev] [PATCH v4 09/20] net/dpaa2: add support for tail drop on queue

2017-05-25 Thread Hemant Agrawal
This will help in limiting the size of queues and avoid them growing practically infinite. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c| 19 + drivers/net/dpaa2/dpaa2_ethdev.h| 8 drivers/net/dpaa2/mc/dpni.c | 50 ++ drivers

[dpdk-dev] [PATCH v4 05/20] bus/fslmc: support for parallel Rx DQ requests

2017-05-25 Thread Hemant Agrawal
DPAA2 hardware support the option to configure multiple memories for Rx recv buffer (DPAA2-DQRR). Each Rx request executing is called as 'DQ' request. This patch adds routines to get information w.r.t each DQ request. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c

[dpdk-dev] [PATCH v4 07/20] bus/fslmc: export qbman results in map file

2017-05-25 Thread Hemant Agrawal
In order to check the congestion state of Egress FQs, this qbman function will be used by the dpaa2 ethernet PMD. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drive

[dpdk-dev] [PATCH v4 08/20] net/dpaa2: add support for congestion notification

2017-05-25 Thread Hemant Agrawal
In case of HW egress FQ is congested, skip further transmission of frames. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 5 +- drivers/net/dpaa2/dpaa2_ethdev.c| 62 ++- drivers/net/dpaa2/dpaa2_ethdev.h| 14 drivers/net/dpaa2/dpaa

[dpdk-dev] [PATCH v4 03/20] net/dpaa2: stop using software annotation

2017-05-25 Thread Hemant Agrawal
The DPAA2 driver is not using the DPAA2 frame descriptor software annotation area. This patch reduces the PTA length to zero and adjust the RX Buffer Layout accordingly. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 2 +- drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 1

[dpdk-dev] [PATCH v4 04/20] net/dpaa2: improve the error handling in dev init

2017-05-25 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 69 +++- 1 file changed, 39 insertions(+), 30 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 007eda7..698fb84 100644 --- a/drivers/net/dpa

[dpdk-dev] [PATCH v4 02/20] net/dpaa2: remove port level buffer layout definition

2017-05-25 Thread Hemant Agrawal
This code in device init is not required, as the buffer layout setting is also being programmed during queue configuration. Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_ethdev.c | 25 - 1 file changed, 25 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_eth

[dpdk-dev] [PATCH v4 01/20] mk: change to cortex-a72

2017-05-25 Thread Hemant Agrawal
DPAA2 devices now support cortex-a72. They no longer support a57. Also, fp and simd is no more required to be stated explicitly for standard a72 core. Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +- mk/machine/dpaa2/rte.vars.mk | 2 +- 2 files ch

[dpdk-dev] [PATCH v4 00/20] NXP DPAA2 PMD functional enhancements

2017-05-25 Thread Hemant Agrawal
This patchset adds following features to DPAA2 PMD: 1. improved error handling 2. parallel RX DQ requests to improve performance 3. Support for various ethdev operations 4. enable jumbo frames --- v4: * rebased on next-net * fixed alignment issues * added FW-version in dpaa2.ini v3: * rebased on

Re: [dpdk-dev] i40e igb_uio: reset pci on process exit

2017-05-25 Thread Gregory Etelson
Thank you. Regards, Gregory On Friday, 26 May 2017 09:05:11 IDT Shijith Thotton wrote: > On Fri, May 26, 2017 at 07:30:58AM +0300, Gregory Etelson wrote: > > Hi Gregory, > > The patch is useful for LiquidIO PMD as we can avoid VF FLR request to > PF. One comment inline.. > > [..] > > > > > >

Re: [dpdk-dev] i40e igb_uio: reset pci on process exit

2017-05-25 Thread Shijith Thotton
On Fri, May 26, 2017 at 07:30:58AM +0300, Gregory Etelson wrote: Hi Gregory, The patch is useful for LiquidIO PMD as we can avoid VF FLR request to PF. One comment inline.. [..] > > > > > > +static int > > > +igbuio_pci_release(struct uio_info *info, struct inode *inode) > > > +{ > > > +

Re: [dpdk-dev] [PATCH v3 3/3] vhost: access VhostUsrMsg via packed struct

2017-05-25 Thread Yuanhan Liu
On Wed, May 24, 2017 at 01:12:07PM +, Stojaczyk, DariuszX wrote: > > This is for fixing compile warnings with new clang 4.0? > > > > http://dpdk.org/ml/archives/dev/2017-April/064089.html > > > > If so, please show the exact warning in the commit log. > > > > Everything compiles, but is

Re: [dpdk-dev] [PATCH v3] vhost: support rx_queue_count

2017-05-25 Thread Yuanhan Liu
On Fri, May 26, 2017 at 01:18:02PM -0400, Zhihong Wang wrote: > This patch implements the ops rx_queue_count for vhost PMD by adding > a helper function rte_vhost_rx_queue_count in vhost lib. > > The ops rx_queue_count gets vhost RX queue avail count and helps to > understand the queue fill level.

[dpdk-dev] [PATCH v3] vhost: support rx_queue_count

2017-05-25 Thread Zhihong Wang
This patch implements the ops rx_queue_count for vhost PMD by adding a helper function rte_vhost_rx_queue_count in vhost lib. The ops rx_queue_count gets vhost RX queue avail count and helps to understand the queue fill level. Signed-off-by: Zhihong Wang Acked-by: Ciara Loftus --- Changes in v3

Re: [dpdk-dev] [PATCH] vhost: support rx_queue_count

2017-05-25 Thread Wang, Zhihong
> -Original Message- > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > Sent: Wednesday, May 24, 2017 4:43 PM > To: Jens Freimann > Cc: Wang, Zhihong ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] vhost: support rx_queue_count > > On Wed, May 24, 2017 at 10:36:01AM +0200, Jens

Re: [dpdk-dev] i40e igb_uio: reset pci on process exit

2017-05-25 Thread Gregory Etelson
Hello, This patch introduces idea I would like to implement in igb_uio driver However, I would like to get hardware experts confirmation. If the procedure correct I'll submit proper patch Regards, Gregory On Thursday, 25 May 2017 21:42:42 IDT Stephen Hemminger wrote: > On Wed, 24 May 2017 14:22

Re: [dpdk-dev] IXBGE VF: link state detection

2017-05-25 Thread Gregory Etelson
Hello, I'll update the code. Thank you. Regards, Gregory Hi Gregory, I think so. For example, In kernel driver, you can find there’s a message that’s used for PF to notify VF when the link state changes. Best regards Wenzhuo Lu *From:* Gregory Etelson [mailto:greg...@weka.io] *Sent:*

[dpdk-dev] Is it possible to make softrss value be same with NIC RSS value?

2017-05-25 Thread Heung Sik Choi
Hi, I study hash optimization in network, and I know that rte_softrss() function in DPDK lib(rte_thash.h) which implements RSS. And then, I guess that its value is same with NIC RSS(hardware). I get NIC RSS by call 'le32_to_cpu(rx_desc->wb.lower.hi_dword.rss)'; However, I printed NIC RSS's valu

[dpdk-dev] [PATCH] crypto/scheduler: remove session backup and recover

2017-05-25 Thread Fan Zhang
This patch removes the unnecssary session backup and recover steps in the round-robin and fail-over modes of cryptodev scheduler PMD. Originally, the scheduler blindly enqueues to the slaves regardless of their available queue rooms, and recovers the sessions once failed. This patch predicts the nu

Re: [dpdk-dev] IXBGE VF: link state detection

2017-05-25 Thread Lu, Wenzhuo
Hi Gregory, I think so. For example, In kernel driver, you can find there’s a message that’s used for PF to notify VF when the link state changes. Best regards Wenzhuo Lu From: Gregory Etelson [mailto:greg...@weka.io] Sent: Thursday, May 25, 2017 2:03 PM To: Lu, Wenzhuo Cc: dev@dpdk.org; us...

[dpdk-dev] 2.5 Gbps and 5 Gbps support in ixgbe PMD for X550

2017-05-25 Thread Roberts, Lee A.
This is a request for 2.5 Gbps and 5 Gbps support in the ixgbe PMD for the X550 adapter. Support of these 2.5GBASE-T and 5GBASE-T speeds may be useful for networking applications using existing CAT 5e/CAT 6 cables at lengths up to 100 m. The ixgbe base driver in dpdk-17.05/drivers/net/ixgbe/bas

Re: [dpdk-dev] [PATCH 1/6] net/vmxnet3: retain counters on restart

2017-05-25 Thread Nachi Prachanda
> From: Shrikrishna Khare [mailto:skh...@shri-linux.eng.vmware.com] > Sent: Thursday, May 25, 2017 1:27 PM > > On Thu, 25 May 2017, Nachi Prachanda wrote: > > > > From: Shrikrishna Khare [mailto:skh...@shri-linux.eng.vmware.com] > > > Sent: Wednesday, May 24, 2017 2:10 PM > > > > > > On Fri, 19 M

Re: [dpdk-dev] [PATCH 1/6] net/vmxnet3: retain counters on restart

2017-05-25 Thread Shrikrishna Khare
On Thu, 25 May 2017, Nachi Prachanda wrote: > > From: Shrikrishna Khare [mailto:skh...@shri-linux.eng.vmware.com] > > Sent: Wednesday, May 24, 2017 2:10 PM > > > > On Fri, 19 May 2017, Charles (Chas) Williams wrote: > > > > > From: Nachiketa Prachanda > > > > > > Most nics like virtio, igb/ix

Re: [dpdk-dev] i40e igb_uio: reset pci on process exit

2017-05-25 Thread Stephen Hemminger
On Wed, 24 May 2017 14:22:11 +0300 Gregory Etelson wrote: > > +static int > +igbuio_pci_release(struct uio_info *info, struct inode *inode) > +{ > + int ret; > + struct rte_uio_pci_dev *udev = info->priv; > + struct pci_dev *dev = udev->pdev; > + ret = __pci_reset_functi

Re: [dpdk-dev] [PATCH 1/6] net/vmxnet3: retain counters on restart

2017-05-25 Thread Nachi Prachanda
> From: Shrikrishna Khare [mailto:skh...@shri-linux.eng.vmware.com] > Sent: Wednesday, May 24, 2017 2:10 PM > > On Fri, 19 May 2017, Charles (Chas) Williams wrote: > > > From: Nachiketa Prachanda > > > > Most nics like virtio, igb/ixgbe etc. don't reset counters on > > dev_start and arguably thi

[dpdk-dev] [PATCH 20/20] doc: add NXP DPAA2 EVENTDEV details

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 1 + doc/guides/eventdevs/dpaa2.rst | 157 + 2 files changed, 158 insertions(+) create mode 100644 doc/guides/eventdevs/dpaa2.rst diff --git a/MAINTAINERS b/MAINTAINERS index 45e284e..9c909

[dpdk-dev] [PATCH 19/20] event/dpaa2: handle timeout using interrupts in dequeue

2017-05-25 Thread Nipun Gupta
This patch adds support for interrupt handling on the event port. These interrupts facilitates managing of timeout ticks in the event dequeue functions. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 36 +--- 1 file changed, 33 insertions(+)

[dpdk-dev] [PATCH 18/20] bus/fslmc: enable portal interrupt handling

2017-05-25 Thread Nipun Gupta
Eventdev requires portal interrupts to handle timeout in the event dequeue. This patch provides mechanism to enable the portal interrupts. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 108 - drivers/bus/fslmc/portal/dpaa2_hw_pvt.h

[dpdk-dev] [PATCH 17/20] fslmc/bus: add interrupt enabling routine

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 34 ++ drivers/bus/fslmc/fslmc_vfio.h | 3 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 07a9278..88cac20 100644 --- a/drive

[dpdk-dev] [PATCH 16/20] event/dpaa2: add enqueue and dequeue functionality

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 170 +-- 1 file changed, 163 insertions(+), 7 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index cfb52bb..3f3e4a6 100644 --- a/drivers/e

[dpdk-dev] [PATCH 15/20] bus/fslmc: change func argument to const to avoid warning

2017-05-25 Thread Nipun Gupta
qbman_get_dqrr_idx() API is required with constant dqrr entry in the eventdev driver. Also, this routine is not updating the dqrr. So, this patch updates its input argument to a const type. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 2 +- drivers/bus/fslm

[dpdk-dev] [PATCH 14/20] bus/fslmc: add callback per queue to enable

2017-05-25 Thread Nipun Gupta
Dequeue from event device needs to process the event on the basis of the hardware queue from which it is dequeued. A callback is added into dpaa2_queue structure, to enable event dequeue functionality to call that processing routine. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_

[dpdk-dev] [PATCH 12/20] event/dpaa2: add configuration functions

2017-05-25 Thread Nipun Gupta
This patch adds all the configuration API's for DPAA2 eventdev including device config, start, stop & port and queue related API's Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 283 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 22 +++ 2 file

[dpdk-dev] [PATCH 13/20] bus/fslmc: support enqueue with multiple enqueue descriptors

2017-05-25 Thread Nipun Gupta
This patch adds the QBMAN API which support multiple enqueue descriptors. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 14 + drivers/bus/fslmc/qbman/qbman_portal.c | 70 ++ drivers/bus/fslmc/rte_bus_fslmc_version.map

[dpdk-dev] [PATCH 11/20] bus/fslmc: add support for static dequeue from portal

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/mc/dpio.c | 44 + drivers/bus/fslmc/mc/fsl_dpio.h | 30 drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 1 + drivers/bus/fslmc/rte_bus_fslmc_version.map | 2 ++ 4 files ch

[dpdk-dev] [PATCH 09/20] bus/fslmc: adding cpu support in stashing config

2017-05-25 Thread Nipun Gupta
Stashing can also be configured by other drivers (for instance event driver) passing cpu_id as an argument. This change facilitates the same. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c| 14 ++ drivers/bus/fslmc/portal/dpaa2_hw_dpio.h| 4 dri

[dpdk-dev] [PATCH 10/20] event/dpaa2: add initialization of event device

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 153 ++- drivers/event/dpaa2/dpaa2_eventdev.h | 22 + 2 files changed, 171 insertions(+), 4 deletions(-) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_event

[dpdk-dev] [PATCH 08/20] bus/fslmc: register dpci as dpaa2 device for bus scan

2017-05-25 Thread Nipun Gupta
Registering dpci as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 179 ++

[dpdk-dev] [PATCH 07/20] bus/fslmc: adding basic dpci support

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 1 + drivers/bus/fslmc/mc/dpci.c | 307 + drivers/bus/fslmc/mc/fsl_dpci.h | 404 drivers/bus/fslmc/mc/fsl_dpci_cmd.h | 147 ++

[dpdk-dev] [PATCH 06/20] event/dpaa2: register dpcon as dpaa2 device for bus scan

2017-05-25 Thread Nipun Gupta
Registering dpcon as dpaa2 type device handling initialization, allocation and freeing of the device Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/Makefile | 8 ++ drivers/event/dpaa2/dpaa2_eventdev.h | 18 + drivers/event/dpaa2/dpaa2_hw_dpcon.c | 139

[dpdk-dev] [PATCH 05/20] bus/fslmc: export qbman dqrr funcs for eventdev usages

2017-05-25 Thread Nipun Gupta
From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/rte_bus_fslmc_version.map | 8 1 file changed, 8 insertions(+) diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 92a7342..008aaa0 100644 --- a/drivers/b

[dpdk-dev] [PATCH 04/20] bus/fslmc: adding basic dpcon support

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/Makefile | 3 +- drivers/bus/fslmc/fslmc_vfio.h | 1 + drivers/bus/fslmc/mc/dpcon.c| 230 +++ drivers/bus/fslmc/mc/fsl_dpcon.h| 238

[dpdk-dev] [PATCH 03/20] bus/fslmc: integrating dpio and dpbp to object framework

2017-05-25 Thread Nipun Gupta
This patch removes the existing static call for dpio and dpbp create and add them to object registration framework. This patch also changes the vfio mc object processing to use the framework. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c

[dpdk-dev] [PATCH 02/20] bus/fslmc: generic framework for mc object creation

2017-05-25 Thread Nipun Gupta
From: Hemant Agrawal There are muliple help mc object, which are not an independent device, but they are required for dpaa2 based devices. This framework allows registration and handling of all such mc devices. Signed-off-by: Hemant Agrawal Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fsl

[dpdk-dev] [PATCH 01/20] event/dpaa2: add basic build infrastructure

2017-05-25 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 4 ++ config/defconfig_arm64-dpaa2-linuxapp-gcc | 6 ++ drivers/event/Makefile | 2 + drivers/event/dpaa2/Makefile | 56 drivers/event

[dpdk-dev] [PATCH 00/20] next-eventdev: NXP DPAA2 eventdev PMD

2017-05-25 Thread Nipun Gupta
The following patch set adds NXP DPAA2 HW based eventdev implementation to the next-eventdev tree. The patchset consists of the following: - DPCON support required by DPAA2 eventdev - DPCI support in fslmc bus - Interrupt support in QBMAN - Implemetation of eventdev API's for DPAA2 - Documentation

[dpdk-dev] [PATCH] net/avp: remove redundant assignment

2017-05-25 Thread Ferruh Yigit
dev_info->driver_name is assigned by rte_eth_dev_info_get() and existing value overwritten, removing assignment. Fixes: 1a85922369c4 ("net/avp: add device configuration") Signed-off-by: Ferruh Yigit --- drivers/net/avp/avp_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/

Re: [dpdk-dev] [PATCH] net/sfc: advertise that device is detachable

2017-05-25 Thread Ferruh Yigit
On 5/25/2017 1:03 PM, Andrew Rybchenko wrote: > Signed-off-by: Andrew Rybchenko Applied to dpdk-next-net/master, thanks.

Re: [dpdk-dev] [PATCH 1/2] ethdev: add function to adjust number of descriptors

2017-05-25 Thread Stephen Hemminger
On Thu, 25 May 2017 16:57:53 +0100 Andrew Rybchenko wrote: > From: Roman Zhukov > > Check that numbers of Rx and Tx descriptors satisfy descriptors limits > from the Ethernet device information, otherwise adjust them to boundaries. > > Signed-off-by: Roman Zhukov > Signed-off-by: Andrew Rybch

Re: [dpdk-dev] [RFC PATCH v2 1/3] cryptodev: added asymmetric algorithms

2017-05-25 Thread Trahe, Fiona
Hi Umesh, > -Original Message- > From: Umesh Kartha [mailto:umesh.kar...@caviumnetworks.com] > Sent: Thursday, May 11, 2017 1:36 PM > To: dev@dpdk.org > Cc: Jerin Jacob ; Balasubramanian > Manoharan > ; Ram Kumar ; > Murthy > Nidadavolu ; Doherty, Declan > ; De Lara > Guarch, Pablo ; T

[dpdk-dev] [PATCH 2/2] examples: adjust Rx and Tx descriptors to device limits

2017-05-25 Thread Andrew Rybchenko
From: Roman Zhukov Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko --- examples/bond/main.c | 22 --- examples/distributor/main.c| 10 +-- examples/ethtool/ethtool-app/main.c| 10 +-- examples

[dpdk-dev] [PATCH 1/2] ethdev: add function to adjust number of descriptors

2017-05-25 Thread Andrew Rybchenko
From: Roman Zhukov Check that numbers of Rx and Tx descriptors satisfy descriptors limits from the Ethernet device information, otherwise adjust them to boundaries. Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko --- lib/librte_ether/rte_ethdev.c | 37

[dpdk-dev] [PATCH] examples/multi_process: remove set but unused variable

2017-05-25 Thread Andrew Rybchenko
Fix broken build with -Werror=unused-but-set-variable Signed-off-by: Andrew Rybchenko --- examples/multi_process/l2fwd_fork/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/multi_process/l2fwd_fork/main.c b/examples/multi_process/l2fwd_fork/main.c index d922522..59c1024 1006

[dpdk-dev] [RFC v3] flow_classify: add librte_flow_classify library

2017-05-25 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- Cc: Bernard Iremonger Cc: Adrien Mazarguil RFC v3: * add create() / destroy() APIs * query() gets rte_flow_classify object as param * query() gets one flow at a time RFC v2: * prefer user called functions to callbacks * use rte_flow to define flows and actions -

[dpdk-dev] [RFC v3] Flow classification library

2017-05-25 Thread Ferruh Yigit
DPDK works with packets, but some network administration tools works based on flow information. This library is suggested to provide helper API to convert packet based information to the flow records. Basically the library consist of APIs to create and destroy the rule and to query the stats. App

[dpdk-dev] [PATCH v3 3/3] app/testpmd: add isolated mode parameter

2017-05-25 Thread Vasily Philipov
In case if --isolated-mode parameter was added to the command line the rte flow isolate action will be applied on each port before the device configuring. Signed-off-by: Vasily Philipov --- app/test-pmd/parameters.c | 3 +++ app/test-pmd/testpmd.c| 14 ++ app/test-pmd/testpmd.h

[dpdk-dev] [PATCH v3 1/3] net/mlx4: implement isolated mode from flow API

2017-05-25 Thread Vasily Philipov
The user must request isolated mode before device configuration, the default RSS ring isn't created in this case. Signed-off-by: Vasily Philipov --- The series depends on: http://dpdk.org/ml/archives/dev/2017-April/064327.html http://dpdk.org/dev/patchwork/patch/23741/ --- drivers/net/mlx4/mlx4

[dpdk-dev] [PATCH v3 2/3] net/mlx4: support for the RSS flow action

2017-05-25 Thread Vasily Philipov
The isolated mode should be enabled. The number of queues in RSS ring must be power of 2. The sharing a queue between several RSS rings is impossible. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c | 2 +- drivers/net/mlx4/mlx4.h | 5 ++ drivers/net/mlx4/mlx4_flow.c | 1

[dpdk-dev] [PATCH v2 2/3] net/mlx4: support for the RSS flow action

2017-05-25 Thread Vasily Philipov
The isolated mode should be enabled. The number of queues in RSS ring must be power of 2. The sharing a queue between several RSS rings is impossible. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c | 2 +- drivers/net/mlx4/mlx4.h | 5 ++ drivers/net/mlx4/mlx4_flow.c | 1

[dpdk-dev] [PATCH v2 3/3] app/testpmd: add isolated mode parameter

2017-05-25 Thread Vasily Philipov
In case if --isolated-mode parameter was added to the command line the rte flow isolate action will be applied on each port before the device configuring. Signed-off-by: Vasily Philipov --- app/test-pmd/parameters.c | 3 +++ app/test-pmd/testpmd.c| 14 ++ app/test-pmd/testpmd.h

[dpdk-dev] [PATCH v2 1/3] net/mlx4: implement isolated mode from flow API

2017-05-25 Thread Vasily Philipov
The user must request isolated mode before device configuration, the default RSS ring isn't created in this case. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c | 431 ++- drivers/net/mlx4/mlx4.h | 18 +- drivers/net/mlx4/mlx4_flow.c

Re: [dpdk-dev] [RFC] service core concept header implementation

2017-05-25 Thread Van Haaren, Harry
Hi All, Service Cores RFC, more details and discussion > Though I think both PMD/core libraries and app layer might be interested in > that: i.e. > app might also have some background processing tasks, that might need to be > run > on several cores (or core slices). Thanks everybody for

Re: [dpdk-dev] [PATCH v1 2/2] mk: add sensible default target with defconfig

2017-05-25 Thread Shreyansh Jain
Hi David, > -Original Message- > From: Hunt, David [mailto:david.h...@intel.com] > Sent: Thursday, May 25, 2017 6:34 PM > To: Shreyansh Jain > Cc: dev@dpdk.org; tho...@monjalon.net > Subject: Re: [PATCH v1 2/2] mk: add sensible default target with defconfig > > Hi Shreyansh, > > Thanks

Re: [dpdk-dev] [PATCH v1 2/2] mk: add sensible default target with defconfig

2017-05-25 Thread Hunt, David
Hi Shreyansh, Thanks for your comments. More thoughts below. On 24/5/2017 7:10 AM, Shreyansh Jain wrote: Hello David, On Tuesday 23 May 2017 03:58 PM, David Hunt wrote: Users can now use 'make defconfig' to generate a configuration using the most appropriate defaults for the current machine.

[dpdk-dev] [PATCH 3/3] app/testpmd: add isolated mode parameter

2017-05-25 Thread Vasily Philipov
In case if --isolated-mode parameter was added to the command line the rte flow isolate action will be applied on each port before the device configuring. Signed-off-by: Vasily Philipov --- app/test-pmd/parameters.c | 3 +++ app/test-pmd/testpmd.c| 14 ++ app/test-pmd/testpmd.h

[dpdk-dev] [PATCH 2/3] net/mlx4: support for the RSS flow action

2017-05-25 Thread Vasily Philipov
The isolated mode should be enabled. The number of queues in RSS ring must be power of 2. The sharing a queue between several RSS rings is impossible. Signed-off-by: Vasily Philipov --- drivers/net/mlx4/mlx4.c | 2 +- drivers/net/mlx4/mlx4.h | 5 ++ drivers/net/mlx4/mlx4_flow.c | 1

[dpdk-dev] [PATCH 1/3] net/mlx4: implement isolated mode from flow API

2017-05-25 Thread Vasily Philipov
The user must request isolated mode before device configuration, the default RSS ring isn't created in this case. Signed-off-by: Vasily Philipov --- The series depends on: http://dpdk.org/ml/archives/dev/2017-April/064327.html http://dpdk.org/dev/patchwork/patch/23741/ --- drivers/net/mlx4/mlx4

[dpdk-dev] [PATCH] net/sfc: advertise that device is detachable

2017-05-25 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c index 0bd2de4..731661e 100644 --- a/drivers/net/sfc/sfc_ethdev.c +++ b/drivers/net/sfc/sfc_ethdev.c @@ -1642,6 +1642,8

Re: [dpdk-dev] [PATCH] net/liquidio: set device speed capability info

2017-05-25 Thread Ferruh Yigit
On 5/25/2017 10:24 AM, Shijith Thotton wrote: > Add subsystem device id of CN23xx cards and expose speed capability of > devices. Update liquidio feature file to mark support. > > Signed-off-by: Shijith Thotton Applied to dpdk-next-net/master, thanks.

[dpdk-dev] [PATCH] net/liquidio: set device speed capability info

2017-05-25 Thread Shijith Thotton
Add subsystem device id of CN23xx cards and expose speed capability of devices. Update liquidio feature file to mark support. Signed-off-by: Shijith Thotton --- doc/guides/nics/features/liquidio.ini | 1 + drivers/net/liquidio/base/lio_hw_defs.h | 6 ++ drivers/net/liquidio/lio_ethdev.c

[dpdk-dev] [PATCH] crypto/scheduler: remove deprecation functions

2017-05-25 Thread Fan Zhang
This patch remove the deprecation functions as well as notice for scheduler mode set/get API changes. Signed-off-by: Fan Zhang --- doc/guides/rel_notes/deprecation.rst | 6 drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 13 - drivers/crypto/scheduler/rte_cryptod