Re: [dpdk-dev] [PATCH v3 10/10] doc: add mempool and octeontx mempool device

2017-10-08 Thread santosh
On Monday 09 October 2017 10:31 AM, santosh wrote: > Hi Thomas, > > > On Sunday 08 October 2017 10:13 PM, Thomas Monjalon wrote: >> 08/10/2017 14:40, Santosh Shukla: >>> This commit adds a section to the docs listing the mempool >>> device PMDs available. >> It is confusing to add a mempool guide,

Re: [dpdk-dev] [PATCH v2] app/testpmd: fix stats period can't quit normally in container

2017-10-08 Thread Ferruh Yigit
On 9/22/2017 11:32 AM, Jianbo Liu wrote: > On 22 September 2017 at 14:21, Phil Yang wrote: >> In container, the process cannot be terminated by SIGINT/SIGTERM when >> execute with 'stats-period' option. >> Fixed by adding a flag to exit stats period loop after received either >> SIGINT or SIGTERM.

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix forward port ids setting

2017-10-08 Thread Ferruh Yigit
On 9/7/2017 8:44 AM, Wu, Jingjing wrote: > > >> -Original Message- >> From: Matan Azrad [mailto:ma...@mellanox.com] >> Sent: Sunday, September 3, 2017 9:19 PM >> To: Wu, Jingjing ; Gaetan Rivet >> ; >> Thomas Monjalon >> Cc: dev@dpdk.org; Ori Kam ; sta...@dpdk.org >> Subject: [PATCH] ap

Re: [dpdk-dev] [PATCH v2 00/26] DPDK PMD for OCTEONTX NW device

2017-10-08 Thread santosh
On Monday 09 October 2017 07:37 AM, Ferruh Yigit wrote: > On 10/8/2017 1:44 PM, Santosh Shukla wrote: >> v2: >> Includes Minor changes like: >> - Incorporated minor review comment (Suggested y John) >> - Added correct pool handle ops name i.e. from mbuf-pool-ops to >> mbuf-pool-ops-name in the d

Re: [dpdk-dev] [PATCH v3 02/10] mempool/octeontx: add build and log infrastructure

2017-10-08 Thread santosh
On Sunday 08 October 2017 10:46 PM, Thomas Monjalon wrote: > 08/10/2017 14:40, Santosh Shukla: >> DEPDIRS-mempool := bus >> +DEPDIRS-mempool := event > It is overriding dependency on bus. > Is is not a big deal because event depends on bus. > > Fixed as > DEPDIRS-mempool := bus event Thank

Re: [dpdk-dev] [PATCH v3 10/10] doc: add mempool and octeontx mempool device

2017-10-08 Thread santosh
Hi Thomas, On Sunday 08 October 2017 10:13 PM, Thomas Monjalon wrote: > 08/10/2017 14:40, Santosh Shukla: >> This commit adds a section to the docs listing the mempool >> device PMDs available. > It is confusing to add a mempool guide, given that we already have > a mempool section in the program

Re: [dpdk-dev] [PATCH] app/testpmd:fix invalid port id parameters

2017-10-08 Thread Ferruh Yigit
On 10/9/2017 5:16 AM, Ferruh Yigit wrote: > On 8/22/2017 6:03 AM, Li Han wrote: >> in parse_ringnuma_config/parse_portnuma_config functions,port_id >> should less than RTE_MAX_ETHPORTS,but port_id_is_invalid check >> assumes that port_id may be 255.>> >> Signed-off-by: Li Han > Reviewed-by: Ferru

Re: [dpdk-dev] [PATCH] app/testpmd: wrong usage of fseek & ftell to determine filesize

2017-10-08 Thread Ferruh Yigit
On 8/22/2017 3:03 AM, Xing, Beilei wrote: > > >> -Original Message- >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Daniel Mrzyglod >> Sent: Friday, August 18, 2017 10:18 PM >> To: Xing, Beilei >> Cc: dev@dpdk.org; Mrzyglod, DanielX T >> Subject: [dpdk-dev] [PATCH] app/testpmd:

Re: [dpdk-dev] [PATCH] app/testpmd:fix invalid port id parameters

2017-10-08 Thread Ferruh Yigit
On 8/22/2017 6:03 AM, Li Han wrote: > in parse_ringnuma_config/parse_portnuma_config functions,port_id > should less than RTE_MAX_ETHPORTS,but port_id_is_invalid check > assumes that port_id may be 255. testpmd using RTE_PORT_ALL [1], which is in valid port_id range, as special meaning [2] making

