Re: [dpdk-dev] [PATCH v6 02/14] compressdev: add queue pair management

2018-05-03 Thread Verma, Shally
One quick question >-Original Message- >From: Pablo de Lara [mailto:pablo.de.lara.gua...@intel.com] >Sent: 27 April 2018 18:54 >To: dev@dpdk.org >Cc: fiona.tr...@intel.com; Verma, Shally ; >ahmed.mans...@nxp.com; Gupta, Ashish >; Pablo de Lara ; >Verma, Shally ; Gupta, >Ashish >Subject:

Re: [dpdk-dev] [PATCH v4 10/10] doc: add compression driver and ISA-L PMD docs

2018-05-03 Thread De Lara Guarch, Pablo
> -Original Message- > From: Daly, Lee > Sent: Saturday, April 28, 2018 12:39 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Tucker, Greg B > ; Jain, Deepak K ; Trahe, > Fiona ; Daly, Lee > Subject: [PATCH v4 10/10] doc: add compression driver and ISA-L PMD docs > > This adds gener

Re: [dpdk-dev] [PATCH v4 06/10] compress/isal: support enqueue/dequeue api

2018-05-03 Thread De Lara Guarch, Pablo
> -Original Message- > From: Daly, Lee > Sent: Saturday, April 28, 2018 12:38 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Tucker, Greg B > ; Jain, Deepak K ; Trahe, > Fiona ; Daly, Lee > Subject: [PATCH v4 06/10] compress/isal: support enqueue/dequeue api > > This patchs adds su

Re: [dpdk-dev] [PATCH v4 08/10] compress/isal: add ISA-L compression functionality

2018-05-03 Thread De Lara Guarch, Pablo
Hi Lee, > -Original Message- > From: Daly, Lee > Sent: Saturday, April 28, 2018 12:39 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Tucker, Greg B > ; Jain, Deepak K ; Trahe, > Fiona ; Daly, Lee > Subject: [PATCH v4 08/10] compress/isal: add ISA-L compression functionality > > Adds

[dpdk-dev] [PATCH 6/6] net/enic: update UDP RSS controls

2018-05-03 Thread John Daley
From: Hyong Youb Kim Current adapters which support UDP RSS piggyback on TCP RSS. Change the controls to be forward compatible with future adapters, which will have independent control of UDP and TCP. Fixes: 9bd04182bb01 ("net/enic: support UDP RSS on 1400 series adapters") Signed-off-by: John

[dpdk-dev] [PATCH 5/6] net/enic: fix RSS hash type advertisement

2018-05-03 Thread John Daley
From: Hyong Youb Kim The NIC can hash these RSS packet types, but they are not advertised via flow_type_rss_offloads. So add them. - Part of the IPv4 hash: ETH_RSS_FRAG_IPV4 ETH_RSS_NONFRAG_IPV4_OTHER - Part of the IPv6 hash: ETH_RSS_FRAG_IPV6 ETH_RSS_NONFRAG_IPV6_OTHER - Part of the UDP

[dpdk-dev] [PATCH 4/6] doc: update the enic guide and features

2018-05-03 Thread John Daley
From: Hyong Youb Kim Add more descriptions regarding SR-IOV and RSS settings. Remove 'Multicast MAC filter' and add 'Allmulticast mode' to the features. Cc: sta...@dpdk.org Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley Reviewed-by: Aaron Conole --- doc/guides/nics/enic.rst

[dpdk-dev] [PATCH 2/6] net/enic: fix the MTU handler to rely on max packet length

2018-05-03 Thread John Daley
From: Hyong Youb Kim The RQ setup functions (enic_alloc_rq and enic_alloc_rx_queue_mbufs) have changed to rely on max_rx_pkt_len to determine the use of scatter and buffer size. But, the MTU handler only updates ethdev's MTU value. So make it update max_rx_pkt_len as well. Other PMDs also update

[dpdk-dev] [PATCH 3/6] net/enic: set rte errno to positive value

2018-05-03 Thread John Daley
From: johndale Related to d9fff8a31, where rte_errno should always have positive errno values. Technically this is an ABI change since it fixes an error code introduced in 18.02, but is minor and inconsequential. Fixes: 1e81dbb5321b ("net/enic: add Tx prepare handler") Signed-off-by: Hyong Yo

[dpdk-dev] [PATCH 1/6] net/enic: enable RQ first and then post Rx buffers

2018-05-03 Thread John Daley
From: Hyong Youb Kim Future VIC adapters may require that the driver enable RQ before posting new buffers to the NIC. So split enic_alloc_rx_queue_mbufs() into two functions, one that allocates buffers and fills RQ and the other that posts them (i.e. PIO write to a doorbell). And, call the post f

[dpdk-dev] [PATCH 4/4] net/bnxt: add NVM specific HWRM commands

2018-05-03 Thread Ajit Khaparde
This patch adds new NVM specific HWRM commands. Code using these commands will be added in future patches. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/hsi_struct_def_dpdk.h | 931 + 1 file changed, 931 insertions(+) diff --git a/drivers/net/bnxt/hsi_struct_

