> From: Emil Berg [mailto:emil.b...@ericsson.com]
> Sent: Thursday, 23 June 2022 07.22
>
> > From: Morten Brørup
> > Sent: den 22 juni 2022 16:02
> >
> > > From: Emil Berg [mailto:emil.b...@ericsson.com]
> > > Sent: Wednesday, 22 June 2022 14.25
> > >
> > > > From: Morten Brørup
> > > > Sent: de
> -Original Message-
> From: Wang, YuanX
> Sent: Wednesday, June 22, 2022 5:26 PM
> To: maxime.coque...@redhat.com; Xia, Chenbo ;
> dev@dpdk.org
> Cc: Hu, Jiayu ; He, Xingguang
> ; Jiang, Cheng1 ; Wang,
> YuanX ; sta...@dpdk.org; Ling, WeiX
>
> Subject: [PATCH v4] examples/vhost: fix retr
On Mon, Jun 20, 2022 at 7:06 AM Wu, WenxuanX wrote:
> > > > diff --git a/drivers/net/ice/base/ice_protocol_type.h
> > > > b/drivers/net/ice/base/ice_protocol_type.h
> > > > index 0e6e5990be..cfe3b62630 100644
> > > > --- a/drivers/net/ice/base/ice_protocol_type.h
> > > > +++ b/drivers/net/ice/base
On Wed, May 25, 2022 at 7:18 AM Fidaullah Noonari
wrote:
>
> if rte malloc is called to allocate memory of size
> is between multiple of hugepage size minus malloc_header_len
> and hugepage size rte_malloc fails to allocate memory.
> this fix replaces malloc_elem_trailer_len with
> malloc_elem_ove
On Thu, Apr 14, 2022 at 10:19 PM Stephen Hemminger
wrote:
>
> rte_dump_stack() needs to be usable in situations when a bug is
> encountered and from signal handlers (such as SEGV).
>
> Glibc backtrace_symbols() calls malloc which makes it
> dangerous in a signal handler that is handling errors tha
> -Original Message-
> From: Morten Brørup
> Sent: den 21 juni 2022 11:35
> To: Emil Berg
> Cc: Bruce Richardson ; Stephen Hemminger
> ; sta...@dpdk.org; bugzi...@dpdk.org;
> hof...@lysator.liu.se; olivier.m...@6wind.com; dev@dpdk.org
> Subject: RE: [PATCH] net: fix checksum with unali
> -Original Message-
> From: Morten Brørup
> Sent: den 22 juni 2022 13:26
> To: Bruce Richardson ; Emil Berg
>
> Cc: Stephen Hemminger ;
> sta...@dpdk.org; bugzi...@dpdk.org; hof...@lysator.liu.se;
> olivier.m...@6wind.com; dev@dpdk.org
> Subject: RE: [PATCH] net: fix checksum with una
> -Original Message-
> From: Morten Brørup
> Sent: den 22 juni 2022 16:02
> To: Emil Berg ; Bruce Richardson
>
> Cc: Stephen Hemminger ;
> sta...@dpdk.org; bugzi...@dpdk.org; hof...@lysator.liu.se;
> olivier.m...@6wind.com; dev@dpdk.org
> Subject: RE: [PATCH] net: fix checksum with unalig
> -Original Message-
> From: Morten Brørup
> Sent: den 22 juni 2022 16:02
> To: Emil Berg ; Bruce Richardson
>
> Cc: Stephen Hemminger ;
> sta...@dpdk.org; bugzi...@dpdk.org; hof...@lysator.liu.se;
> olivier.m...@6wind.com; dev@dpdk.org
> Subject: RE: [PATCH] net: fix checksum with una
On Thu, Feb 3, 2022 at 10:44 PM Thomas Monjalon wrote:
>
> 03/02/2022 21:21, Aaron Conole:
> > Thomas Monjalon writes:
> >
> > > Aaron, David,
> > > Please could you review this patch?
> > > Thanks
> > >
> > > 13/01/2022 13:41, Josh Soref:
> > >> On Thu, Jan 13, 2022, 6:42 AM Thomas Monjalon
>
On Tue, Jun 21, 2022 at 2:28 PM Stanislaw Kardach wrote:
>
> The crossbuild-essential- packages contain all necessary
> dependencies to cross-compile binaries for a given architecture
> including C and C++ compilers. Therefore use those instead of listing
> packages directly. This way C++ compiler
On Tue, Jun 21, 2022 at 2:28 PM Stanislaw Kardach wrote:
>
> Meson detects the C++ cross-compiler during configuration and based on
> that reports whether C++ language is available or not.
> The C++ include check target (buildtools/chkincs/chkincs-cpp) is only
> built when C++ language is availabl
> -Original Message-
> From: psathe...@marvell.com
> Sent: Wednesday, June 22, 2022 2:22 AM
> To: Nicolau, Radu ; Akhil Goyal
> Cc: dev@dpdk.org; Satheesh Paul
> Subject: [dpdk-dev] [PATCH v5] examples/ipsec-secgw: support more flow
> patterns and actions
>
> From: Satheesh Paul
>
> A
> Remove extraneous phrase "This API is used to" and use
> active instead of passive voice when describing a function.
>
> Signed-off-by: Stephen Hemminger
> ---
> drivers/raw/ioat/rte_ioat_rawdev.h | 2 +-
> lib/dmadev/rte_dmadev.h| 2 +-
> 2 files changed, 2 insertions(+), 2 deleti
Hi Rahul
> -Original Message-
> From: Rahul Bhansali
> Sent: Friday, June 17, 2022 8:43 AM
> To: dev@dpdk.org; Nicolau, Radu ; Akhil Goyal
> ; Ruifeng Wang
> Cc: jer...@marvell.com; Rahul Bhansali
> Subject: [PATCH v2 2/2] examples/ipsec-secgw: add support of NEON with poll
> mode
>
>
Hi,
Yes you are right -
Maybe with this way?
#if defined(RTE_ARCH_ARM64)
vector_mode = IPSEC_MB_ARM64;
#elif defined(RTE_ARCH_X86_64)
if (vector_mode == IPSEC_MB_NOT_SUPPORTED) {
/* Check CPU for supported vector instruction set */
if (rte
This adds ConnectX-6 LX to the list of supported
Mellanox devices that run the MLX5 vdpa PMD.
Signed-off-by: Wisam Jaddo
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.c
index 76fa5d4299..c28d6
From: Wenxuan Wu
gcc 12 with -O2 flag would raise the following warning:
../drivers/net/ice/base/ice_switch.c:7220:61: error: writing 1 byte into a
region of size 0 [-Werror=stringop-overflow=]
7220 | buf[recps].content.lkup_indx[i + 1] = entry->fv_idx[i];
| ~~~
On 6/23/2022 3:26 AM, Jin Liu wrote:
NFD is part of NFP firmware, and there only exist a NFD3 version
before this patch series.
This patch series mainly add the support of the new NFP3800 chip
use firmware with NFD3/NFDk.
* Changes since v1
- Added updated documentation for NFP to cover NFD
From: Stephen Hemminger
> Found by nullfree.cocci.
>
> Signed-off-by: Stephen Hemminger
Acked-by: Matan Azrad
> -Original Message-
> From: Wu, WenxuanX
> Sent: Thursday, June 23, 2022 5:01 PM
> To: dev@dpdk.org; tho...@monjalon.net; Yang, Qiming
> ; Zhang, Qi Z
> Cc: step...@networkplumber.org; Wu, WenxuanX
> ; Zhou, YidingX ;
> sta...@dpdk.org
> Subject: [PATCH v2] net/ice/base: fix gcc 12 wa
Release status meeting minutes 2022-06-23
=
Agenda:
* Release Dates
* Subtrees
* Roadmaps
* LTS
* Defects
* Opens
Participants:
* ARM
* Intel
* Marvell
* Nvidia
* Red Hat
* Xilinx/AMD
Release Dates
-
The following are the proposed current dat
Added rte_event_eth_rx_adapter_instance_get() to get
adapter instance id for specified ethernet device id and
rx queue index.
Signed-off-by: Ganapati Kundapura
Reviewed-by: Naga Harish K S V
Acked-by: Jay Jayatheerthan
---
v10:
* Add Review and Ack to series
v9:
* Corrected rte_event_eth_tx_a
Added telemetry handler for rte_event_eth_rx_adapter_instance_get()
to retrieve adapter instance id for specified ethernet device id
and rx queue index.
Signed-off-by: Ganapati Kundapura
Reviewed-by: Naga Harish K S V
Acked-by: Jay Jayatheerthan
---
lib/eventdev/rte_event_eth_rx_adapter.c | 6
Added test case for rte_event_eth_rx_adapter_instance_get()
Signed-off-by: Ganapati Kundapura
Reviewed-by: Naga Harish K S V
Acked-by: Jay Jayatheerthan
---
app/test/test_event_eth_rx_adapter.c | 203 ++-
1 file changed, 202 insertions(+), 1 deletion(-)
diff -
Added rte_event_eth_tx_adapter_instance_get() to get the
adapter instance id for specified ethernet device id and
tx queue index.
Signed-off-by: Ganapati Kundapura
Reviewed-by: Naga Harish K S V
Acked-by: Jay Jayatheerthan
---
lib/eventdev/eventdev_pmd.h | 23 +++
lib/eventde
Added testcase for rte_event_eth_tx_adapter_instance_get()
Signed-off-by: Ganapati Kundapura
Reviewed-by: Naga Harish K S V
Acked-by: Jay Jayatheerthan
---
app/test/test_event_eth_tx_adapter.c | 75
1 file changed, 75 insertions(+)
diff --git a/app/test/t
Added rte_event_eth_rx_adapter_instance_get() details
Signed-off-by: Ganapati Kundapura
Reviewed-by: Naga Harish K S V
Acked-by: Jay Jayatheerthan
---
doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/prog_guide/event_ethe
Added rte_event_eth_tx_adapter_instance_get() details.
Signed-off-by: Ganapati Kundapura
Reviewed-by: Naga Harish K S V
Acked-by: Jay Jayatheerthan
---
doc/guides/prog_guide/event_ethernet_tx_adapter.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/prog_guide/event_eth
> -Original Message-
> From: Zhang, Roy Fan
> Sent: Thursday, June 23, 2022 2:17 PM
> To: Rahul Bhansali ; dev@dpdk.org; Nicolau, Radu
> ; Akhil Goyal ; Ruifeng Wang
>
> Cc: Jerin Jacob Kollanukkaran
> Subject: [EXT] RE: [PATCH v2 2/2] examples/ipsec-secgw: add support of NEON
> with
This will make the packet grouping function common, so
that other examples can utilize as per need.
For each architecture sse/neon/altivec, port group
headers will be created under examples/common/.
Signed-off-by: Rahul Bhansali
---
Changes in v3: Created common port-group headers for
architectu
This adds the support of NEON based lpm lookup along with
multi packet processing for burst send in packets routing.
Performance impact:
On cn10k, with poll mode inline protocol, outbound performance
increased by ~8% and inbound performance increased by ~6%.
Signed-off-by: Rahul Bhansali
Acked-b
From: Peng Zhang
The origin design is whether testpmd is primary or not, if state of
receive queue is stop, then packets will not be dumped for show.
While to secondary process, receive queue will not be set up, and state
will still be stop even if testpmd is started. So packets of stated
seconda
Add spinlock protection in queue delete function.
This protects the data path while the queue delete operation
is in progress.
Fixes: a3bbf2e09756 ("eventdev: add eth Tx adapter implementation")
Cc: sta...@dpdk.org
Signed-off-by: Naga Harish K S V
---
lib/eventdev/rte_event_eth_tx_adapter.c | 6
On 6/14/22 12:10, Xiaoyun Li wrote:
DPDK assumes that users only want AF_XDP socket (XSK) into zero copy
mode when the kernel supports it. However, sometimes kernel driver
doesn't support it well and copy mode is more stable and preferred.
This patch allows using devarg "-a xx:xx.x,force_copy=1"
On 6/14/22 13:05, sk...@marvell.com wrote:
From: Sunil Kumar Kori
To enable input coloring, based on VLAN or DSCP, patch adds
command line interface to configure the following:
- configuring input coloring using VLAN or DSCP while creating
meter i.e. during rte_mtr_create()
- Update V
Ping.
> -Original Message-
> From: Jerin Jacob
> Sent: Thursday, June 2, 2022 1:19 PM
> To: Rahul Bhansali
> Cc: dpdk-dev ; Bruce Richardson
> ; Thomas Monjalon ;
> Ferruh Yigit ; Ajit Khaparde
> ; Andrew Boyer ;
> Andrew Rybchenko ; Beilei Xing
> ; Chas Williams ; Xia, Chenbo
> ; Ciara
On 6/16/22 02:12, Dmitry Kozlyuk wrote:
When a port was closed implicitly closed by the PMD, for example,
if it was a representor port and its master port was detached,
flow indirect actions could remain with their handles no longer valid.
If a newly attached device was assigned the same ID as th
> -Original Message-
> From: Vladimir Medvedkin
> Sent: Tuesday, June 21, 2022 9:31 PM
> To: dev@dpdk.org
> Cc: gak...@marvell.com; sta...@dpdk.org; Konstantin Ananyev
> ; Iremonger, Bernard
>
> Subject: [PATCH v2] test/ipsec: fix performance test failure
>
> This patch initializes with
Add support for using hugepages for worker lcore stack memory. The
intent is to improve performance by reducing stack memory related TLB
misses and also by using memory local to the NUMA node of each lcore.
EAL option '--huge-worker-stack [stack-size-in-kbytes]' is added to allow
the feature to b
On 6/16/22 12:15, Gregory Etelson wrote:
The patch separates flex item destruction function implementation.
Setups with installed JSON development library can use any value in
range [0, FLEX_MAX_PARSERS_NUM - 1] as input flex item ID.
In setups without JSON development library flex item destructi
On 6/21/22 16:45, Singh, Aman Deep wrote:
On 6/16/2022 11:31 PM, Gregory Etelson wrote:
Fix bitmap fields order in little endian section of GTP PSC headers.
Fixes: e8ca1479cdc4 ("net: add extension header for GTP PSC")
cc: sta...@dpdk.org
Signed-off-by: Gregory Etelson
Reviewed-by: Viacheslav
On 6/23/22 11:00, Wisam Jaddo wrote:
This adds ConnectX-6 LX to the list of supported
Mellanox devices that run the MLX5 vdpa PMD.
Signed-off-by: Wisam Jaddo
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 4
1 file changed, 4 insertions(+)
Reviewed-by: Maxime Coquelin
Thanks,
Maxime
On 6/23/22 14:38, Andrew Rybchenko wrote:
On 6/21/22 16:45, Singh, Aman Deep wrote:
On 6/16/2022 11:31 PM, Gregory Etelson wrote:
Fix bitmap fields order in little endian section of GTP PSC headers.
Fixes: e8ca1479cdc4 ("net: add extension header for GTP PSC")
cc: sta...@dpdk.org
Signed-off-b
On 6/23/22 21:15, peng1x.zh...@intel.com wrote:
From: Peng Zhang
The origin design is whether testpmd is primary or not, if state of
receive queue is stop, then packets will not be dumped for show.
While to secondary process, receive queue will not be set up, and state
will still be stop even i
> From: Emil Berg [mailto:emil.b...@ericsson.com]
> Sent: Thursday, 23 June 2022 13.39
>
> > From: Morten Brørup
> > Sent: den 23 juni 2022 09:01
> >
> > > From: Emil Berg [mailto:emil.b...@ericsson.com]
> > > Sent: Thursday, 23 June 2022 07.22
> > >
> > > > From: Morten Brørup
> > > > Sent: den
> -Original Message-
> From: Ferruh Yigit
> Sent: Tuesday, June 21, 2022 3:04 AM
> To: Yang, Qiming ; Wu, Wenjun1
> ; Jiang, YuX
> Cc: Li, Xiaoyun ; Singh, Aman Deep
> ; Zhang, Yuying ;
> dev@dpdk.org; David Marchand ; Zhang, Qi Z
>
> Subject: Re: [PATCH v2 3/3] net/ixgbe: move bypass
On 6/21/22 13:33, Chaoyong He wrote:
Add a Rx and Tx function for the control vNIC. The logic is mostly
identical to the normal Rx and Tx functionality of the NFP PMD.
This commit also makes use of the ctrl vNIC service logic to
service the ctrl vNIC Rx path.
Signed-off-by: Chaoyong He
Signed-
On 6/21/22 13:33, Chaoyong He wrote:
This commit implements the flower Rx logic. Fallback packets are
multiplexed to the correct representor port based on the prepended
metadata. The Rx poll is set to run on the existing service
infrastructure.
For Tx the existing NFP Tx logic is duplicated to k
With this patch, the checksum can be calculated on an unaligned buffer.
I.e. the buf parameter is no longer required to be 16 bit aligned.
The checksum is still calculated using a 16 bit aligned pointer, so the
compiler can auto-vectorize the function's inner loop.
When the buffer is unaligned, t
> From: Morten Brørup [mailto:m...@smartsharesystems.com]
> Sent: Thursday, 23 June 2022 14.39
>
> With this patch, the checksum can be calculated on an unaligned buffer.
> I.e. the buf parameter is no longer required to be 16 bit aligned.
>
> The checksum is still calculated using a 16 bit align
> -Original Message-
> From: Andrew Rybchenko
> Sent: Thursday, June 23, 2022 4:36 PM
> To: Sunil Kumar Kori ; Xiaoyun Li
> ; Aman Singh ; Yuying
> Zhang ; Cristian Dumitrescu
>
> Cc: dev@dpdk.org
> Subject: [EXT] Re: [PATCH v4 1/1] app/testpmd: support different input color
> method
>
>
From: Sunil Kumar Kori
To enable input coloring, based on VLAN or DSCP, patch adds
command line interface to configure the following:
- configuring input coloring using VLAN or DSCP while creating
meter i.e. during rte_mtr_create()
- Update VLAN input coloring table at runtime.
- configu
@Andrew Rybchenko
Please look into it. Updated user guide as suggested.
Regards
Sunil Kumar Kori
> -Original Message-
> From: sk...@marvell.com
> Sent: Thursday, June 23, 2022 6:27 PM
> To: Xiaoyun Li ; Aman Singh
> ; Yuying Zhang ;
> Cristian Dumitrescu
> Cc: dev@dpdk.org; Sunil Kumar
> > Signed-off-by: Steve Yang
>
> Acked-by: Qi Zhang
>
> Applied to dpdk-next-net-intel.
Please run devtools/check-meson.py
These are the misses:
Error: Missing trailing "," in list at drivers/net/ice/meson.build:16
and in another patch:
Error parsing drivers/net/iavf/meson.build:68, got some
23/06/2022 15:10, Thomas Monjalon:
> > > Signed-off-by: Steve Yang
> >
> > Acked-by: Qi Zhang
> >
> > Applied to dpdk-next-net-intel.
>
> Please run devtools/check-meson.py
> These are the misses:
> Error: Missing trailing "," in list at drivers/net/ice/meson.build:16
> and in another patch:
>
Hi Fan,
I will make the changes as you suggested.
Regards,
Ashwin Sekhar T K
> -Original Message-
> From: Zhang, Roy Fan
> Sent: Thursday, June 23, 2022 2:23 PM
> To: Ashwin Sekhar Thalakalath Kottilveetil ;
> dev@dpdk.org
> Cc: Jerin Jacob Kollanukkaran ; Sunil Kumar Kori
> ; Satha Ko
Adding zuc, snow3g and aes-ctr-cmac auth-cipher
test vectors with same auth and cipher offsets
and total digest data encrypted.
Existing tests have different cipher and
auth offsets and partial or no digest encrypted.
Signed-off-by: Tejasree Kondoj
---
v3:
* Modified IV of test vectors as per spe
The use of function attributes to enable AVX2 on idxd builds is not
supported by older compilers, so we need additional checks in the
dma/idxd driver to disable that in cases where it is not buildable.
This fix revealed further issues with the older rawdev driver, which
only gets build when the dm
The inline functions in rte_idxd_rawdev_fns.h make use of rte_errno, but
the header with its definition is not included by that file leading to
build errors.
Fixes: f82c87eb14a4 ("raw/ioat: move idxd functions to separate file")
Cc: sta...@dpdk.org
Signed-off-by: Bruce Richardson
---
drivers/ra
The build of the raw/ioat driver only occurs when the equivalent dmadev
drivers are disabled. Complications occur when the ioat dmadev is being
built but not the idxd. In this case, only the idxd part of raw/ioat
gets built, but the definition of the logtype is in the ioat part,
causing build error
When building without AVX2 support using an older compiler e.g. gcc 4.8
on Centos/RHEL 7, we get build errors due to the use of AVX2 intrinsics.
This is because the compiler does not support
"__attribute__((target(AVX2)))" function attribute. Disable build of
this driver such edge cases.
Generic b
fix grammar issues and readbility in vhost library programmer guide
Fixes: 768274ebbd5e ("vhost: avoid populate guest memory")
Cc: sta...@dpdk.org
Signed-off-by: Herakliusz Lipiec
---
doc/guides/prog_guide/vhost_lib.rst | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
d
On Tue, Jun 7, 2022 at 7:18 PM Stephen Hemminger
wrote:
>
> The x86 version of rte_memcpy can cause warnings. The driver does
> not need to use rte_memcpy for everything. Standard memcpy is
> just as fast and safer; the compiler and static analysis tools
> treat memcpy specially.
Cc: sta...@dpdk.
On Thu, Jun 23, 2022 at 4:35 AM Stephen Hemminger
wrote:
> On Wed, 22 Jun 2022 23:49:39 +0100
> Konstantin Ananyev wrote:
>
> > > @@ -26,7 +25,7 @@ static inline void __fill_ipv4hdr_frag(struct
> > > rte_ipv4_hdr *dst,
> > > const struct rte_ipv4_hdr *src, uint16_t header_len,
> > >
On Sat, Jun 18, 2022 at 4:10 PM Huichao Cai wrote:
>
> To resolve the compilation warning,replace the rte_memcpy with memcpy.
> Modify in file test_ipfrag.c and rte_ipv4_fragmentation.c.
>
These warnings appeared with:
Fixes: b50a14a853aa ("ip_frag: add IPv4 options fragment")
> Signed-off-by: H
The wireless operation for ZUC SGL tests was being passed NULL instead
of a pointer to the test data authentication IV, and IV length 0.
This is now corrected to use the IV from the test data.
Fixes: 11c5485bb276 ("test/crypto: add scatter-gather tests for IP and OOP")
Cc: sta...@dpdk.org
Signed-
Some of the ZUC and Snow3G test vectors did not follow
the specification for the cipher and authentication IVs.
These are now updated to follow the spec documents:
ZUC 128 spec:
https://www.gsma.com/security/wp-content/uploads/2019/05/EEA3_EIA3_specification_v1_8.pdf
Snow3G spec:
https://www.gsm
Some authentication and cipher IV formats were not following the spec [1].
For ZUC128 cipher IV, an 8 byte block is repeated,
with the last 3 bytes of each being 0x0.
IV[4] and IV[12] must have the last 2 bits set to 0.
Auth IVs must also have repeated bytes with the last 3 bytes
containing 0x0 i
Some of the cipher and authentication IVs did not follow the spec for
SNOW3G algorithm [1].
Cipher IVs must have the last 3 bytes of each 8 byte block as 0x0.
IV[4] and IV[12] must have the last 2 bits set to 0.
Each 8 byte block is repeated.
Auth IVs must also have a repeated 8 byte block.
IV[8]
Looks good to me.
Acked-by: Jay Jayatheerthan
-Jay
> -Original Message-
> From: Naga Harish K, S V
> Sent: Thursday, June 23, 2022 3:35 PM
> To: Jayatheerthan, Jay ; jer...@marvell.com
> Cc: dev@dpdk.org; sta...@dpdk.org
> Subject: [PATCH] eventdev/eth_tx: fix queue delete
>
> Add s
Chengwen Feng writes:
> From: Kalesh AP
>
> Some PMDs (e.g. hns3) could detect hardware or firmware errors, and try
> to recover from the errors. In this process, the PMD sets the data path
> pointers to dummy functions (which will prevent the crash), and also
> make sure the control path oper
Nithin Dabilpuram writes:
> From: Sunil Kumar Kori
>
> Current PFC implementation does not support VFs.
> Patch enables PFC on VFs too.
>
> Also fix the config of aura.bp to be based on number
> of buffers(aura.limit) and corresponding shift
> value(aura.shift).
> Fixes: cb4bfd6e7bdf ("event/c
Spike Du writes:
> There are many duplicate code of creating and initializing rte_intr_handle.
> Add a new mlx5_os API to do this, replace all PMD related code with this
> API.
>
> Signed-off-by: Spike Du
> Acked-by: Matan Azard
> ---
> drivers/common/mlx5/linux/mlx5_common_os.c | 131
Thomas Monjalon writes:
> This solution is what I proposed to the techboard some years ago,
> but the preference was to completely remove the MAX values.
I am mindful we don't have an explicit guidance in the documentation.
I am including to add something to the abi_versioning document, that
This RFC shows one possible approach for escaping strings for the json
output of telemetry library. For now this RFC supports escaping strings
for the cases of returning a single string, or returning an array of
strings. Not done is escaping of strings in objs/dicts [see more below
on TODO]
As wel
rather than just printing out success or failure at the end of the test
only, print out "OK" or "ERROR" for each individual test case within the
overall test. As part of this, ensure each case returns 0 on success and
any other value on failure.
Signed-off-by: Bruce Richardson
---
app/test/test_
For string values returned from telemetry, escape any values that cannot
normally appear in a json string. According to the json spec[1], the
characters than need to be handled are control chars (char value < 0x20)
and '"' and '\' characters.
To handle this, we replace the snprintf call with a sep
When returning just a string in response to a query, use the proper json
string printing function to escape characters rather than just snprintf.
Signed-off-by: Bruce Richardson
---
lib/telemetry/telemetry.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/lib/tele
Add unit test to validate that when creating a string response in json,
that characters such as \n or quotes are properly escaped.
Signed-off-by: Bruce Richardson
---
app/test/test_telemetry_json.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/app/test/test_telemetry_jso
When strings are added to an array variable, we need to properly escape
the invalid json characters in the strings.
Signed-off-by: Bruce Richardson
---
lib/telemetry/telemetry_json.h | 28 +++-
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/lib/telemetry/t
Add test-case to validate that when adding strings to arrays, the
strings are properly escaped to remove any invalid characters.
Signed-off-by: Bruce Richardson
---
app/test/test_telemetry_json.c | 24
1 file changed, 24 insertions(+)
diff --git a/app/test/test_telemetr
On Wed, Jun 22, 2022 at 10:19:48AM +0100, Bruce Richardson wrote:
> On Wed, Jun 22, 2022 at 08:57:43AM +0100, Power, Ciara wrote:
> > Hi folks,
> >
> > > -Original Message-
> > > From: Morten Brørup
> > > Sent: Saturday 18 June 2022 10:59
> > > To: fengchengwen ; Stephen Hemminger
> > > ;
Adding zuc, snow3g and aes-ctr-cmac auth-cipher
test vectors with same auth and cipher offsets
and total digest data encrypted.
Existing tests have different cipher and
auth offsets and partial or no digest encrypted.
Signed-off-by: Tejasree Kondoj
---
v4:
* Set last 3 bytes of IV to zero in each
> From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> Sent: Thursday, 23 June 2022 18.43
>
> For string values returned from telemetry, escape any values that
> cannot
> normally appear in a json string. According to the json spec[1], the
> characters than need to be handled are control c
On Thu, 23 Jun 2022 20:34:07 +0200
Morten Brørup wrote:
> > From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> > Sent: Thursday, 23 June 2022 18.43
> >
> > For string values returned from telemetry, escape any values that
> > cannot
> > normally appear in a json string. According to th
> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Thursday, 23 June 2022 20.40
>
> On Thu, 23 Jun 2022 20:34:07 +0200
> Morten Brørup wrote:
>
> > > From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> > > Sent: Thursday, 23 June 2022 18.43
> > >
> > > For string valu
> From: Bruce Richardson [mailto:bruce.richard...@intel.com]
> Sent: Thursday, 23 June 2022 18.43
>
> This RFC shows one possible approach for escaping strings for the json
> output of telemetry library. For now this RFC supports escaping strings
> for the cases of returning a single string, or re
On Thu, Jun 23, 2022 at 1:21 PM Don Wallwork wrote:
>
> Add support for using hugepages for worker lcore stack memory. The
> intent is to improve performance by reducing stack memory related TLB
> misses and also by using memory local to the NUMA node of each lcore.
>
> EAL option '--huge-worker-
Hi,
It seems DPDK is not compatible with libbpf 0.8:
drivers/net/af_xdp/rte_eth_af_xdp.c:871:6: error: 'bpf_get_link_xdp_id' is
deprecated: libbpf v0.8+: use bpf_xdp_query_id() instead
/usr/include/bpf/libbpf.h:1168:1: note: 'bpf_get_link_xdp_id' has been
explicitly marked deprecated here
LIBBP
On 6/23/2022 10:58 PM, Thomas Monjalon wrote:
Hi,
It seems DPDK is not compatible with libbpf 0.8:
drivers/net/af_xdp/rte_eth_af_xdp.c:871:6: error: 'bpf_get_link_xdp_id' is
deprecated: libbpf v0.8+: use bpf_xdp_query_id() instead
/usr/include/bpf/libbpf.h:1168:1: note: 'bpf_get_link_xdp_id' h
24/06/2022 00:18, Ferruh Yigit:
> On 6/23/2022 10:58 PM, Thomas Monjalon wrote:
> > Hi,
> >
> > It seems DPDK is not compatible with libbpf 0.8:
> >
> > drivers/net/af_xdp/rte_eth_af_xdp.c:871:6: error: 'bpf_get_link_xdp_id' is
> > deprecated: libbpf v0.8+: use bpf_xdp_query_id() instead
> > /us
Hi David, Harman
Please review this patch at your convenience, it's been about a month since
the v1 version.
Thanks!
Best regards
Zhichao
> -Original Message-
> From: Zeng, ZhichaoX
> Sent: Wednesday, June 15, 2022 2:02 PM
> To: dev@dpdk.org
> Cc: sta...@dpdk.org; Yang, Qiming
This is the first patch series to add the support of rte_flow offload for
nfp PMD, includes:
Add the support of flower firmware
Add the support of representor port
Add the flower service infrastructure
Add the cmsg interactive channels between pmd and fw
* Changes since v2
- Remove the use of rte_
The NFP Card can load different firmware applications. Currently
only the CoreNIC application is supported. This commit makes
needed infrastructure changes in order to support other firmware
applications too.
Clearer separation is made between the PF device and any application
specific concepts. T
Calling nfp_net_init() is only done for the corenic firmware flavor
and it is guaranteed to always be called from the primary process,
so the explicit check for RTE_PROC_PRIMARY can be dropped.
The calling graph of nfp_net_init() already guaranteed the free of
resources when it fail, so remove the
The NFP card can load different firmware applications.
This commit move the init logic of corenic app of the
secondary process into its own function.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/nfp_ethdev.c | 93 +---
1 fi
This commits adds the basic probing infrastructure to support the flower
firmware. This firmware is geared towards offloading OVS and can
generally be found in /lib/firmware/netronome/flower. It is also used by
the NFP kernel driver when OVS offload with TC is desired.
This commit also adds the ba
This commit adds the vNIC initialization logic for the flower PF vNIC.
The flower firmware exposes this vNIC for the purposes of fallback
traffic in the switchdev use-case. The logic of setting up this vNIC is
similar to the logic seen in nfp_net_init() and nfp_net_start().
This commit also adds m
This commit adds the start/stop/close routine of the
flower PF vNIC.
Signed-off-by: Chaoyong He
Reviewed-by: Niklas Söderlund
---
drivers/net/nfp/flower/nfp_flower.c | 193
1 file changed, 193 insertions(+)
diff --git a/drivers/net/nfp/flower/nfp_flower.c
1 - 100 of 110 matches
Mail list logo