[dpdk-dev] [PATCH] doc: virtio lsc hint

2017-10-08 Thread Zhiyong Yang
Virtio PMD has already the ability to support link status change(lsc), but qemu 2.7.0 introduce the capability to detect vhost user disconnection. So, virtio PMD which works with qemu 2.7.0 and above can receive lsc when vhost user disconnects. The patch updates doc to let user know that. Signed-o

Re: [dpdk-dev] [PATCH 00/17] update QEDE base driver to 8.30.8.0

2017-10-08 Thread Ferruh Yigit
On 10/7/2017 7:30 AM, Rasesh Mody wrote: > Hi, > > The changes in this patch set include few enhancements, semantic changes, > code cleanup and fixes. It updates base driver to version 8.30.8.0. > > Thanks! > -Rasesh > > Rasesh Mody (17): > net/qede/base: add xcvr type and DON FW defines > n

[dpdk-dev] [PATCH v3 5/5] bus/vdev: normalize log type

2017-10-08 Thread Jianfeng Tan
Use RTE_LOGTYPE_BUS for logging in vdev bus. Signed-off-by: Jianfeng Tan --- drivers/bus/vdev/vdev.c | 9 + drivers/bus/vdev/vdev_logs.h | 40 2 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 drivers/bus/vdev/vdev_logs.h

[dpdk-dev] [PATCH v3 4/5] bus/vdev: move to vdev bus to drivers/bus

2017-10-08 Thread Jianfeng Tan
Move the vdev bus from lib/librte_eal to drivers/bus. As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those helper function into drivers/bus too. Signed-off-by: Jianfeng Tan --- config/common_base| 5 + drivers/bus/Makefile

[dpdk-dev] [PATCH v3 3/5] bus: introduce RTE_LOGTYPE_BUS for bus drivers

2017-10-08 Thread Jianfeng Tan
Introduce a new log type, RTE_LOGTYPE_BUS, for bus drivers. And change fslmc to use this type for logging. Suggested-by: Gaetan Rivet Signed-off-by: Jianfeng Tan --- drivers/bus/fslmc/fslmc_bus.c | 9 +++ drivers/bus/fslmc/fslmc_logs.h | 42 --

[dpdk-dev] [PATCH v3 0/5] move vdev into drivers/bus

2017-10-08 Thread Jianfeng Tan
This patch set depends on: http://dpdk.org/ml/archives/dev/2017-October/077855.html This patch set is originated from below series: http://dpdk.org/ml/archives/dev/2017-September/076821.html As per previous discussions, we tend to move all bus drivers from EAL to drivers/bus/. This patch set

[dpdk-dev] [PATCH v3 1/5] cryptodev: remove crypto vdev init API

2017-10-08 Thread Jianfeng Tan
Remove rte_cryptodev_create_vdev() for duplication. Signed-off-by: Jianfeng Tan Acked-by: Pablo de Lara --- doc/guides/rel_notes/deprecation.rst | 5 - lib/librte_cryptodev/rte_cryptodev.c | 6 -- lib/librte_cryptodev/rte_cryptodev.h | 17

[dpdk-dev] [PATCH v3 2/5] eal: avoid calling rte_vdev_init()

2017-10-08 Thread Jianfeng Tan
We can call bus->plug() to avoid calling rte_vdev_init() explicitly. Signed-off-by: Jianfeng Tan --- lib/librte_eal/common/eal_common_dev.c | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/lib/librte_eal/common/eal_common_dev.c b/lib/librte_eal/common/e

Re: [dpdk-dev] [PATCH] vhost: fix unchecked return value

2017-10-08 Thread Yuanhan Liu
On Fri, Sep 22, 2017 at 02:17:40PM +0200, Kuba Kozak wrote: > Add return value check for poll() call. > > Coverity issue: 140740 > Fixes: 59317cef249c ("vhost: allow many vhost-user ports") > Cc: jan.wick...@ericsson.com > Cc: sta...@dpdk.org > > Signed-off-by: Kuba Kozak Applied to dpdk-next-v

Re: [dpdk-dev] [PATCH] pmd_virtio: Buffer not null terminated

