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:
> -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
> -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
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
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
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
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
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
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
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
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_
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
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
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
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
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
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
> -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
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
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
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
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
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
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
Signed-off-by: Nipun Gupta
---
MAINTAINERS| 4 +
config/common_base | 5 +
config/common_linuxapp | 1 +
drivers/raw/Makefile | 1 +
drivers/raw/dpaa2_cmdif/Ma
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 +
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
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
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
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
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
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
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
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 +++
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
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
'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
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
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 +++
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
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()
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
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
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:
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
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
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
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
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 +++
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
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
'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
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 +++
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
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
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
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_
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.
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
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
> -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
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
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/
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
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
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
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
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
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
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-
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
+++
>
> >
> > 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
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
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_
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
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
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
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
> -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
> -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
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
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
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
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
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/
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:
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
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
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
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
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:
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-
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
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
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
-
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
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
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
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
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 - 100 of 157 matches
Mail list logo