[dpdk-dev] [PATCH 2/4] net/bnxt: add async event HWRM commands

2018-05-03 Thread Ajit Khaparde
add structures to add async_event support. Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/hsi_struct_def_dpdk.h | 1204 1 file changed, 1204 insertions(+) diff --git a/drivers/net/bnxt/hsi_struct_def_dpdk.h b/drivers/net/bnxt/hsi_struct_def_dpdk.h index 57886

[dpdk-dev] [PATCH 0/4] bnxt patchset to update HWRM 1.9.2

2018-05-03 Thread Ajit Khaparde
This patchset updates the bnxt PMD to HWRM version 1.9.2 Please apply. Ajit Khaparde (4): net/bnxt: update HWRM to version 1.9.2 net/bnxt: add async event HWRM commands net/bnxt: add HWRM comands for more filtering support net/bnxt: add NVM specific HWRM commands drivers/net/bnxt/bnxt.h

[dpdk-dev] [PATCH v3 2/3] malloc: allow reserving biggest element

2018-05-03 Thread Anatoly Burakov
Add an internal-only function to allocate biggest element from the heap. Nominally, it supports SOCKET_ID_ANY as its socket argument, but it's essentially useless because other sockets will only be allocated from if the entire heap on current or specified socket is busy. Still, asking to reserve a

[dpdk-dev] [PATCH v3 3/3] memzone: improve zero-length memzone reserve

2018-05-03 Thread Anatoly Burakov
Currently, reserving zero-length memzones is done by looking at malloc statistics, and reserving biggest sized element found in those statistics. This has two issues. First, there is a race condition. The heap is unlocked between the time we check stats, and the time we reserve malloc element for

[dpdk-dev] [PATCH v3 1/3] malloc: add biggest free IOVA-contiguous element to stats

2018-05-03 Thread Anatoly Burakov
User might be interested to find out what is the biggest chunk of IOVA-contiguous free space that can be allocated from malloc. Add relevant malloc-internal functions and expose this through malloc stats calculation call. Signed-off-by: Anatoly Burakov --- Notes: v2: - Add header to newl

[dpdk-dev] [PATCH v3 0/3] Improve zero-length memzone allocation

2018-05-03 Thread Anatoly Burakov
This patchset does two things. First, it enables reserving memzones of zero-length that are IOVA-contiguous. Second, it fixes a long-standing race condition in reserving zero-length memzones, where malloc heap is not locked between stats collection and reservation, and will instead allocate biggest

Re: [dpdk-dev] [PATCH v2] Allow -ve frame_overhead values

2018-05-03 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of > alanrobertson...@gmail.com > Sent: Tuesday, January 16, 2018 3:32 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org; Alan Robertson ; Alan Robertson > > Subject: [dpdk-dev] [PATCH v2] Allow -ve frame_overhead val

Re: [dpdk-dev] [PATCH v3] app/test: fix reorder test failure

2018-05-03 Thread Hunt, David
Hi Reshma, On 3/5/2018 5:36 PM, Reshma Pattan wrote: mbufs are being freed twice in error, once in rte_mempool_put_bulk() and then in rte_reorder_free(). Refactor the code so that we use rte_reorder_free() to free mbufs in the reorder buffer, and use rte_pktmbuf_free() to free any unused or dra

[dpdk-dev] [PATCH v3] app/test: fix reorder test failure

