Photon OS + MLX not coming up

2023-05-12 Thread chetan bhasin
Hi, We are using DPDK version “*21.02*” and facing issue while doing port start of MLX (ConnectX-4 Lx Virtual Function) *:0b:00.0 'MT27710 Family [ConnectX-4 Lx Virtual Function]* 1016' if=eth2 drv=mlx5_core unused= *Photon kernel version* - 4.19.277-3.ph3 *Firmware version – * ]#

Re: [PATCH v4 0/4] Support AMD CDX bus, for FPGA based CDX devices. The CDX

2023-05-12 Thread Ferruh Yigit
On 5/8/2023 12:18 PM, Nipun Gupta wrote: > It uses sysfs interface and the vfio-cdx driver to discover > and initialize the CDX devices. > > The CDX bus and VFIO support is available at Xilinx open source tree: > https://github.com/Xilinx/linux-xlnx (drivers/cdx/ and drivers/vfio/cdx) > > Linux C

RE: [PATCH v2 4/4] app: add testgraph application

2023-05-12 Thread Yan, Zhirun
> -Original Message- > From: Vamsi Attunuru > Sent: Tuesday, April 25, 2023 9:15 PM > To: dev@dpdk.org; tho...@monjalon.net; jer...@marvell.com > Cc: vattun...@marvell.com; ndabilpu...@marvell.com > Subject: [PATCH v2 4/4] app: add testgraph application > > Patch adds test-graph applic

Re: [dpdk-dev][PATCH] ethdev: add send queue flow matching item

2023-05-12 Thread Jan Viktorin
Hi all, I'd like to test this feature somehow but this patch just implements the API... Will there be some PMD support soon? I could see that mlx5 implements some internal hidden RTE Flow item SC already that matches this behaviour... It would be great to make it available via this TX_QUEUE fea

Re: [PATCH] net/dpaa2: set check sum good flags

2023-05-12 Thread Ferruh Yigit
On 5/10/2023 6:50 AM, Sachin Saxena (OSS) wrote: > On 5/8/2023 4:27 PM, Tianli Lai wrote: >> Caution: This is an external email. Please take care when clicking >> links or opening attachments. When in doubt, report the message using >> the 'Report this email' button >> >> >> set check sum good flag

Re: [RFC PATCH v2 0/3] improve FEC API usage

2023-05-12 Thread Ferruh Yigit
On 5/8/2023 12:47 PM, Denis Pryazhennikov wrote: > The documentation for the FEC API is currently incomplete and contains > inaccuracies in its descriptions of function parameters. > Specifically, the semantics of the fec_capa parameter in rte_eth_fec_set() > is not well-defined. It does not provi

Re: [PATCH v3] eventdev: avoid non-burst shortcut for variable-size bursts

2023-05-12 Thread Jerin Jacob
On Thu, May 11, 2023 at 2:00 PM Mattias Rönnblom wrote: > > Use non-burst event enqueue and dequeue calls from burst enqueue and > dequeue only when the burst size is compile-time constant (and equal > to one). > > Signed-off-by: Mattias Rönnblom > > --- > > v3: Actually include the change v2 cla

Re: [PATCH] examples/l3fwd: add hard code to collect empty poll and NIC counters

2023-05-12 Thread Jerin Jacob
On Thu, May 11, 2023 at 7:02 PM Honnappa Nagarahalli wrote: > > > > > > > On Thu, May 11, 2023 at 1:55 PM Feifei Wang > > wrote: > > > > > > This patch is to collect empty poll of 'rte_eth_rx_burst' functions in > > > dpdk l3fwd application. Empty poll means Rx burst function receives no > > > p

Re: [PATCH v4] net/i40e: support enable/disable source pruning

2023-05-12 Thread Matthew Smith
> On Apr 19, 2023, at 12:24 AM, Ye, MingjinX wrote: > > VRRP advertisement packets are dropped on i40e PF device because > when a MAC address is added to a device, packets originating from > that MAC address are dropped. > This patch fixes the bug by disabling source pruning by default, > and ad

Re: Hardware timestamps

2023-05-12 Thread Игорь К
Thank you for the answer. ср, 12 апр. 2023 г. в 10:05, David Marchand : > Hello, > > On Wed, Apr 12, 2023 at 8:57 AM Игорь К wrote: > > > > I have tried to get hw timestamps of packets on Intel X550T(10G) and > AQC107(10G). > > But RTE_ETH_RX_OFFLOAD_TIMESTAMP = 0 in dev_info.rx_offload_capa. >

RE: [PATCH v2] net/ice: fix dcf init rss blocked

2023-05-12 Thread Liao, TingtingX
> -Original Message- > From: Kaiwen Deng mailto:kaiwenx.d...@intel.com>> > Sent: Tuesday, May 9, 2023 9:22 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming > mailto:qiming.y...@intel.com>>; Zhou, YidingX > mailto:yidingx.z...@intel

[PATCH 0/2] AES CCM support in CNXK crypto PMD

2023-05-12 Thread Tejasree Kondoj
This series adds AES CCM support to CNXK crypto PMD and fixes capabilities in lookaside IPsec mode. Tejasree Kondoj (2): crypto/cnxk: add AES CCM support crypto/cnxk: fix IPsec CCM capabilities doc/guides/cryptodevs/cnxk.rst| 1 + doc/guides/cryptodevs/features/cn10k.ini

[PATCH 1/2] crypto/cnxk: add AES CCM support

