Re: Regarding Mellanox bifurcated driver on Azure

2025-04-27 Thread Prashant Upadhyaya
On Sat, 26 Apr 2025 at 20:58, Stephen Hemminger wrote: > On Fri, 25 Apr 2025 23:17:30 +0530 > Prashant Upadhyaya wrote: > > > Hi, > > > > I am having a VM on Azure where I have got two 'accelerated networking' > > interfaces of Mellanox > > # lspci -nn|grep -i ether > > 6561:00:02.0 Ethernet con

[DPDK/ethdev Bug 1701] Mismatch in packet length causing ACC00 Firmware crash.

2025-04-27 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1701 Bug ID: 1701 Summary: Mismatch in packet length causing ACC00 Firmware crash. Product: DPDK Version: 23.03 Hardware: All OS: All Status: UNCONFIRMED

Re: [PATCH] rust: RFC/demo of safe API for Dpdk Eal, Eth and Rxq

2025-04-27 Thread Etelson, Gregory
Hello Harry, > I implemented a working echo server with your API. > The code is here: https://github.com/getelson-at-mellanox/rdpdk/tree/safe-q Ah cool! Great to see the API working. Reviewing the "echo.rs" code, the MbuffMempoolHandle ergonomics can perhaps be improved, I'll try work on that

[PATCH 2/2] net/mlx5: fix coverity warning

2025-04-27 Thread Maayan Kashani
gre_item was dereferenced w/o checking it's value. added a check to verify if null before using the pointer. Fixes: 80c676259a04 ("net/mlx5: validate HWS template items") Cc: sta...@dpdk.org Signed-off-by: Maayan Kashani Acked-by: Bing Zhao --- drivers/net/mlx5/mlx5_flow.c | 8 1 file

[PATCH] net/mlx5: add match on IPv6 fragment extension header

2025-04-27 Thread Maayan Kashani
Add HWS support for IPv6 fragment extension header matching for HWS. Supported field is next_header. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- doc/guides/rel_notes/release_25_07.rst | 4 ++ drivers/net/mlx5/hws/mlx5dr_definer.c | 51 ++ drivers/net/

[PATCH 1/2] net/mlx5: non template - fix validation for GENEVE options

2025-04-27 Thread Maayan Kashani
For non-template API on top of HWS, geneve options parser is created by the pmd and not by the user, therefore during validation , the parser is not yet created. The fix is to ignore the validation of geneve options in case the rule is a non-template rule. The parser will be created later during r

[PATCH 2/2] net/mlx5: update devarg according to SWS support

2025-04-27 Thread Maayan Kashani
SWS will be disabled in future HW generation. Update default for dv_flow_en/allow_duplicate_pattern devargs and return relevant error if user configuration is not supported. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- doc/guides/nics/mlx5.rst | 10 +++--- drivers/net/mlx5/

[PATCH 1/2] common/mlx5: read SWS capability bits

2025-04-27 Thread Maayan Kashani
SWS will be disabled in future HW generation. Checking SWS capability bits and returning relevant error. if user configuration is not supported, will be added in the follow up commit. Signed-off-by: Maayan Kashani Acked-by: Dariusz Sosnowski --- drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++ dri

[PATCH] net/mlx5/hws: fix send queue drain on FW WQE destroy

2025-04-27 Thread Maayan Kashani
Queue sync operation was skipped on rule destroy. Unlike on fw wqe rule create in which both fence and notify_hw are set to true, on destroy fence was set to false causing previous queue operation to be stuck in the queue forever. Example: rule_a - HW rule, rule_b - FW WQE rule. Sequence: rul

RE: rte_eth_stats_get seems slow

2025-04-27 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Saturday, 26 April 2025 17.24 > > On Fri, 25 Apr 2025 13:52:55 +0200 > Morten Brørup wrote: > > > Bruce, > > > > rte_eth_stats_get() on Intel NICs seems slow to me. > > > > E.g. getting the stats on a single port takes ~132 us

[PATCH] crypto/qat: fix out-of-place chain, cipher and auth headers

2025-04-27 Thread Arkadiusz Kusztal
This commit fixes a problem with overwriting data in the OOP header in RAW API crypto processing when using chain, cipher and auth algorithms. Signed-off-by: Arkadiusz Kusztal --- drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 146 +++ drivers/crypto/qat/dev/qat_sym_pmd_gen1.c