2018-05-03 Thread Reshma Pattan
mbufs are being freed twice in error, once in rte_mempool_put_bulk() and then in rte_reorder_free(). Refactor the code so that we use rte_reorder_free() to free mbufs in the reorder buffer, and use rte_pktmbuf_free() to free any unused or drained mbufs. Fixes: d0c9b58d71 ("app/test: new reorder un

[dpdk-dev] [PATCH v3] app/test: fix reorder test failure

2018-05-03 Thread Reshma Pattan
mbufs are being freed twice in error, once in rte_mempool_put_bulk() and then in rte_reorder_free(). Refactor the code so that we use rte_reorder_free() to free mbufs in the reorder buffer, and use rte_pktmbuf_free() to free any unused or drained mbufs. Fixes: d0c9b58d71 ("app/test: new reorder un

[dpdk-dev] [PATCH v5 7/7] doc: add DPAA2 CMDIF rawdev guide

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Marko Kovacevic --- MAINTAINERS| 1 + doc/guides/rawdevs/dpaa2_cmdif.rst | 144 + doc/guides/rawdevs/index.rst | 1 + doc/guides/rel_notes/release_18_05.rst | 11 +++ 4 files chang

[dpdk-dev] [PATCH v5 6/7] raw/dpaa2_cmdif: support enqueue dequeue operations

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_cmdif/Makefile | 2 + drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 136 ++ drivers/raw/dpaa2_cmd

[dpdk-dev] [PATCH v5 5/7] raw/dpaa2_cmdif: add attribute get functionality

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index e3e2b64..bdd7c16 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdi

[dpdk-dev] [PATCH v5 4/7] raw/dpaa2_cmdif: introduce DPAA2 command interface driver

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- MAINTAINERS| 4 + config/common_base | 5 + config/common_linuxapp | 1 + drivers/raw/Makefile | 1 + drivers/raw/dpaa2_cmdif/Ma

[dpdk-dev] [PATCH v5 3/7] bus/fslmc: keep Tx queues information for DPCI devices too

2018-05-03 Thread Nipun Gupta
The DPCI devices have oth Tx and Rx queues. Event devices use DPCI Rx queues only, but CMDIF (AIOP) uses both Tx and Rx queues. This patch enables Tx queues configuration too. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_dpci.c | 86 +

[dpdk-dev] [PATCH v5 2/7] bus/fslmc: expose API to free dpci device

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- 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/drivers/bus/fslmc/rte_bus_fslmc_version.map index 70fb719..d433714 100644 --- a/drivers/bus/fslmc

[dpdk-dev] [PATCH v5 1/7] mempool/dpaa2: add functions exposed to DPDK applications

2018-05-03 Thread Nipun Gupta
There are two API's which are required by NXP specific Command Interface Application (AIOP CMDIF). This patch exposes these two API's. Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/memp

[dpdk-dev] [PATCH v5 0/7] Introduce DPAA2 Command Interface raw driver

2018-05-03 Thread Nipun Gupta
This patch set introduces DPAA2 based Command Interface device driver. This driver is provides communication between the GPP and AIOP Firmware. This patchset is based on top of: https://dpdk.org/dev/patchwork/patch/39246/ Patches 1-3: Makes necessary changes and fixes in the DPAA2 bus and me

[dpdk-dev] [PATCH v2] app/test: fix reorder test failure

2018-05-03 Thread Reshma Pattan
mbufs are being freed twice in error, once in rte_mempool_put_bulk() and then in rte_reorder_free(). Refactor the code so that we use rte_reorder_free() to free mbufs in the reorder buffer, and use rte_pktmbuf_free() to free any unused or drained mbufs. Fixes: d0c9b58d71 ("app/test: new reorder un

[dpdk-dev] [PATCH] memzone: document reserving zero-length memzones

2018-05-03 Thread Anatoly Burakov
Currently, reserving a memzone with length set to 0 will not trigger any memory allocations, and memzone will instead be looking through already allocated memory only. Document this limitation. Signed-off-by: Anatoly Burakov --- lib/librte_eal/common/include/rte_memzone.h | 12 1 fi

[dpdk-dev] [PATCH RESEND v7 8/8] doc: add DPAA2 QDMA rawdev guide

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 1 + doc/guides/index.rst | 1 + doc/guides/rawdevs/dpaa2_qdma.rst | 140 + doc/guides/rawdevs/index.rst | 14 doc/guides/re

[dpdk-dev] [PATCH RESEND v7 7/8] raw/dpaa2_qdma: support enq and deq operations

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 333 + drivers/raw/dpaa2_qdma/dpaa2_qdma.h| 21 ++ drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h| 70 + .../raw/dpaa2_qdma/rte_pmd_dpaa2_qd

[dpdk-dev] [PATCH RESEND v7 6/8] raw/dpaa2_qdma: support configuration APIs

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_qdma/Makefile| 2 + drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 375 +++

[dpdk-dev] [PATCH RESEND v7 5/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

2018-05-03 Thread Nipun Gupta
DPAA2 QDMA driver uses MC DPDMAI object. This driver enables the user (app) to perform data DMA without involving CPU in the DMA process Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 8 + config/common_base

[dpdk-dev] [PATCH RESEND v7 4/8] bus/fslmc: add macros required by QDMA for FLE and FD

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e081afb..0

[dpdk-dev] [PATCH RESEND v7 3/8] bus/fslmc: support scanning and probing of QDMA devices

2018-05-03 Thread Nipun Gupta
'dpdmai' devices detected on fsl-mc bus are represented by DPAA2 QDMA devices in DPDK. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 2 ++ drivers/bus/fslmc/fslmc_vfio.c | 1 + drivers/bus/fslmc/rte_fslmc.h | 2 ++ 3 files changed, 5 insertions(+) di

[dpdk-dev] [PATCH RESEND v7 0/8] Introduce DPAA2 QDMA raw driver

2018-05-03 Thread Nipun Gupta
This patch set introduces DPAA2 based QDMA device driver. It provide means to initiate a DMA transaction from CPU. The initiated DMA is performed without CPU being involved in the actual DMA transaction. This patch series is rebased on dpdk master branch Patch 1: Support meson build in raw Pat

[dpdk-dev] [PATCH RESEND v7 2/8] bus/fslmc: support MC DPDMAI object

2018-05-03 Thread Nipun Gupta
This patch adds the DPDMAI (Data Path DMA Interface) object support in MC driver. Signed-off-by: Cristian Sovaiala Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/Makefile | 9 +- drivers/bus/fslmc/mc/dpdmai.c | 429 +++

[dpdk-dev] [PATCH RESEND v7 1/8] raw: support meson build

2018-05-03 Thread Nipun Gupta
Signed-off-by: Shreyansh Jain Signed-off-by: Nipun Gupta --- drivers/meson.build | 3 ++- drivers/raw/meson.build | 7 +++ drivers/raw/skeleton_rawdev/meson.build | 8 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 drivers/ra

Re: [dpdk-dev] [PATCH] app/test: fix reorder test failure

2018-05-03 Thread Hunt, David
On 3/5/2018 4:42 PM, Reshma Pattan wrote: Inside test_reorder_insert() rte_mempool_get_bulk() and rte_mempool_put_bulk() are used to allocate and free the mbufs and then rte_reorder_free() is called which again freeing the mbufs using rte_pktmbuf_free(). The mixed use of rte_mempool_put_bulk()

[dpdk-dev] [PATCH] memzone: fix memzone size on reserving biggest memzone

2018-05-03 Thread Anatoly Burakov
Size of malloc heap elements include overhead, which sould not be counted as part of memzone. Fixes: fafcc11985a2 ("mem: rework memzone to be allocated by malloc") Cc: sta...@dpdk.org Signed-off-by: Anatoly Burakov --- lib/librte_eal/common/eal_common_memzone.c | 3 ++- 1 file changed, 2 insert

Re: [dpdk-dev] [PATCH v7 0/8] Introduce DPAA2 QDMA raw driver

2018-05-03 Thread Nipun Gupta
Please ignore this series. It has some issues. I will resend. Thanks, Nipun > -Original Message- > From: Nipun Gupta > Sent: Thursday, May 3, 2018 9:22 PM > To: tho...@monjalon.net; Hemant Agrawal ; > Shreyansh Jain > Cc: dev@dpdk.org; Nipun Gupta > Subject: [PATCH v7 0/8] Introduce DP

Re: [dpdk-dev] [PATCH] app/test: fix reorder test failure

2018-05-03 Thread Hunt, David
On 3/5/2018 4:53 PM, Pattan, Reshma wrote: Hi, -Original Message- From: Hunt, David Sent: Thursday, May 3, 2018 4:50 PM To: Pattan, Reshma ; dev@dpdk.org Cc: sta...@dpdk.org Subject: Re: [PATCH] app/test: fix reorder test failure Hi Reshma, On 3/5/2018 4:42 PM, Reshma Pattan wrote:

Re: [dpdk-dev] Compiling DPDK with CentOS6

2018-05-03 Thread Thomas Monjalon
Hi 03/05/2018 16:20, Shahar Salzman: > I am using spdk, hence dpdk. Following the termination of CentOS6 > support, I did some work in order to get dpdk to work on CentOS6 > (gcc version 4.4.7). CentOS6 is really old. > I had to remove some of the modules due to compilation errors, > use -fno-st

Re: [dpdk-dev] [PATCH] app/test: fix reorder test failure

2018-05-03 Thread Pattan, Reshma
Hi, > -Original Message- > From: Hunt, David > Sent: Thursday, May 3, 2018 4:50 PM > To: Pattan, Reshma ; dev@dpdk.org > Cc: sta...@dpdk.org > Subject: Re: [PATCH] app/test: fix reorder test failure > > Hi Reshma, > > On 3/5/2018 4:42 PM, Reshma Pattan wrote: > > Inside test_reorder_inse

[dpdk-dev] [PATCH v7 8/8] doc: add DPAA2 QDMA rawdev guide

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 1 + doc/guides/index.rst | 1 + doc/guides/rawdevs/dpaa2_qdma.rst | 140 + doc/guides/rawdevs/index.rst | 14 doc/guides/re

[dpdk-dev] [PATCH v7 7/8] raw/dpaa2_qdma: support enq and deq operations

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 333 + drivers/raw/dpaa2_qdma/dpaa2_qdma.h| 21 ++ drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h| 70 + .../raw/dpaa2_qdma/rte_pmd_dpaa2_qd

[dpdk-dev] [PATCH v7 6/8] raw/dpaa2_qdma: support configuration APIs

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 + drivers/raw/dpaa2_qdma/Makefile| 2 + drivers/raw/dpaa2_qdma/dpaa2_qdma.c| 375 +++

[dpdk-dev] [PATCH v7 5/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

2018-05-03 Thread Nipun Gupta
DPAA2 QDMA driver uses MC DPDMAI object. This driver enables the user (app) to perform data DMA without involving CPU in the DMA process Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS| 8 + config/common_base

[dpdk-dev] [PATCH v7 4/8] bus/fslmc: add macros required by QDMA for FLE and FD

2018-05-03 Thread Nipun Gupta
Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal Acked-by: Shreyansh Jain --- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index e081afb..0

[dpdk-dev] [PATCH v7 3/8] bus/fslmc: support scanning and probing of QDMA devices

2018-05-03 Thread Nipun Gupta
'dpdmai' devices detected on fsl-mc bus are represented by DPAA2 QDMA devices in DPDK. Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 2 ++ drivers/bus/fslmc/fslmc_vfio.c | 1 + drivers/bus/fslmc/rte_fslmc.h | 2 ++ 3 files changed, 5 insertions(+) di

[dpdk-dev] [PATCH v7 2/8] bus/fslmc: support MC DPDMAI object

2018-05-03 Thread Nipun Gupta
This patch adds the DPDMAI (Data Path DMA Interface) object support in MC driver. Signed-off-by: Cristian Sovaiala Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- drivers/bus/fslmc/Makefile | 9 +- drivers/bus/fslmc/mc/dpdmai.c | 429 +++

[dpdk-dev] [PATCH v7 0/8] Introduce DPAA2 QDMA raw driver

2018-05-03 Thread Nipun Gupta
This patch set introduces DPAA2 based QDMA device driver. It provide means to initiate a DMA transaction from CPU. The initiated DMA is performed without CPU being involved in the actual DMA transaction. This patch series is rebased on dpdk master branch Patch 1: Support meson build in raw Pat

[dpdk-dev] [PATCH v7 1/8] raw: support meson build

2018-05-03 Thread Nipun Gupta
Signed-off-by: Shreyansh Jain Signed-off-by: Nipun Gupta --- drivers/meson.build | 3 ++- drivers/raw/meson.build | 7 +++ drivers/raw/skeleton_rawdev/meson.build | 8 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 drivers/ra

Re: [dpdk-dev] meson build fail for i40e

2018-05-03 Thread Bruce Richardson
On Thu, May 03, 2018 at 06:59:48PM +0530, Shreyansh Jain wrote: > Bruce, Beilei, > > Can you help me here? > > Build targets in project: 263 > Found ninja-1.8.2 at /usr/bin/ninja > [585/940] Compiling C object > 'drivers/net/i40e/i40e_avx2_lib@sta/i40e_rxtx_vec_avx2.c.o'. > FAILED: drivers/net/i4

Re: [dpdk-dev] [PATCH] app/test: fix reorder test failure

2018-05-03 Thread Hunt, David
Hi Reshma, On 3/5/2018 4:42 PM, Reshma Pattan wrote: Inside test_reorder_insert() rte_mempool_get_bulk() and rte_mempool_put_bulk() are used to allocate and free the mbufs and then rte_reorder_free() is called which again freeing the mbufs using rte_pktmbuf_free(). The mixed use of rte_mempool_

Re: [dpdk-dev] [PATCH] maintainers: resign from vhost and vdev

2018-05-03 Thread Thomas Monjalon
03/05/2018 12:49, Burakov, Anatoly: > On 03-May-18 11:02 AM, Yang, Zhiyong wrote: > > Thanks a lot for your excellent contributions to DPDK community, Jianfeng. > > See you later. > > +1, you will be missed! +1 Thanks a lot Jianfeng This patch is accepted and applied.

[dpdk-dev] [PATCH] app/test: fix reorder test failure

2018-05-03 Thread Reshma Pattan
Inside test_reorder_insert() rte_mempool_get_bulk() and rte_mempool_put_bulk() are used to allocate and free the mbufs and then rte_reorder_free() is called which again freeing the mbufs using rte_pktmbuf_free(). The mixed use of rte_mempool_put_bulk() and rte_pktmbuf_free() causing duplicate mbuf

Re: [dpdk-dev] [PATCH 1/2] librte_sched: add post-init pipe profile api

2018-05-03 Thread Dumitrescu, Cristian
Hi Jasvinder, Looks good, a few things to fix below: > -Original Message- > From: Singh, Jasvinder > Sent: Friday, March 9, 2018 6:41 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH 1/2] librte_sched: add post-init pipe profile api > > Add new API function to add more

Re: [dpdk-dev] [PATCH v6 4/5] iFPGA: add meson build

2018-05-03 Thread Zhang, Tianfei
> -Original Message- > From: Shreyansh Jain [mailto:shreyansh.j...@nxp.com] > Sent: Thursday, May 3, 2018 5:13 PM > To: Zhang, Tianfei ; Xu, Rosen > ; dev@dpdk.org; Yigit, Ferruh > Cc: Doherty, Declan ; Richardson, Bruce > ; Ananyev, Konstantin > ; Wu, Hao ; > gaetan.ri...@6wind.com > Sub

[dpdk-dev] [PATCH 1/4] net/sfc/base: fix Medford2 FEC stats range

2018-05-03 Thread Andrew Rybchenko
Fixes: 400ba3daeeb1 ("net/sfc/base: decode Medford2 FEC stats if available") Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/base/ef10_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/base/ef10_mac.c b/drivers/net/sfc/base/e

[dpdk-dev] [PATCH 3/4] net/sfc/base: support RxDP scatter disabled truncate counter

2018-05-03 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/base/ef10_mac.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/sfc/base/ef10_mac.c b/drivers/net/sfc/base/ef10_mac.c index 3a62fd09c..e3adcac53 100644 --- a/drivers/net/sfc/base/

[dpdk-dev] [PATCH 4/4] net/sfc/base: add Medford2 head-of-line blocking stats

2018-05-03 Thread Andrew Rybchenko
These stats are availble on Medford2 DPDK firmware variant which support equal stride super-buffer Rx mode. RXDP_HLB_IDLE capability bit is set when the stats are available. Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/base/ef10_mac.c | 18 ++ dr

[dpdk-dev] [PATCH 2/4] net/sfc/base: generate Medford2 RxDP stats

2018-05-03 Thread Andrew Rybchenko
Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- drivers/net/sfc/base/efx.h | 5 - drivers/net/sfc/base/efx_mac.c | 5 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/net/sfc/base/efx.h b/drivers/net/sfc/base/efx.h index 332c6d06f..7f4e59e99 1006

[dpdk-dev] [PATCH 0/4] net/sfc/base: add new stats

2018-05-03 Thread Andrew Rybchenko
Update net/sfc base driver to provide a new stats available on XtremeScale X2 (aka Medford2) NICs. No new code is required in net/sfc PMD. HLB_IDLE and HLB_TIMEOUT stats are useful for packet drops and performance investigations. There are few checkpatches.sh warnings due to coding style differen

[dpdk-dev] Compiling DPDK with CentOS6

2018-05-03 Thread Shahar Salzman
Hi experts! This is my first post on this list, apologize if I am posting in the wrong dpdk list, or if this is not relevant. I am using spdk, hence dpdk. Following the termination of CentOS6 support, I did some work in order to get dpdk to work on CentOS6 (gcc version 4.4.7). I had to remove

Re: [dpdk-dev] [PATCH v4 4/7] raw/dpaa2_cmdif: introduce DPAA2 command interface driver

2018-05-03 Thread Shreyansh Jain
On Wednesday 02 May 2018 10:45 PM, Nipun Gupta wrote: Signed-off-by: Nipun Gupta --- MAINTAINERS| 4 + config/common_base | 5 + config/common_linuxapp | 1 + drivers/raw/Makefile

Re: [dpdk-dev] [PATCH v6 5/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA driver

2018-05-03 Thread Shreyansh Jain
On Wednesday 02 May 2018 10:39 PM, Nipun Gupta wrote: DPAA2 QDMA driver uses MC DPDMAI object. This driver enables the user (app) to perform data DMA without involving CPU in the DMA process Signed-off-by: Nipun Gupta Acked-by: Shreyansh Jain --- MAINTAINERS

Re: [dpdk-dev] [PATCH v4 1/7] mempool/dpaa2: add functions exposed to DPDK applications

2018-05-03 Thread Shreyansh Jain
On Wednesday 02 May 2018 10:45 PM, Nipun Gupta wrote: There are two API's which are required by NXP specific Command Interface Application (AIOP CMDIF). This patch exposes these two API's. Signed-off-by: Nipun Gupta --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-

[dpdk-dev] [PATCH] doc/crypto: add clarification about chained mbuf feature

2018-05-03 Thread Fiona Trahe
Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/overview.rst | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/doc/guides/cryptodevs/overview.rst b/doc/guides/cryptodevs/overview.rst index b3cb6ca..493cd5f 100644 --- a/doc/guides/cryptodevs/overview.rst +++

Re: [dpdk-dev] [PATCH] net/vhost: Initialise vid to -1

2018-05-03 Thread Loftus, Ciara
> > > > > On 04/27/2018 04:19 PM, Ciara Loftus wrote: > > > rte_eth_vhost_get_vid_from_port_id returns a value of 0 if called before > > > the first call to the new_device callback. A vid value >=0 suggests the > > > device is active which is not the case in this instance. Initialise vid > > > to

[dpdk-dev] [PATCH v2] net/vhost: Initialise vid to -1

2018-05-03 Thread Ciara Loftus
rte_eth_vhost_get_vid_from_port_id returns a value of 0 if called before the first call to the new_device callback. A vid value >=0 suggests the device is active which is not the case in this instance. Initialise vid to a negative value to prevent this. Signed-off-by: Ciara Loftus Fixes: ee584e97

[dpdk-dev] meson build fail for i40e

2018-05-03 Thread Shreyansh Jain
Bruce, Beilei, Can you help me here? Build targets in project: 263 Found ninja-1.8.2 at /usr/bin/ninja [585/940] Compiling C object 'drivers/net/i40e/i40e_avx2_lib@sta/i40e_rxtx_vec_avx2.c.o'. FAILED: drivers/net/i40e/i40e_avx2_lib@sta/i40e_rxtx_vec_avx2.c.o ccache cc -Idrivers/net/i40e/i40e_

[dpdk-dev] [PATCH] memalloc: fix potential underflow on mem size calculation

2018-05-03 Thread Anatoly Burakov
If total memory is already bigger than max memory, an underflow will occur on subtraction. Fix it by simply stopping whenever we already have amount of memory that is bigger than maximum. Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") Cc: anatoly.bura...@intel.com Signed-off-by: An

Re: [dpdk-dev] [PATCH v6 07/16] ethdev: flatten RSS configuration in flow API

2018-05-03 Thread Adrien Mazarguil
Hi Peng Yuan, Apologies for the delay, I'll answer below to the entire thread. On Sat, Apr 28, 2018 at 07:45:31AM +, Peng, Yuan wrote: > Hi,Adrien Mazarguil > > There is a bug of queue region with 18.05-rc1 > The test steps are as below: > ./usertools/dpdk-devbind.py -b igb_uio 05:00.0 > ./x

[dpdk-dev] [PATCH 1/2] app/testpmd: make locking memory configurable

2018-05-03 Thread Anatoly Burakov
Add two new command-line parameters for either enabling or disabling locking all memory at app startup. Cc: wenzhuo...@intel.com Cc: jingjing...@intel.com Signed-off-by: Jianfeng Tan Signed-off-by: Anatoly Burakov --- app/test-pmd/parameters.c | 8 app/test-pmd/testpmd.c

[dpdk-dev] [PATCH 2/2] app/tesetpmd: disable memory locking for bsdapp

2018-05-03 Thread Anatoly Burakov
If mlockall() is called while allocated VA space is bigger than amount of available RAM, FreeBSD kernel will deadlock and need a hard reboot. We do allocate big amounts of memory because of how new memory subsystem works, so calling mlockall() will cause a deadlock. So, disable mlockall() by defaul

Re: [dpdk-dev] [PATCH 0/3] remove dependence on Tx queue flags

2018-05-03 Thread Ananyev, Konstantin
> -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, May 2, 2018 4:16 AM > To: Yigit, Ferruh > Cc: Dai, Wei ; Lu, Wenzhuo ; > Ananyev, Konstantin ; > Wang, Xiao W ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH 0/3] remove dependence on Tx queue flags > > The patchset remove t

Re: [dpdk-dev] [PATCH] ethdev: convert Tx offloads to Tx queue config

2018-05-03 Thread Ananyev, Konstantin
> -Original Message- > From: Zhang, Qi Z > Sent: Thursday, May 3, 2018 7:03 AM > To: Yigit, Ferruh ; Ananyev, Konstantin > > Cc: dev@dpdk.org; Zhang, Qi Z > Subject: [PATCH] ethdev: convert Tx offloads to Tx queue config > > Tx offload will be converted to txq_flags automatically duri

[dpdk-dev] [Bug 40] drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h: does not compile with musl because it uses an internal glibc header

2018-05-03 Thread bugzilla
https://dpdk.org/tracker/show_bug.cgi?id=40 Bug ID: 40 Summary: drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h: does not compile with musl because it uses an internal glibc header Product: DPDK Version: 18.05

[dpdk-dev] [PATCH 2/2] app/testpmd: fix weak RSS hash key for flow

2018-05-03 Thread Adrien Mazarguil
The default RSS hash key automatically provided by testpmd for RSS actions specified without one is so weak that traffic can't spread properly on L4 with it (as seen with TCPv6). It is only 30 bytes long, zero-padded to RSS_HASH_KEY_LENGTH (64 bytes), later truncated to 40 bytes for most PMDs. The

[dpdk-dev] [PATCH 1/2] app/testpmd: fix empty list of RSS queues for flow

2018-05-03 Thread Adrien Mazarguil
Since the commit referenced below, specifying a RSS action without any queues (e.g. "actions rss queues end / end") does not override the default set automatically generated by testpmd. In short, one cannot instantiate a RSS action with 0 target queues anymore in order to determine how PMDs react

Re: [dpdk-dev] [PATCH] vhost: improve dirty pages logging performance

2018-05-03 Thread Tiwei Bie
On Mon, Apr 30, 2018 at 05:59:54PM +0200, Maxime Coquelin wrote: > This patch caches all dirty pages logging until the used ring index > is updated. These dirty pages won't be accessed by the guest as > long as the host doesn't give them back to it by updating the > index. Below sentence in above

[dpdk-dev] [PATCH] net/thunderx: remove depricated txq flags

2018-05-03 Thread Pavan Nikhilesh
Signed-off-by: Pavan Nikhilesh --- drivers/net/thunderx/nicvf_ethdev.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/thunderx/nicvf_ethdev.c b/drivers/net/thunderx/nicvf_ethdev.c index b673b4716..2a8bdf38e 100644 --- a/drivers/net/thunderx/nicvf_ethdev.c +++ b/drivers/net/

Re: [dpdk-dev] [PATCH v2] app/testpmd: add option to avoid lock all memory

2018-05-03 Thread Burakov, Anatoly
On 23-Apr-18 12:05 AM, Thomas Monjalon wrote: This patch has been forgotten. Review please? 24/02/2018 04:26, Jianfeng Tan: In some cases, we don't want to lock all memory. Add an option --no-mlockall to avoid lock all memory. Cc: wenzhuo...@intel.com Cc: jingjing...@intel.com Signed-off-by:

[dpdk-dev] [PATCH] net/octeontx: fix missing offload flags

2018-05-03 Thread Pavan Nikhilesh
Fix missing DEV_RX_OFFLOAD_CHECKSUM flag in RX offloads. Remove depricated txq_flags field. Fixes: a92870896b4a ("net/octeontx: use the new offload APIs") Signed-off-by: Pavan Nikhilesh --- drivers/net/octeontx/octeontx_ethdev.c | 5 + drivers/net/octeontx/octeontx_ethdev.h | 3 ++- 2 files

Re: [dpdk-dev] [PATCH V20 4/4] app/testpmd: show example to handler hot unplug

2018-05-03 Thread Matan Azrad
Hi Guo From: Guo, Jia, Thursday, May 3, 2018 12:36 PM > hi, matan > > > On 5/3/2018 3:25 PM, Matan Azrad wrote: > > Hi Jeff > > > >> From: Jeff Guo, Wednesday, April 18, 2018 4:38 PM Use testpmd for > >> example, to show how an application smoothly handle failure when > >> device being hot unplu

[dpdk-dev] [Bug 39] dpdk/drivers/net/enic/base/vnic_devcmd.h does not compile on musl libc because of type `u_int32_t`

2018-05-03 Thread bugzilla
https://dpdk.org/tracker/show_bug.cgi?id=39 Bug ID: 39 Summary: dpdk/drivers/net/enic/base/vnic_devcmd.h does not compile on musl libc because of type `u_int32_t` Product: DPDK Version: 18.05 Hardware: All O

[dpdk-dev] [Bug 38] Does not compile with musl libc: drivers/net/cxgbe/base/common.h

2018-05-03 Thread bugzilla
https://dpdk.org/tracker/show_bug.cgi?id=38 Bug ID: 38 Summary: Does not compile with musl libc: drivers/net/cxgbe/base/common.h Product: DPDK Version: 18.05 Hardware: All OS: All Status: CONFIRM

Re: [dpdk-dev] vmxnet3 Maintainer?

2018-05-03 Thread David Harton (dharton)
Excellent! I unicasted Yong earlier when I saw the ACKs to vmxnet3 patches. I'll add you there. Thanks Louis, Dave > -Original Message- > From: Louis Luo > Sent: Wednesday, May 02, 2018 5:55 PM > To: Thomas Monjalon ; David Harton (dharton) > > Cc: dev@dpdk.org; Yong Wang > Subject:

Re: [dpdk-dev] [PATCH] app/test: enhance sanity script

2018-05-03 Thread Burakov, Anatoly
On 03-May-18 11:03 AM, Parthasarathy, JananeeX M wrote: Hi Anatoly, As per the comment " Since file prefixes are not supported, tests cannot be run in parallel" Does this means we need not run parallel test group test cases for FreeBSD. So the total test count for FreeBSD will be based on Non-

[dpdk-dev] [Bug 37] DPAA / FSLMC do not compile on the musl libc

2018-05-03 Thread bugzilla
https://dpdk.org/tracker/show_bug.cgi?id=37 Bug ID: 37 Summary: DPAA / FSLMC do not compile on the musl libc Product: DPDK Version: 18.05 Hardware: All OS: All Status: CONFIRMED Severity: normal

[dpdk-dev] [PATCH V21 3/4] igb_uio: fix uio release issue when hot unplug

2018-05-03 Thread Jeff Guo
when device being hot unplug, release a none exist uio resource will result kernel null pointer error, so this patch will check if device has been remove before release uio release procedure, if so just return back. Signed-off-by: Jeff Guo --- v21->v20: no change --- kernel/linux/igb_uio/igb_uio

[dpdk-dev] [PATCH V21 4/4] app/testpmd: show example to handle hot unplug

2018-05-03 Thread Jeff Guo
Use testpmd for example, to show how an application smoothly handle failure when device being hot unplug. Once app detect the removal event, the callback would be called, it first stop the packet forwarding, then stop the port, close the port and finally detach the port. Signed-off-by: Jeff Guo -

[dpdk-dev] [PATCH V21 1/4] bus/pci: handle device hot unplug

2018-05-03 Thread Jeff Guo
As of device hot unplug, we need some preparatory measures, so that when we encounter memory fault (like SIGBUS error) due to the unplug action, we can recover instead of crash. To handle device hot unplug is bus-specific behavior, this patch introduces a bus ops so that each kind of bus can imple

[dpdk-dev] [PATCH V21 2/4] eal: add failure handle mechanism for hot plug

2018-05-03 Thread Jeff Guo
This patch introduces a failure handler mechanism to handle device hot unplug event. When device be hot plug out, the device resource become invalid, if this resource is still be unexpected read/write, system will crash. This patch let eal help application to handle this fault, when sigbus error oc

[dpdk-dev] [PATCH V21 0/4] hot plug recovery mechanism

2018-05-03 Thread Jeff Guo
At the prior, device event monitor framework have been introduced, the typical usage is for device hot plug. If we want application would not be break down when device hot plug in or out, we still need some measures to help app to handle that, such as recovery device for device detaching, so that a

Re: [dpdk-dev] [PATCH] maintainers: resign from vhost and vdev

2018-05-03 Thread Burakov, Anatoly
On 03-May-18 11:02 AM, Yang, Zhiyong wrote: Thanks a lot for your excellent contributions to DPDK community, Jianfeng. See you later. +1, you will be missed! -- Thanks, Anatoly

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/mlx5: fix flow validation

2018-05-03 Thread Shahaf Shuler
Thursday, May 3, 2018 12:32 PM, Nelio Laranjeiro: > Subject: [dpdk-stable] [PATCH v2] net/mlx5: fix flow validation > > Item spec and last are wrongly compared to the NIC capability causing a > validation failure when the mask is null. > This validation function should only verify the user is not

  1   2   >