Re: [PATCH v8 16/17] net/nbl: add nbl device xstats and stats

2025-09-12 Thread Stephen Hemminger
On Thu, 11 Sep 2025 23:17:51 -0700 Dimon Zhao wrote: > +static int nbl_dev_update_hw_xstats(struct nbl_dev_mgt *dev_mgt, struct > rte_eth_xstat *xstats, > + u16 hw_xstats_cnt, u16 *xstats_cnt) > +{ > + struct nbl_dev_net_mgt *net_dev = dev_mgt->net_dev; > +

RE: [EXTERNAL] [RFC] lib/cryptodev: update API documentation for aux_flags

2025-09-12 Thread Akhil Goyal
> > On 12-Sep-25 3:56 PM, Akhil Goyal wrote: > >> On 12-Sep-25 2:05 PM, Akhil Goyal wrote: > >>> Hi Radu, > >>> > Update the API documentation description of rte_crypto_op field > aux_flags as to allow PMDs to define driver-specific flags. > >>> Can you give examples of the flags that yo

Re: [PATCH v2] net/af_packet: fix crash in secondary process

2025-09-12 Thread Thomas Monjalon
12/09/2025 13:35, Kerem Aksu: > dumpcap crashes when trying to capture from af_packet devices. This is > caused by allocating interface name with > strdup (i.e. malloc). Interface name is not accessible from secondary > process and causes segmentation fault. Use rte_malloc instead of > strdup to fi

Re: [V10 13/17] net/hinic3: add dev ops

2025-09-12 Thread Stephen Hemminger
On Wed, 10 Sep 2025 21:44:35 +0800 Feifei Wang wrote: > From: Feifei Wang > > Add ops related function codes. > > Signed-off-by: Feifei Wang > Signed-off-by: Xin Wang > Reviewed-by: Yi Chen > +static void hinic3_deinit_mac_addr(struct rte_eth_dev *eth_dev); > + > +static int hinic3_copy_me

[PATCH] app/testpmd: enable warnings for possibly invalid config

2025-09-12 Thread Bruce Richardson
When dealing with multi-segment packets, there are separate offload flags which should be enabled on Rx (scattered flag) and on Tx (multi-segment flag). Print warnings on testpmd startup if we detect a situation where we suspect the user is missing these flags, e.g. we allow scattered packets on Rx

Re: [PATCH v1] net/zxdh: add support compiling on riscv-64 systems

2025-09-12 Thread Stephen Hemminger
On Thu, 11 Sep 2025 10:32:11 +0800 Junlong Wang wrote: > modify meson.build for support compiling on riscv-64 systems > > Signed-off-by: Junlong Wang > --- Queued to next-net

Re: [PATCH v8 17/17] net/nbl: add nbl device set MTU and promisc

2025-09-12 Thread Stephen Hemminger
On Thu, 11 Sep 2025 23:17:52 -0700 Dimon Zhao wrote: > +int nbl_mtu_set(struct rte_eth_dev *eth_dev, uint16_t mtu) > +{ > + struct rte_eth_dev_data *dev_data = eth_dev->data; > + struct nbl_adapter *adapter = ETH_DEV_TO_NBL_DEV_PF_PRIV(eth_dev); > + struct nbl_dev_mgt *dev_mgt = NBL_A

RE: [EXTERNAL] [RFC] lib/cryptodev: update API documentation for aux_flags

2025-09-12 Thread Akhil Goyal
Hi Radu, > Update the API documentation description of rte_crypto_op field > aux_flags as to allow PMDs to define driver-specific flags. Can you give examples of the flags that you want to add for driver specific work? I believe adding driver specific things here may not be good. May be we can d

Re: [PATCH] net/af_packet: fix crash in secondary process

2025-09-12 Thread Thomas Monjalon
12/09/2025 10:47, Kerem Aksu: > dumpcap crashes when trying to capture from af_packet devices. This is > caused by allocating interface name with > strdup (i.e. malloc). Interface name is not accessible from secondary > process and causes segmentation fault. Use rte_malloc instead of > strdup to fi

[PATCH v2] net/af_packet: fix crash in secondary process

2025-09-12 Thread Kerem Aksu
dumpcap crashes when trying to capture from af_packet devices. This is caused by allocating interface name with strdup (i.e. malloc). Interface name is not accessible from secondary process and causes segmentation fault. Use rte_malloc instead of strdup to fix the issue. Bugzilla ID: 1786 Fixes: 1

Re: [PATCH] net/af_packet: fix crash in secondary process

2025-09-12 Thread Kerem Aksu
> Probably no need to go on the next line, you are allowed to go to 100 characters per line. > If a second line is needed, only 2 tabs are required. > > Why zmalloc? Probably no need to zero it. I figured since it was only IFNAMSIZ bytes it wouldn't matter because this will run once at startup. I

[DPDK/meson Bug 1787] ARM toolchin prefix changed in newest toolchain

2025-09-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1787 Bug ID: 1787 Summary: ARM toolchin prefix changed in newest toolchain Product: DPDK Version: 24.11 Hardware: ARM OS: Linux Status: UNCONFIRMED Severity: major

[PATCH] net/af_packet: fix crash in secondary process

2025-09-12 Thread Kerem Aksu
dumpcap crashes when trying to capture from af_packet devices. This is caused by allocating interface name with strdup (i.e. malloc). Interface name is not accessible from secondary process and causes segmentation fault. Use rte_malloc instead of strdup to fix the issue. Bugzilla ID: 1786 Fixes: 1

Re: [PATCH] net/mlx5/hws: fix ESP header match in strict mode

2025-09-12 Thread Raslan Darawsheh
On 08/09/2025 3:12 PM, Maayan Kashani wrote: Please drop this patch, the merge was incorrect and the code is incorrect. there isn't anything wrong in the merge, the patch was merged as is. I'll drop this version of this patch and you can send a V2 for it. Kindest regards Raslan Darawsheh

[DPDK/ethdev Bug 1786] dumpcap crashes with segmentation fault when capturing from af_packet

2025-09-12 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1786 Bug ID: 1786 Summary: dumpcap crashes with segmentation fault when capturing from af_packet Product: DPDK Version: unspecified Hardware: All OS: All Sta