Re: [PATCH V2] ethdev_trace.h: Update the trace point function when _TIME_BITS=64

2025-04-26 Thread Changqing Li
On 4/24/25 02:00, Stephen Hemminger wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 22 Apr 2025 20:29:56 +0800 wrote: +#if defined(_TIME_BITS) && _TIME_BITS ==

Re: rte_eth_stats_get seems slow

2025-04-26 Thread Stephen Hemminger
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 (~451,000 CPU cycles) > using the igb driver, and ~50 us using the i40e driver. > > Referring to the igb driver so

Re: Regarding Mellanox bifurcated driver on Azure

2025-04-26 Thread Stephen Hemminger
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 controller [0200]: Mellanox Technologies MT27710 > Family [ConnectX-4 Lx Vir

[PATCH v3 1/1] bus/pci: introduce get_iova_mode for pci dev

2025-04-26 Thread Kyo Liu
I propose this patch for DPDK to enable coexistence between DPDK and kernel drivers for regular NICs.This solution requires adding a new pci_ops in rte_pci_driver, through which DPDK will retrieve the required IOVA mode from the vendor driver. This mechanism is necessary to handle different IOMMU c

Re: [PATCH 02/13] net/sxe: add ethdev probe and remove

2025-04-26 Thread Stephen Hemminger
On Thu, 24 Apr 2025 19:36:41 -0700 Jie Liu wrote: > diff --git a/drivers/net/sxe/Makefile b/drivers/net/sxe/Makefile > new file mode 100644 > index 00..3d4e6f0a1c > --- /dev/null > +++ b/drivers/net/sxe/Makefile > @@ -0,0 +1,67 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(

Re: [PATCH 02/13] net/sxe: add ethdev probe and remove

2025-04-26 Thread Stephen Hemminger
On Thu, 24 Apr 2025 19:36:41 -0700 Jie Liu wrote: > diff --git a/drivers/net/sxe/base/sxe_logs.h b/drivers/net/sxe/base/sxe_logs.h > new file mode 100644 > index 00..e90b563eac > --- /dev/null > +++ b/drivers/net/sxe/base/sxe_logs.h > @@ -0,0 +1,273 @@ > +/* SPDX-License-Identifier: BSD-3

Re: [PATCH 02/13] net/sxe: add ethdev probe and remove

2025-04-26 Thread Stephen Hemminger
On Thu, 24 Apr 2025 19:36:41 -0700 Jie Liu wrote: > From: JieLiu > > Add basic modules: logs、 hardware communication、common components > and support basic PCIe ethdev probe and remove. > > Signed-off-by: Jie Liu > --- This and other patches are getting reports of sign off mismatch. WARNING

Re: [PATCH 02/13] net/sxe: add ethdev probe and remove

2025-04-26 Thread Stephen Hemminger
On Thu, 24 Apr 2025 19:36:41 -0700 Jie Liu wrote: > diff --git a/drivers/net/meson.build b/drivers/net/meson.build > index 460eb69e5b..429e6b17eb 100644 > --- a/drivers/net/meson.build > +++ b/drivers/net/meson.build > @@ -64,6 +64,7 @@ drivers = [ > 'vmxnet3', > 'xsc', >

Re: [PATCH 01/13] net/sxe: add base driver directory and doc

2025-04-26 Thread Stephen Hemminger
On Thu, 24 Apr 2025 19:36:40 -0700 Jie Liu wrote: > From: JieLiu > > Adding a minimum maintainable directory structure for the > network driver and request maintenance of the sxe driver. > > Signed-off-by: Jie Liu Cross build for windows fails: DPDK 25.07.0-rc0 User defined options Cr

Re: [PATCH 01/13] net/sxe: add base driver directory and doc

2025-04-26 Thread Stephen Hemminger
On Thu, 24 Apr 2025 19:36:40 -0700 Jie Liu wrote: > From: JieLiu > > Adding a minimum maintainable directory structure for the > network driver and request maintenance of the sxe driver. > > Signed-off-by: Jie Liu Build test failed for 32 bit x86 DPDK 25.07.0-rc0 User defined options

[PATCH v2 1/1] bus/pci: introduce get_iova_mode for pci dev

2025-04-26 Thread Kyo Liu
I propose this patch for DPDK to enable coexistence between DPDK and kernel drivers for regular NICs.This solution requires adding a new pci_ops in rte_pci_driver, through which DPDK will retrieve the required IOVA mode from the vendor driver. This mechanism is necessary to handle different IOMMU c