2017-10-08 Thread Yuanhan Liu
On Tue, Sep 19, 2017 at 01:41:04PM +0200, SebastianX Basierski wrote: > Fix calling strncpy with the a maximum size equal of destination > array size. > > Coverity issue: 140732 > > Fixes: e3b434818bbb ("net/virtio-user: support kernel vhost") > Cc: jianfeng@intel.com > cc: dev@dpdk.org > >

Re: [dpdk-dev] [git pull] virtio changes for 17.11-rc1

2017-10-08 Thread Yuanhan Liu
On Sat, Oct 07, 2017 at 04:37:53PM +0200, Thomas Monjalon wrote: > 06/10/2017 08:45, Yuanhan Liu: > > Hi Thomas, > > > > Please consider pulling following virtio changes for 17.11-rc1 at > > git://dpdk.org/next/dpdk-next-virtiomaster > > There is a compilation error on ARM with > "net/vir

Re: [dpdk-dev] [git pull] virtio changes for 17.11-rc1

2017-10-08 Thread Yuanhan Liu
On Sun, Oct 08, 2017 at 10:16:29PM +0200, Thomas Monjalon wrote: > 08/10/2017 22:10, Olivier MATZ: > > Hi Thomas, > > > > On Sat, Oct 07, 2017 at 04:37:53PM +0200, Thomas Monjalon wrote: > > > 06/10/2017 08:45, Yuanhan Liu: > > > > Hi Thomas, > > > > > > > > Please consider pulling following virt

Re: [dpdk-dev] [PATCH v1 0/7] net/mlx5: add vectorized Rx/Tx burst for ARM

2017-10-08 Thread Ferruh Yigit
On 10/6/2017 12:00 AM, Yongseok Koh wrote: > Add dataplane functions using ARM NEON instructions. To modularize vectorized > functions for different architectures, the existing files having x86 SSE > support > is reorganized. > > This patchset has dependency with the following patches: > - net/ml

Re: [dpdk-dev] [PATCH v2 00/26] DPDK PMD for OCTEONTX NW device

2017-10-08 Thread Ferruh Yigit
On 10/8/2017 1:44 PM, Santosh Shukla wrote: > v2: > Includes Minor changes like: > - Incorporated minor review comment (Suggested y John) > - Added correct pool handle ops name i.e. from mbuf-pool-ops to > mbuf-pool-ops-name in the doc. > - Rebased on Octeontx-fpavf v3 series and tested for same.

Re: [dpdk-dev] [PATCH] net/i40e: fix unexpected mbuf free in vPMD

2017-10-08 Thread Wu, Jingjing
Hi, qi Is your patch duplicated with this http://www.dpdk.org/dev/patchwork/patch/29814/ ? Thanks Jingjing > -Original Message- > From: Zhang, Qi Z > Sent: Monday, October 9, 2017 4:54 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; sta...@dpdk.org > Subject: [PA

Re: [dpdk-dev] DPDK 17.11 LTS

2017-10-08 Thread Yuanhan Liu
On Fri, Oct 06, 2017 at 07:12:45PM +0200, Thomas Monjalon wrote: > 06/10/2017 18:25, Luca Boccassi: > > On Fri, 2017-10-06 at 16:05 +, Mcnamara, John wrote: > > > Hi, > > > > > > At the recent DPDK 2017 Userspace in Dublin it was agreed that we > > > should have a DPDK 17.11 LTS with 2 year su

Re: [dpdk-dev] [PATCH v2 07/12] eal: add channel for primary/secondary communication

2017-10-08 Thread Tan, Jianfeng
Hi Jan, > -Original Message- > From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan > Blunck > Sent: Thursday, October 5, 2017 8:02 PM > To: Tan, Jianfeng > Cc: dev; Richardson, Bruce; Ananyev, Konstantin; De Lara Guarch, Pablo; > Thomas Monjalon; y...@fridaylinux.org; Maxim

Re: [dpdk-dev] [PATCH v2 08/12] bus/vdev: scan and probe vdev in secondary processes

2017-10-08 Thread Tan, Jianfeng
Hi Jan, > -Original Message- > From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan > Blunck > Sent: Thursday, October 5, 2017 9:05 PM > To: Tan, Jianfeng > Cc: dev; Richardson, Bruce; Ananyev, Konstantin; De Lara Guarch, Pablo; > Thomas Monjalon; y...@fridaylinux.org; Maxim

Re: [dpdk-dev] [PATCH v2 03/12] cryptodev: avoid dependency on rte_vdev.h

