The control thread accesses the hardware resources after the
resources were released, resulting in a segment error.
This commit fixes the bug by exiting thread before resource released.
Signed-off-by: Ke Zhang
---
v2: add pthread_exit() for windows
---
drivers/net/ice/ice_dcf.c | 4
The control thread accesses the hardware resources after the
resources were released, resulting in a segment error.
This commit fixes the bug by exiting thread before resource released.
Signed-off-by: Ke Zhang
---
v2: add pthread_exit() for windows
---
drivers/net/ice/ice_dcf.c | 4
> Add a command line option `algo` to select the compress algorithm
> supported by the compress API: null (DMA), deflate and lzs.
>
> Default for deflate.
>
> Signed-off-by: Matan Azrad
> Signed-off-by: Michael Baum
> ---
> app/test-compress-perf/comp_perf_options.h| 2 +
> .../comp_perf_
> Part of the application options is to test only compress and only
> decompress but actually the application ignores this user option and
> tries to test always both compress and decompress.
>From the description it seems to be a bug in previous implementation.
Can we back port it? And update t
The control thread accesses the hardware resources after the
resources were released, resulting in a segment error.
This commit fixes the bug by exiting thread before resource released.
Signed-off-by: Ke Zhang
---
v2: add pthread_exit() for windows
---
drivers/net/ice/ice_dcf.c | 4
Add support for LZ4 algorithm and add a new parameter for it.
Signed-off-by: Michael Baum
---
app/test-compress-perf/comp_perf_options.h| 1 +
.../comp_perf_options_parse.c | 43 ++-
.../comp_perf_test_cyclecount.c | 7 ++-
.../comp_perf_test_t
Add a command line option `algo` to select the compress algorithm
supported by the compress API: null (DMA), deflate and lzs.
Default for deflate.
Signed-off-by: Matan Azrad
Signed-off-by: Michael Baum
---
app/test-compress-perf/comp_perf_options.h| 2 +
.../comp_perf_options_parse.c
Part of the application options is to test only compress and only
decompress but actually the application ignores this user option and
tries to test always both compress and decompress.
Allow testing only compress and only decompress.
Signed-off-by: Matan Azrad
Signed-off-by: Michael Baum
---
Add support for LZ4 compression algorithm for both API and app.
In addition, enable app to test de/comp only. This option already
exists in both app doc and arguments but isn't implemented inside the
application.
LZ4: https://github.com/lz4/lz4
RFC:
https://patchwork.dpdk.org/project/dpdk/patch/2
Add support for LZ4 algorithm:
- Add Lz4 param structure to XFORM structures.
- Add capabilities flags for LZ4 params.
- Add xxHash-32 checksum and capabilities flag.
Signed-off-by: Michael Baum
---
doc/guides/compressdevs/features/default.ini | 7 ++
doc/guides/rel_notes/release_23_03.rst
On Fri, Feb 10, 2023 at 11:08 PM Naga Harish K S V
wrote:
>
> The adapter runtime configuration parameters defined in the
> struct rte_event_crypto_adapter_runtime_params can be configured
> and retrieved using rte_event_crypto_adapter_runtime_params_set()
> and rte_event_eth_rx_adapter_runtime_pa
Hi Tyler,
Few more comments inline. Let us continue to make progress, I will add
this topic for Techboard discussion for 22nd Feb.
> -Original Message-
> From: Tyler Retzlaff
> Sent: Friday, February 10, 2023 2:30 PM
> To: Honnappa Nagarahalli
> Cc: Morten Brørup ; tho...@monjal
> > > +/**
> > > + * @internal used by rte_mempool_cache_zc_put_bulk() and
> > > rte_mempool_do_generic_put().
> > > + *
> > > + * Zero-copy put objects in a mempool cache backed by the specified
> > > mempool.
> > > + *
> > > + * @param cache
> > > + * A pointer to the mempool cache.
> > > + *
> -Original Message-
> From: Liu, Mingxia
> Sent: Wednesday, January 18, 2023 9:07 PM
> To: dev@dpdk.org; Zhang, Qi Z ; Wu, Jingjing
> ; Xing, Beilei
> Cc: Liu, Mingxia ; Wang, Xiao W
> ; Guo, Junfeng
> Subject: [PATCH 1/1] net/cpfl: add port to port feature.
No need . at the end of t
Add support for these device ops:
- dev_xstats_get
- dev_xstats_get_names
- dev_xstats_reset
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 80 ++
1 file changed, 80 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpf
Add support for these device ops:
- rss_reta_update
- rss_reta_query
- rss_hash_update
- rss_hash_conf_get
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 270 -
1 file changed, 269 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_e
This patch add single q recv scatter Rx function.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 27 +++
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 31 insertions(+), 1 deleti
This patch add hardware packets/bytes statistics.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 86 ++
1 file changed, 86 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 1e40f3e55c..0fb9f0455b 100
Add support of AVX512 data path for split queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_rxtx.c| 56 +++--
drivers/net/cpfl/cpfl_rxtx_vec_common.h | 20 -
drivers/net/cpfl/meson.build| 6 ++-
3 file
Add support for timestamp offload.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 3 ++-
drivers/net/cpfl/cpfl_rxtx.c | 7 +++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/features/cpfl.ini
b
Add support of AVX512 vector data path for single queue model.
Signed-off-by: Wenjun Wu
Signed-off-by: Mingxia Liu
---
doc/guides/nics/cpfl.rst| 24 +-
drivers/net/cpfl/cpfl_ethdev.c | 3 +-
drivers/net/cpfl/cpfl_rxtx.c| 94 ++
dr
Add Tx offloading support:
- support TSO for single queue model and split queue model.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 8 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/features/c
Add Rx offloading support:
- support CHKSUM and RSS offload for split queue model
- support CHKSUM offload for single queue model
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 2 ++
drivers/net/cpfl/cpfl_ethdev.c| 6 ++
2 files changed, 8 insertions(+)
diff --git
Enable write back on ITR expire, then packets can be received one by
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 45 +-
drivers/net/cpfl/cpfl_ethdev.h | 2 ++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl
Add RSS support.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 51 ++
drivers/net/cpfl/cpfl_ethdev.h | 15 ++
2 files changed, 66 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 7e0630c605
Add basic Tx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 3 +++
drivers/net/cpfl/cpfl_rxtx.c | 20
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 24 insertions(+)
diff --git a/drivers/net/cpf
Add basic Rx support in split queue mode and single queue mode.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 18 ++
drivers/net/cpfl/cpfl_rxtx.h | 1 +
3 files changed, 21 insertions(+)
diff --git a/drivers/net/cpfl/c
Add dev ops mtu_set.
Signed-off-by: Mingxia Liu
---
doc/guides/nics/features/cpfl.ini | 1 +
drivers/net/cpfl/cpfl_ethdev.c| 27 +++
2 files changed, 28 insertions(+)
diff --git a/doc/guides/nics/features/cpfl.ini
b/doc/guides/nics/features/cpfl.ini
index a2d1ca9e1
Add support for queue operations:
- rx_queue_release
- tx_queue_release
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 2 ++
drivers/net/cpfl/cpfl_rxtx.c | 35 ++
drivers/net/cpfl/cpfl_rxtx.h | 2 ++
3 files changed, 39 insertions(+)
diff
Add support for these device ops:
- rx_queue_stop
- tx_queue_stop
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 10 +++-
drivers/net/cpfl/cpfl_rxtx.c | 87 ++
drivers/net/cpfl/cpfl_rxtx.h | 3 ++
3 files changed, 99 insertions(+), 1 deleti
Add support for these device ops:
- rx_queue_start
- tx_queue_start
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 41 ++
drivers/net/cpfl/cpfl_rxtx.c | 138 +
drivers/net/cpfl/cpfl_rxtx.h | 4 +
3 files changed, 183 insertions(+)
Add dev ops dev_start, dev_stop and link_update.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 35 ++
1 file changed, 35 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index 3029f03d02..d1dfcfff9b 1006
Add support for rx_queue_setup ops.
Signed-off-by: Mingxia Liu
---
drivers/net/cpfl/cpfl_ethdev.c | 11 ++
drivers/net/cpfl/cpfl_rxtx.c | 232 +
drivers/net/cpfl/cpfl_rxtx.h | 6 +
3 files changed, 249 insertions(+)
diff --git a/drivers/net/cpfl/cpfl_ethde
Add support for tx_queue_setup ops.
In the single queue model, the same descriptor queue is used by SW to
post buffer descriptors to HW and by HW to post completed descriptors
to SW.
In the split queue model, "RX buffer queues" are used to pass
descriptor buffers from SW to HW while Rx queues are
Support device init and add the following dev ops:
- dev_configure
- dev_close
- dev_infos_get
- link_update
- dev_supported_ptypes_get
Signed-off-by: Mingxia Liu
---
MAINTAINERS| 8 +
doc/guides/nics/cpfl.rst | 66 +++
doc/guides/nics/features/c
The patchset introduced the cpfl (Control Plane Function Library) PMD
for Intel?? IPU E2100???s Configure Physical Function (Device ID: 0x1453)
The cpfl PMD inherits all the features from idpf PMD which will follow
an ongoing standard data plan function spec
https://www.oasis-open.org/committees/t
On 2023/2/10 19:55, Ferruh Yigit wrote:
> On 2/10/2023 1:23 AM, fengchengwen wrote:
>> On 2023/2/10 7:30, Ferruh Yigit wrote:
>>> On 2/9/2023 3:07 AM, Chengwen Feng wrote:
The number of xstats may be large, after the hide zero option is added,
only non-zero values can be displayed.
>
The number of xstats may be large, after the hide zero option is added,
only non-zero values can be displayed.
So display xstats with hide zero:
/ethdev/xstats,0,hide_zero=true
and without hide zero (same as the original):
/ethdev/xstats,0
Signed-off-by: Chengwen Feng
---
v2: us
> -Original Message-
> From: Zhang, Ke1X
> Sent: Friday, February 3, 2023 10:02 AM
> To: Zhang, Qi Z ; Zhang, Yuying
> ; Liu, Yong ; dev@dpdk.org
> Cc: Zhang, Ke1X
> Subject: [PATCH v4] net/ice: add devargs for disabling default mac
>
> From: "ke1x.zhang"
>
> There is a requirement
13/01/2023 13:11, Thomas Monjalon пишет:
13/01/2023 13:39, Amit Prakash Shukla:
From: Thomas Monjalon
23/08/2022 11:38, Amit Prakash Shukla:
From: Konstantin Ananyev
06/08/2022 19:35, Honnappa Nagarahalli пишет:
Replacing memcpy with rte_memcpy fixes the GCC-12 compilation
issue.
Any re
ok, thanks, I'll update in next version.
> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, February 10, 2023 12:47 AM
> To: Liu, Mingxia
> Cc: dev@dpdk.org; Zhang, Qi Z ; Wu, Jingjing
> ; Xing, Beilei
> Subject: Re: [PATCH v5 00/21] add support for cpfl PMD in DPDK
>
> On
Please always apply text format in mailing list.
Sorry I have to reject this patch, as a device agnostic driver, iavf can't just
simply assume kernel PF driver don't support VIRTCHNL_OP_DEL_ETH_ADDR and
VIRTCHNL_OP_ADD_ETH_ADDR.
A better solution is to introduce some VF/PF negotiation during ini
> -Original Message-
> From: Wenjun Wu
> Sent: Thursday, February 9, 2023 1:49 PM
> To: dev@dpdk.org; Wu, Jingjing ; Xing, Beilei
>
> Cc: Wu, Wenjun1
> Subject: [PATCH v2] common/idpf: fix compilation for AVX512DQ
>
> Some intrinsics used in idpf split queue AVX512 datapath ask for C
> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
> Sent: Sunday, 12 February 2023 20.57
>
> Hi Morten,
> Apologies for the late comments.
Better late than never. :-)
>
> > From: Morten Brørup
> > Sent: Thursday, February 9, 2023 8:59 AM
> >
> > Zero-copy access to mempo
Hi Morten,
Apologies for the late comments.
> -Original Message-
> From: Morten Brørup
> Sent: Thursday, February 9, 2023 8:59 AM
> To: olivier.m...@6wind.com; andrew.rybche...@oktetlabs.ru; Honnappa
> Nagarahalli ; Kamalakshitha Aligeri
> ; bruce.richard...@intel.com;
> konstanti
Thanks Stephen,
I will remove extra line there.
Instead malloc using of calloc is required or just suggestion?
I can see allocation is done in same way with malloc in
lib\eventdev\rte_eventdev.c (reference to eventdev_build_telemetry_data
function).
I will keep malloc as it is if there is no op
There already is a logtype in this driver, use it!
Fixes: b35848bc01f6 ("crypto/ipsec_mb: add multi-process IPC request handler")
Cc: kai...@intel.com
Signed-off-by: Stephen Hemminger
---
drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
Fix instances of USER1 logtype in fdset and crypto
sections.
Acked-by: Chenbo Xia
Reviewed-by: Maxime Coquelin
Signed-off-by: Stephen Hemminger
---
lib/vhost/fd_man.c | 4 ++--
lib/vhost/vhost_crypto.c | 4
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/vhost/fd_
Libraries should not reuse RTE_LOGTYPE_USER1 for their
logging. Instead they should register their own type.
Fixes: 5cd3cac9ed22 ("latency: added new library for latency stats")
Cc: reshma.pat...@intel.com
Signed-off-by: Stephen Hemminger
---
lib/latencystats/rte_latencystats.c | 3 ++-
1 file c
Libraries should not be reusing RTE_LOGTYPE_USER1 instead
of doing proper logtype registration.
Fixes: b70b56032bff ("reorder: new library")
Cc: sergio.gonzalez.mon...@intel.com
Signed-off-by: Stephen Hemminger
---
lib/reorder/rte_reorder.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletion
DPDK libraries should not be reusing RTE_LOGTYPE_USER1 in
lieu of doing proper logtype registration.
Acked-by: Konstantin Ananyev
Fixes: 416707812c03 ("ip_frag: refactor reassembly code into a proper library")
Signed-off-by: Stephen Hemminger
---
lib/ip_frag/ip_frag_common.h | 5 -
lib/
The DPDK libraries and drivers should not be using the USER1 logtype.
v5 - minimize the size of patches
Stephen Hemminger (5):
ip_frag: use a dynamic logtype
reorder: use a dynamic logtype
latencystats: use dynamic logtype
vhost: use logtype instead of RTE_LOGTYPE_USER1
ipsec: fix usage
Hi,
> -Original Message-
> From: Alexander Kozyrev
> Sent: Friday, January 27, 2023 5:23 AM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Raslan Darawsheh ; Matan
> Azrad ; Slava Ovsiienko
> Subject: [PATCH] net/mlx5: check compressed CQE opcode for an error
>
> The CQE opcode is never chec
Hi,
> -Original Message-
> From: Alexander Kozyrev
> Sent: Friday, January 27, 2023 5:23 AM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Raslan Darawsheh ; Matan
> Azrad ; Slava Ovsiienko
> Subject: [PATCH] net/mlx5: ignore non-critical syndromes for Rx queue
>
> For non-fatal syndromes li
Hi,
> -Original Message-
> From: Alexander Kozyrev
> Sent: Friday, January 27, 2023 5:22 AM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Raslan Darawsheh ; Matan
> Azrad ; Slava Ovsiienko
> Subject: [PATCH] net/mlx5: fix error CQE dumping for vectorized Rx burst
>
> There is a dump file wi
Hi,
> -Original Message-
> From: Alex Vesker
> Sent: Wednesday, January 11, 2023 9:49 PM
> To: Alex Vesker ; Slava Ovsiienko
> ; NBU-Contact-Thomas Monjalon (EXTERNAL)
> ; Suanming Mou ;
> Matan Azrad
> Cc: dev@dpdk.org; Ori Kam
> Subject: [PATCH] net/mlx5/hws: fix memory leak on genera
From: Hamdan Igbaria
> Fix alias_rtc_0 print location in debug dump, move it to the end of matcher
> dumped info instead of the middle, to keep the dump compatibility.
>
> Fixes: dd2845361a58 ("net/mlx5/hws: add debug details for cross gvmi")
> Signed-off-by: Hamdan Igbaria
> ---
> drivers/net
Hello Ferruh,
What holds merge of https://patches.dpdk.org/project/dpdk/list/?series=26763 ?
Regards,
Gregory
> -Original Message-
> From: Ferruh Yigit
> Sent: Thursday, 9 February 2023 17:14
> To: Gregory Etelson ; dev@dpdk.org; Andrew
> Rybchenko
> Cc: Matan Azrad ; Raslan Darawsheh
https://bugs.dpdk.org/show_bug.cgi?id=1160
Bug ID: 1160
Summary: IPv4 FIB 0.0.0.0/0 route doesn't work when first route
added to FIB and using TBL24_8
Product: DPDK
Version: 22.11
Hardware: x86
OS: Linux
Dropping of packets is based on action configured
to meter.If both skip_red and drop actions are configured
then tail dropping in invoked else if only drop action is
configured then RED drop is invoked.This action is supported
only when RED is configured using rte_eth_cman_config_set()
Signed-off-
added support for testpmd application to accept
skip_cman action while configuring policy action
Signed-off-by: Rakesh Kudurumalla
---
app/test-pmd/cmdline_flow.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 88108498
Introduce new flow action to skip congestion management configuration
This feature helps to skip the congestion management processing
based on per flow or the packet color identified by
rte_flow meter object. For example, If one Rx queue configured as
RED congestion and application wants tobypass t
In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard
coded as 2560. For applications requiring different values of this
parameter – it is more convenient to set its value as part of the meson
command line rather than changing the dpdk source code per application.
An example would
Thanks Dmitry and Bruce for your inputs. Option 1 is my favorite.
We all agree on Option 1. I will send a patch based on it.
Thank you.
> -Original Message-
> From: Dmitry Kozlyuk
> Sent: Monday, 30 January 2023 12:01
> To: Ophir Munk
> Cc: dev@dpdk.org; Ophir Munk ; Matan Azrad
> ; Tho
64 matches
Mail list logo