2023-05-12 Thread Tejasree Kondoj
Adding AES CCM support to lookaside crypto PMD. Signed-off-by: Tejasree Kondoj --- doc/guides/cryptodevs/cnxk.rst| 1 + doc/guides/cryptodevs/features/cn10k.ini | 3 ++ doc/guides/cryptodevs/features/cn9k.ini | 3 ++ drivers/common/cnxk/roc_se.c |

[PATCH 2/2] crypto/cnxk: fix IPsec CCM capabilities

2023-05-12 Thread Tejasree Kondoj
Fixing lookaside IPsec AES-CCM capabilities. Fixes: 246dea7e6efb ("crypto/cnxk: support AES-CCM") Cc: sta...@dpdk.org Signed-off-by: Tejasree Kondoj --- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/

[PATCH] test/crypto: fix IPsec AES CCM test vector

2023-05-12 Thread Tejasree Kondoj
Fixing IPsec AES-CCM test vector IV length. Fixes: d314299950de ("test/crypto: add AES-CCM vectors") Cc: sta...@dpdk.org Signed-off-by: Tejasree Kondoj --- app/test/test_cryptodev_security_ipsec_test_vectors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_cry

Re: [PATCH v3] eventdev: avoid non-burst shortcut for variable-size bursts

2023-05-12 Thread Mattias Rönnblom
On 2023-05-12 13:59, Jerin Jacob wrote: > On Thu, May 11, 2023 at 2:00 PM Mattias Rönnblom > wrote: >> >> Use non-burst event enqueue and dequeue calls from burst enqueue and >> dequeue only when the burst size is compile-time constant (and equal >> to one). >> >> Signed-off-by: Mattias Rönnblom

RE: [PATCH v3] eventdev: avoid non-burst shortcut for variable-size bursts

2023-05-12 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Friday, 12 May 2023 15.15 > > On 2023-05-12 13:59, Jerin Jacob wrote: > > On Thu, May 11, 2023 at 2:00 PM Mattias Rönnblom > > wrote: > >> > >> Use non-burst event enqueue and dequeue calls from burst enqueue and > >> dequeue

RE: [PATCH] test/crypto: fix IPsec AES CCM test vector

2023-05-12 Thread Anoob Joseph
> > Fixing IPsec AES-CCM test vector IV length. > > Fixes: d314299950de ("test/crypto: add AES-CCM vectors") > Cc: sta...@dpdk.org > > Signed-off-by: Tejasree Kondoj > --- > app/test/test_cryptodev_security_ipsec_test_vectors.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-

[PATCH 2/2] test/crypto: handle return code

2023-05-12 Thread Anoob Joseph
The sub test case, test_snow3g_decryption, may fail for non-critical reasons such as lack of support. Handle the return value gracefully to allow TEST_SKIPPED return value to be propagated correctly. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c | 6 -- 1 file changed, 4 insertio

[PATCH 1/2] test/crypto: free memory in error and skip paths

2023-05-12 Thread Anoob Joseph
In multi session tests, multiple sessions get created. So the handling in ut_teardown won't guard against any memory that is not freed by the test case. Test case should free sessions as well as local memory that was used to save session pointers both in case of unsupported cases as well as operati

[PATCH] test/crypto: remove redundant code

2023-05-12 Thread Anoob Joseph
Code for registering raw API tests for various PMDs are repeated. Add common routine to avoid duplication of code. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c | 40 ++- 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/app/test/test

[PATCH v3] eal: add tracepoints to track lcores and services

2023-05-12 Thread Arnaud Fiorini
The tracepoints added are used to track lcore role and status, as well as service mapping and service runstates. These tracepoints are then used in analyses in Trace Compass. Signed-off-by: Arnaud Fiorini --- .mailmap | 1 + doc/guides/prog_guide/service_cores.rs

Re: [PATCH 00/13] Sync the kernel driver logic

2023-05-12 Thread Ferruh Yigit
On 4/10/2023 12:00 PM, Chaoyong He wrote: > The DPDK NFP PMD share the same underlying data structure and API with > the NFP kernel driver, because they use the same firmware. > > The DPDK NFP PMD only has a very initial version and not changed for a > long time, but the NFP kernel driver keeps ev

Re: [PATCH v3] eventdev: avoid non-burst shortcut for variable-size bursts

2023-05-12 Thread Mattias Rönnblom
On 2023-05-12 15:56, Morten Brørup wrote: From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] Sent: Friday, 12 May 2023 15.15 On 2023-05-12 13:59, Jerin Jacob wrote: On Thu, May 11, 2023 at 2:00 PM Mattias Rönnblom wrote: Use non-burst event enqueue and dequeue calls from burst enq

[RFC v2 0/2] add DTS smoke tests

2023-05-12 Thread jspewock
From: Jeremy Spewock This update to the RFC adds a few more things such as physical devices and virtual devices to the config, driver checks in the smoke tests, and interactive shell handling. Interactive shells are handled by creating two SSH connections upon connecting to the SUT, one which i

[RFC v2 1/2] dts: add smoke tests

2023-05-12 Thread jspewock
From: Jeremy Spewock Adds a new test suite for running smoke tests that verify general configuration aspects of the system under test. If any of these tests fail, the DTS execution terminates as part of a "fail-fast" model. Signed-off-by: Jeremy Spewock --- dts/conf.yaml

[RFC v2 2/2] dts: added paramiko to dependencies

2023-05-12 Thread jspewock
From: Jeremy Spewock added paramiko to the dependency files Signed-off-by: Jeremy Spewock --- dts/poetry.lock| 160 ++--- dts/pyproject.toml | 1 + 2 files changed, 124 insertions(+), 37 deletions(-) diff --git a/dts/poetry.lock b/dts/poetry.lock