2017-10-08 Thread Tan, Jianfeng
Hi Jan, > -Original Message- > From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan > Blunck > Sent: Thursday, October 5, 2017 9:14 PM > To: Tan, Jianfeng > Cc: dev; Richardson, Bruce; Ananyev, Konstantin; De Lara Guarch, Pablo; > Thomas Monjalon; y...@fridaylinux.org; Maxim

[dpdk-dev] [PATCH] net/i40e: fix unexpected mbuf free in vPMD

2017-10-08 Thread Qi Zhang
The patch reset tx queue sw_ring's mbuf to NULL after it is free in i40_tx_free_bufs, this prevent same mbuf be free again in i40e_dev_tx_queue_release. This fix follow the same implemenation of non-vPMD. Fixes: b4669bb95038 ("i40e: add vector Tx") Cc: sta...@dpdk.org Signed-off-by: Qi Zhang ---

Re: [dpdk-dev] [PATCH v2 09/12] ethdev: support attach vdev in secondary process

2017-10-08 Thread Tan, Jianfeng
Hi Jan, > -Original Message- > From: jblu...@gmail.com [mailto:jblu...@gmail.com] On Behalf Of Jan > Blunck > Sent: Thursday, October 5, 2017 10:27 PM > To: Tan, Jianfeng > Cc: dev; Richardson, Bruce; Ananyev, Konstantin; De Lara Guarch, Pablo; > Thomas Monjalon; y...@fridaylinux.org; Maxi

Re: [dpdk-dev] [PATCH v2 0/6] remove xen dom0 support in DPDK

2017-10-08 Thread Thomas Monjalon
14/09/2017 04:40, Jianfeng Tan: > Following the calls on the mailing list: > http://dpdk.org/ml/archives/dev/2017-June/068151.html > The Technical Board decided to drop Xen dom0 support from EAL: > http://dpdk.org/ml/archives/dev/2017-June/068615.html > > This series remove xen dom0 suppor

Re: [dpdk-dev] [PATCH v6 0/5] Rework cfgfile API to enable apps config file support

2017-10-08 Thread Thomas Monjalon
22/09/2017 11:44, Kuba Kozak: > New API for cfgfile library allows to create a cfgfile at runtime, add new > section, add entry in a section, update existing entry and save cfgfile > structure to INI file - opens up the possibility to have applications > dynamically build up a proper DPDK configura

Re: [dpdk-dev] [PATCH v6 0/7] Add Membership Library

2017-10-08 Thread Thomas Monjalon
> Yipeng Wang (7): > member: implement main API > member: implement HT mode > member: implement vBF mode > member: add AVX for HT mode > member: enable the library > test/member: add functional and perf tests > doc: add membership documentation It looks good. I have fixed some minor

Re: [dpdk-dev] [PATCH] lib/librte_jobstats: fix max_exec_time comments

2017-10-08 Thread Thomas Monjalon
> > From: CongWen Zhang > > Reviewed-by: Kirill Rybalchenko Applied, thanks

Re: [dpdk-dev] [git pull] virtio changes for 17.11-rc1

2017-10-08 Thread Thomas Monjalon
08/10/2017 22:10, Olivier MATZ: > Hi Thomas, > > On Sat, Oct 07, 2017 at 04:37:53PM +0200, Thomas Monjalon wrote: > > 06/10/2017 08:45, Yuanhan Liu: > > > Hi Thomas, > > > > > > Please consider pulling following virtio changes for 17.11-rc1 at > > > git://dpdk.org/next/dpdk-next-virtiomas

Re: [dpdk-dev] [git pull] virtio changes for 17.11-rc1

2017-10-08 Thread Olivier MATZ
Hi Thomas, On Sat, Oct 07, 2017 at 04:37:53PM +0200, Thomas Monjalon wrote: > 06/10/2017 08:45, Yuanhan Liu: > > Hi Thomas, > > > > Please consider pulling following virtio changes for 17.11-rc1 at > > git://dpdk.org/next/dpdk-next-virtiomaster > > There is a compilation error on ARM wit

Re: [dpdk-dev] [PATCH v3 00/10] Cavium Octeontx external mempool driver

2017-10-08 Thread Thomas Monjalon
> Santosh Shukla (10): > mempool/octeontx: add HW constants > mempool/octeontx: add build and log infrastructure > mempool/octeontx: probe fpavf pcie devices > mempool/octeontx: add support for alloc > mempool/octeontx: add support for free > mempool/octeontx: add support for enq and de

Re: [dpdk-dev] [PATCH v3 02/10] mempool/octeontx: add build and log infrastructure

2017-10-08 Thread Thomas Monjalon
08/10/2017 14:40, Santosh Shukla: > DEPDIRS-mempool := bus > +DEPDIRS-mempool := event It is overriding dependency on bus. Is is not a big deal because event depends on bus. Fixed as DEPDIRS-mempool := bus event

Re: [dpdk-dev] [PATCH v3 10/10] doc: add mempool and octeontx mempool device

2017-10-08 Thread Thomas Monjalon
08/10/2017 14:40, Santosh Shukla: > This commit adds a section to the docs listing the mempool > device PMDs available. It is confusing to add a mempool guide, given that we already have a mempool section in the programmer's guide: http://dpdk.org/doc/guides/prog_guide/mempool_lib.html An

Re: [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?

2017-10-08 Thread Tan, Jianfeng
Hi, On 10/8/2017 12:54 PM, Bill Bonaparte wrote: Thanks Jianfeng for taking time to reply. please allow me to briefly explain why I want to run dpdk on xen. our system is based on dpdk, which means we use dpdk as packet receive/transmit engine, and with integrated dpdk virtio/vmxnet3 driver,

Re: [dpdk-dev] [PATCH] igb_uio: remove compilation warning on arm64 kernel

2017-10-08 Thread Thomas Monjalon
08/10/2017 12:59, santosh: > > On Sunday 08 October 2017 02:47 PM, Hemant Agrawal wrote: > > IGB_UIO compilation recently got enabled for ARM64 by default > > > > The igb_uio compilation against ARM64 based stock 4.x (e.g. 4.13) > > kernel is giving compilation warnings: > > > > igb_uio.c: In func

Re: [dpdk-dev] [PATCH 0/3] Extend port and queue attribute get functions

2017-10-08 Thread Jerin Jacob
-Original Message- > Date: Wed, 4 Oct 2017 14:12:50 + > From: "Van Haaren, Harry" > To: "Eads, Gage" , "dev@dpdk.org" > CC: "jerin.ja...@caviumnetworks.com" > Subject: RE: [PATCH 0/3] Extend port and queue attribute get functions > > > From: Eads, Gage > > Sent: Wednesday, September

Re: [dpdk-dev] [PATCH v2 00/10] Cavium Octeontx external mempool driver

2017-10-08 Thread santosh
On Saturday 07 October 2017 10:16 AM, santosh wrote: > On Saturday 07 October 2017 09:56 AM, Ferruh Yigit wrote: >> On 10/7/2017 4:51 AM, santosh wrote: >>> On Saturday 07 October 2017 02:25 AM, Thomas Monjalon wrote: 19/09/2017 10:29, santosh: > Ping? Pong It seems you for

[dpdk-dev] [PATCH v2 25/26] net/octeontx: add start and stop support

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob add start, stop and close support. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/octeontx_ethdev.c | 137 + 1 file changed, 137 insertions(+) diff --git a/drivers/net/octeont

[dpdk-dev] [PATCH v2 24/26] net/octeontx: add packet type parsing support

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Mark Packet type parsing in features. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 1 + drivers/net/octeontx/octeontx_ethdev.c | 22 drivers/net/octeontx/octeontx_rxtx.c | 91

[dpdk-dev] [PATCH v2 26/26] doc: add octeontx ethdev driver documentation

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Adding octeontx ethdev driver documentation and claim octeontx ethdev driver maintainership. Cc: John McNamara Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla Acked-by: John McNamara --- v1 --> v2: - Incorporated minor doc comment (

[dpdk-dev] [PATCH v2 21/26] net/octeontx: add Tx queue setup and release ops

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/octeontx_ethdev.c | 88 ++ 1 file changed, 88 insertions(+) diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/oc

[dpdk-dev] [PATCH v2 23/26] net/octeontx: add packet receive burst function

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/octeontx_rxtx.c | 38 drivers/net/octeontx/octeontx_rxtx.h | 2 ++ 2 files changed, 40 insertions(+) diff --git a/drivers/n

[dpdk-dev] [PATCH v2 20/26] net/octeontx: add Tx queue start and stop

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Mark "Queue start/stop" as P as its been implemented only for tx queue. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 1 + drivers/net/octeontx/octeontx_ethdev.c | 90 +++

[dpdk-dev] [PATCH v2 22/26] net/octeontx: add packet transmit burst function

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/Makefile| 6 ++ drivers/net/octeontx/octeontx_rxtx.c | 104 +++ drivers/net/octeontx/octeontx_rxtx.h | 46 +

[dpdk-dev] [PATCH v2 18/26] net/octeontx: add MAC addr set op

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Implement "mac_addr_set" op and mark "Unicast MAC filter" feature as "P" as "mac_addr_add" and "mac_addr_remove" are not implemented. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 1 + d

[dpdk-dev] [PATCH v2 19/26] net/octeontx: add Rx queue setup and release ops

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/octeontx_ethdev.c | 168 + drivers/net/octeontx/octeontx_ethdev.h | 9 ++ 2 files changed, 177 insertions(+) diff --git a/drive

[dpdk-dev] [PATCH v2 17/26] net/octeontx: add basic stats support

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Mark Basic stats support in features. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 1 + drivers/net/octeontx/octeontx_ethdev.c | 52 ++ 2 files changed,

[dpdk-dev] [PATCH v2 16/26] net/octeontx: add promiscuous mode ops

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Mark Promiscuous mode in features. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 1 + drivers/net/octeontx/octeontx_ethdev.c | 42 ++ 2 files changed, 43

[dpdk-dev] [PATCH v2 15/26] net/octeontx: add link update

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Mark Link status in features. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 1 + drivers/net/octeontx/octeontx_ethdev.c | 100 + 2 files changed, 101 ins

[dpdk-dev] [PATCH v2 14/26] net/octeontx: add device info

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Mark Speed capabilities, Lock-free Tx queue in features. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 2 ++ drivers/net/octeontx/octeontx_ethdev.c | 37 +

[dpdk-dev] [PATCH v2 13/26] net/octeontx: add device configure

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob mark Jumbo frame, CRC offload support in features. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- doc/guides/nics/features/octeontx.ini | 2 + drivers/net/octeontx/octeontx_ethdev.c | 93 ++ 2 fi

[dpdk-dev] [PATCH v2 11/26] net/octeontx: add eth device probe and remove

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob An octeontx ethdev device consists of multiple PKO VF devices, a PKI VF device and multiple SSOVF devices which shared between eventdev. This patch adds a vdev based device called "eth_octeontx" which will create multiple ethernet ports based on "nr_port" or maximum physical por

[dpdk-dev] [PATCH v2 12/26] net/octeontx: create ethdev ports

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Create ethdev ports by registering withethdev subsystem based on "nr_port" vdev argument or maximum physical ports available in the system. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/octeontx_ethdev.c |

[dpdk-dev] [PATCH v2 10/26] net/octeontx/base: add remaining PKO operations

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Adding remaining PKO operations like flow control, Tx channel query, etc. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/base/octeontx_pkovf.c | 114 + drivers/net/octeontx/base/oc

[dpdk-dev] [PATCH v2 09/26] net/octeontx/base: add base PKO operations

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob PKO is the packet output processing unit, which receives the packet from the core and sends to the BGX interface. This patch adds the basic PKO operation like open, close, start and stop. These operations are implemented through mailbox messages and kernel PF driver being the se

[dpdk-dev] [PATCH v2 08/26] net/octeontx/base: add remaining PKI operations

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Adding remaining PKI operations and sync up the mailbox definitions with PF driver. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/base/octeontx_pki_var.h | 237 + drivers/net/octeontx/base/oc

[dpdk-dev] [PATCH v2 07/26] net/octeontx/base: add base PKI operations

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob PKI is packet input unit, which receives the packet from the BGX interface. This patch adds the basic PKI operation like open, close, start and stop. These operations are implemented through mailbox messages and kernel PF driver being the server to process the message with the l

[dpdk-dev] [PATCH v2 06/26] net/octeontx/base: probe PKI and PKO PCIe VF devices

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob An octeontx ethdev device consists of multiple PKO VF devices and an PKI VF device. On Octeontx HW, each Rx queues are enumerated as SSOVF device which is exposed as event_octeontx device, Tx queues are enumerated as PKOVF device, and ingress packet configuration is accomplished

[dpdk-dev] [PATCH v2 01/26] net/octeontx: add build infrastructure

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Adding bare minimum PMD library and doc build infrastructure. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- config/common_base| 10 +++ doc/guides/nics/features/octeontx.ini | 9 +++

[dpdk-dev] [PATCH v2 05/26] net/octeontx/base: add remaining BGX operations

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Adding remaining BGX operations like, link status, statistics, promiscuous configuration etc. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/base/octeontx_bgx.c | 154 +++ drivers/

[dpdk-dev] [PATCH v2 00/26] DPDK PMD for OCTEONTX NW device

2017-10-08 Thread Santosh Shukla
v2: Includes Minor changes like: - Incorporated minor review comment (Suggested y John) - Added correct pool handle ops name i.e. from mbuf-pool-ops to mbuf-pool-ops-name in the doc. - Rebased on Octeontx-fpavf v3 series and tested for same. - Refer[7]: rebased (octeontx PMD + octeontx_fpavf memp

[dpdk-dev] [PATCH v2 03/26] event/octeontx: introduce specialized mbox message copy

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Some of the internal toolchain versions create unaligned memory access fault when copying from 17-31B buffer using memcpy. Subsequent patches in this series will be using 17-31B mbox message. Since the mailbox message copy comes in slow path, changing memcpy to byte-per-byte co

[dpdk-dev] [PATCH v2 04/26] net/octeontx/base: add base BGX operations

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob BGX is an HW MAC interface. This patch adds the basic BGX operation like open, close, start and stop. These operations are implemented through mailbox messages and kernel PF driver being the server to process the message with the physical port identifier. Signed-off-by: Jerin J

[dpdk-dev] [PATCH v2 02/26] net/octeontx/base: add octeontx io operations

2017-10-08 Thread Santosh Shukla
From: Jerin Jacob Adding octeontx specific io operations. Added a stub for building against non octeontx targets. Signed-off-by: Jerin Jacob Co-authored-by: Santosh Shukla Signed-off-by: Santosh Shukla --- drivers/net/octeontx/base/octeontx_io.h | 156 1 file

[dpdk-dev] [PATCH v3 09/10] mempool/octeontx: add support for memory area ops

2017-10-08 Thread Santosh Shukla
Add support for register_memory_area ops in mempool driver. Allow more than one HW pool when using OcteonTx mempool driver: By storing each pool information to the list and find appropriate list element by matching the rte_mempool pointers. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jaco

[dpdk-dev] [PATCH v3 07/10] mempool/octeontx: add support for get count

2017-10-08 Thread Santosh Shukla
Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- drivers/mempool/octeontx/octeontx_fpavf.c | 27 + drivers/mempool/octeontx/octeontx_fpavf.h | 2 ++ drivers/mempool/octeontx/rte_mempool_octeontx.c | 12 ++- 3 files changed, 40 insertions(+

[dpdk-dev] [PATCH v3 10/10] doc: add mempool and octeontx mempool device

2017-10-08 Thread Santosh Shukla
This commit adds a section to the docs listing the mempool device PMDs available. It then adds the octeontx fpavf mempool PMD to the listed mempool devices. Cc: John McNamara Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob Reviewed-by: John McNamara --- v2 --> v3: - Incorporated doc

[dpdk-dev] [PATCH v3 08/10] mempool/octeontx: add support for get capability

2017-10-08 Thread Santosh Shukla
Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- drivers/mempool/octeontx/rte_mempool_octeontx.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/mempool/octeontx/rte_mempool_octeontx.c b/drivers/mempool/octeontx/rte_mempool_octeontx.c index 4

[dpdk-dev] [PATCH v3 06/10] mempool/octeontx: add support for enq and deq

2017-10-08 Thread Santosh Shukla
Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- drivers/mempool/octeontx/Makefile | 13 + drivers/mempool/octeontx/rte_mempool_octeontx.c | 69 - 2 files changed, 80 insertions(+), 2 deletions(-) diff --git a/drivers/mempool/octeontx/Makefi

[dpdk-dev] [PATCH v3 05/10] mempool/octeontx: add support for free

2017-10-08 Thread Santosh Shukla
Upon pool free request from application, Octeon FPA free does following: - Uses mbox to reset fpapf pool setup. - frees fpavf resources. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- drivers/mempool/octeontx/octeontx_fpavf.c | 111 drivers/mempool/o

[dpdk-dev] [PATCH v3 04/10] mempool/octeontx: add support for alloc

2017-10-08 Thread Santosh Shukla
Upon pool allocation request by application, Octeontx FPA alloc does following: - Gets free pool from pci fpavf array. - Uses mbox to communicate fpapf driver about, * gpool-id * pool block_sz * alignemnt - Programs fpavf pool boundary. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jac

[dpdk-dev] [PATCH v3 02/10] mempool/octeontx: add build and log infrastructure

2017-10-08 Thread Santosh Shukla
Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- config/common_base | 6 +++ drivers/Makefile | 5 +- drivers/mempool/Makefile | 2 + drivers/mempool/octeontx/Makefile | 60

[dpdk-dev] [PATCH v3 03/10] mempool/octeontx: probe fpavf pcie devices

2017-10-08 Thread Santosh Shukla
A mempool device is set of PCIe vfs. On Octeontx HW, each mempool devices are enumerated as separate SRIOV VF PCIe device. In order to expose as a mempool device: On PCIe probe, the driver stores the information associated with the PCIe device and later upon application pool request (e.g. rte_memp

[dpdk-dev] [PATCH v3 00/10] Cavium Octeontx external mempool driver

2017-10-08 Thread Santosh Shukla
v3: - Incorporated mempool handle changes for * .get_capabilities * .register_memory_area - Rebased on upstream tip commit: 3fb1ea032bd6ff8317af5dac9af901f1f324cab4 Patch implements the HW mempool offload driver for packets buffer. A new pool handle called "octeontx_fpavf" introduced and is

[dpdk-dev] [PATCH v3 01/10] mempool/octeontx: add HW constants

2017-10-08 Thread Santosh Shukla
add HW constants of octeontx fpa mempool device. Signed-off-by: Santosh Shukla Signed-off-by: Jerin Jacob --- drivers/mempool/octeontx/octeontx_fpavf.h | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 drivers/mempool/octeontx/octeontx_fpavf.h diff --gi

Re: [dpdk-dev] [PATCH] igb_uio: remove compilation warning on arm64 kernel

2017-10-08 Thread santosh
On Sunday 08 October 2017 02:47 PM, Hemant Agrawal wrote: > IGB_UIO compilation recently got enabled for ARM64 by default > > The igb_uio compilation against ARM64 based stock 4.x (e.g. 4.13) > kernel is giving compilation warnings: > > igb_uio.c: In function ‘igbuio_pci_irqcontrol’: > igb_uio.c:1

[dpdk-dev] [PATCH] igb_uio: remove compilation warning on arm64 kernel

2017-10-08 Thread Hemant Agrawal
IGB_UIO compilation recently got enabled for ARM64 by default The igb_uio compilation against ARM64 based stock 4.x (e.g. 4.13) kernel is giving compilation warnings: igb_uio.c: In function ‘igbuio_pci_irqcontrol’: igb_uio.c:115:25: error: implicit declaration of function ‘irq_get_irq_dat ’ [-Wer

[dpdk-dev] [PATCH v7 3/3] net/mlx5: add Rx HW timestamp

2017-10-08 Thread Raslan Darawsheh
Expose Rx HW timestamp to packet mbufs. Signed-off-by: Raslan Darawsheh --- Changes in v7: - Rebasing the work on top ot c814b93b ("net/mlx5: add vectorized Rx/Tx burst for ARM") - Adding the timestamp code for ARM NEON Changes in v6: - Rebasing the work on top of 217b1421 ("net/mlx5: separate

[dpdk-dev] [PATCH v7 2/3] app/testpmd: add Rx HW timestamp

2017-10-08 Thread Raslan Darawsheh
Add enabling/disabling Rx HW timestamp from command line and parameter. Signed-off-by: Raslan Darawsheh --- app/test-pmd/cmdline.c| 15 --- app/test-pmd/config.c | 8 app/test-pmd/parameters.c | 5 + app/test-pmd/rxonly.c | 2 ++ app/test-pmd/testpmd.c

[dpdk-dev] [PATCH v7 1/3] ethdev: add Rx HW timestamp capability

2017-10-08 Thread Raslan Darawsheh
Add a new offload capability flag for Rx HW timestamp and enabling/disabling this via rte_eth_rxmode. Signed-off-by: Raslan Darawsheh --- Changes in v7: - Updated features.rst to use both rx_offload_capa,rx_queue_offload_capa - Updated default.ini to have Timestamp offload --- doc/guides/nics/fe