07/06/2022 03:23, lihuisong (C):
>
> 在 2022/6/3 15:42, Thomas Monjalon 写道:
> > 02/06/2022 13:24, lihuisong (C):
> >> 在 2022/5/30 19:10, Ferruh Yigit 写道:
> >>> On 5/30/2022 9:28 AM, Thomas Monjalon wrote:
> [CAUTION: External Email]
>
> 28/05/2022 10:53, lihuisong (C):
> > 在 2022
Support rte_eth_dev_set_mtu for pcap ifaces vdevs by
setting the underlying OS network interface's MTU.
Support is for pcap ifaces only and not for pcap files.
Support is for Linux only.
Bugzilla ID: 961
Signed-off-by: Ido Goshen
---
v5:
Alternative approach
Instead of checking MTU in the pmd se
Hi,
> -Original Message-
> From: Huang, Wei
> Sent: Friday, May 27, 2022 16:34
> To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com;
> hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei
> ; Zhang, Qi Z ; Huang, Wei
>
> Subject: [PATCH v4 4/5] raw/ifpga: supp
Hi,
> -Original Message-
> From: Huang, Wei
> Sent: Friday, May 27, 2022 16:34
> To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com;
> hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei
> ; Zhang, Qi Z ; Huang, Wei
>
> Subject: [PATCH v4 3/5] raw/ifpga: unre
Hi,
> -Original Message-
> From: Huang, Wei
> Sent: Friday, May 27, 2022 16:34
> To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com;
> hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei
> ; Zhang, Qi Z ; Huang, Wei
>
> Subject: [PATCH v4 2/5] raw/ifpga: remo
If you think HW knows "emptiness", and we want to stick to DPDK descriptor
terms.
Can we use the name "avail_thresh?"
When HW sees available descriptors is under this threshold, an event is
triggered.
> -Original Message-
> From: Andrew Rybchenko
> Sent: Tuesday, June 7, 2022 1:16 AM
>
From: Wenxuan Wu
GCC version greater than 10.0, with compile option -O2, several warnings info
would appear,
this fix omitted these warnings.
Fixes: cfacbcb5a23b ("build: disable gcc 10 zero-length-bounds warning")
Cc: sta...@dpdk.org
Signed-off-by: Wenxuan Wu
---
config/meson.build | 7
> -Original Message-
> From: Zhang, Tianfei
> Sent: Monday, June 6, 2022 14:40
> To: Huang, Wei ; dev@dpdk.org;
> tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Subject: RE: [PATCH v5 5/5] raw/afu_mf: add HE-HSSI AFU
> -Original Message-
> From: Zhang, Tianfei
> Sent: Monday, June 6, 2022 14:37
> To: Huang, Wei ; dev@dpdk.org;
> tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Subject: RE: [PATCH v5 4/5] raw/afu_mf: add HE-MEM AFU d
> -Original Message-
> From: Zhang, Tianfei
> Sent: Monday, June 6, 2022 09:41
> To: Huang, Wei ; dev@dpdk.org;
> tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Subject: RE: [PATCH v5 3/5] raw/afu_mf: add HE-LBK AFU d
> -Original Message-
> From: Zhang, Tianfei
> Sent: Monday, June 6, 2022 09:39
> To: Huang, Wei ; dev@dpdk.org;
> tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Subject: RE: [PATCH v5 2/5] raw/afu_mf: add N3000 AFU dr
> -Original Message-
> From: Zhang, Tianfei
> Sent: Monday, June 6, 2022 10:00
> To: Zhang, Tianfei ; Huang, Wei
> ; dev@dpdk.org; tho...@monjalon.net;
> nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Subject: RE: [PATCH v5 1/5] drivers/r
> -Original Message-
> From: Zhang, Tianfei
> Sent: Monday, June 6, 2022 09:53
> To: Huang, Wei ; dev@dpdk.org;
> tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Subject: RE: [PATCH v5 1/5] drivers/raw: introduce AFU r
> -Original Message-
> From: Zhang, Tianfei
> Sent: Monday, June 6, 2022 09:48
> To: Huang, Wei ; dev@dpdk.org;
> tho...@monjalon.net; nipun.gu...@nxp.com; hemant.agra...@nxp.com
> Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Qi Z
>
> Subject: RE: [PATCH v5 0/5] introduce afu_mf raw device
> -Original Message-
> From: Stephen Hemminger
> Sent: Monday, June 6, 2022 23:38
> To: Huang, Wei
> Cc: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com;
> hemant.agra...@nxp.com; sta...@dpdk.org; Xu, Rosen
> ; Zhang, Tianfei ; Zhang, Qi
> Z
> Subject: Re: [PATCH v5 1/5] driver
Hi Maxime,
> -Original Message-
> From: Xia, Chenbo
> Sent: 2022年5月16日 21:40
> To: Maxime Coquelin ; dev@dpdk.org;
> jasow...@redhat.com; david.march...@redhat.com;
> olivier.m...@6wind.com
> Cc: sta...@dpdk.org
> Subject: RE: [PATCH 3/6] net/vhost: enable compliant offloading mode
>
> >
On Mon, 6 Jun 2022 15:50:08 -0700
Nicolas Chautru wrote:
> @@ -298,6 +313,8 @@ struct rte_bbdev_driver_info {
> const struct rte_bbdev_op_cap *capabilities;
> /** Device cpu_flag requirements */
> const enum rte_cpu_flag_t *cpu_flag_reqs;
> + /** Device Status */
> + en
This is a bbdev update targeted for 22.11. The updated structure will allow PMDs
to expose through info_get what be may the status of the underlying
accelerator, notably in case an HW error event having happened.
Nicolas Chautru (1):
bbdev: add device status info
drivers/baseband/acc100/rte_ac
Added device status information, so that the PMD can
expose information related to the underlying accelerator device status.
Signed-off-by: Nicolas Chautru
---
drivers/baseband/acc100/rte_acc100_pmd.c | 1 +
drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 1 +
drivers/baseband/f
> -Original Message-
> From: Thomas Monjalon
> Sent: Monday, June 6, 2022 10:20 PM
> To: Yang, Qiming ; Zhang, Qi Z
>
> Cc: dev@dpdk.org; Liu, KevinX ; Mcnamara, John
>
> Subject: Re: [PATCH v2] net/igc: add I226 support
>
> 06/06/2022 14:06, Zhang, Qi Z:
> >
> > > -Original Mess
24/04/2022 08:07, Chengwen Feng:
> This patch set contains three bugfix and enhanced feature patches.
>
> Chengwen Feng (2):
> examples/dma: fix Tx drop statistic is not collected
> examples/dma: add force minimal copy size parameter
>
> Huisong Li (1):
> examples/dma: fix MTU configuration
It seems we share a common understanding
and we need to agree on a good wording
for the most meaningful API.
Questions inline below:
06/06/2022 19:15, Andrew Rybchenko:
> On 6/6/22 16:16, Spike Du wrote:
> > Hi Andrew,
> > Please see below for "fill threshold" concept, I'm ok with other
> > c
> -Original Message-
> From: Stephen Hemminger
> Sent: Monday, 6 June 2022 20:10
> To: Ido Goshen
> Cc: ferruh.yi...@xilinx.com; dev@dpdk.org
> Subject: Re: [PATCH v4] pcap: support MTU set
>
> On Mon, 6 Jun 2022 19:21:47 +0300
> Ido Goshen wrote:
>
> > Support rte_eth_dev_set_mtu b
Added rte_event_eth_rx_adapter_instance_get() and
rte_event_eth_tx_adapter_instance_get() api's to get the
adapter instance id for a specified event port and
queue index.
Signed-off-by: Ganapati Kundapura
diff --git a/app/test/test_event_eth_rx_adapter.c
b/app/test/test_event_eth_rx_adapter.c
i
On 6/6/22 16:16, Spike Du wrote:
Hi Andrew,
Please see below for "fill threshold" concept, I'm ok with other
comments about code.
Regards,
Spike.
-Original Message-
From: Andrew Rybchenko
Sent: Saturday, June 4, 2022 8:46 PM
To: Spike Du ; Matan Azrad ;
Slava Ovsiienko ; Ori
On Mon, 6 Jun 2022 19:21:47 +0300
Ido Goshen wrote:
> Support rte_eth_dev_set_mtu by pcap vdevs
> Enforce mtu on rx/tx
>
> Bugzilla ID: 961
This is not really a bug, it is an enhancement specific to your
test setup. It should not be backported to stable.
Since it is change in behavior it migh
Hi Hemant,
Could you review this serie, this is targeting 22.11 release. Let me know if
unclear.
Thanks
Nic
> -Original Message-
> From: Chautru, Nicolas
> Sent: Tuesday, March 8, 2022 4:23 PM
> To: dev@dpdk.org; gak...@marvell.com
> Cc: t...@redhat.com; hemant.agra...@nxp.com; Zhang,
Support rte_eth_dev_set_mtu by pcap vdevs
Enforce mtu on rx/tx
Bugzilla ID: 961
Signed-off-by: Ido Goshen
---
v4:
1. Add release notes comment
2. Access pmd internals via queue struct
3. eth_mtu_set code convention fixes
v3:
Preserve pcap behavior to support max size packets by default
alternat
On 6/6/22 08:59, Jiri Slaby wrote:
On 05. 06. 22, 10:22, Andrew Rybchenko wrote:
On 6/1/22 09:53, Jiri Slaby wrote:
Since commit 2655926aea9b (net: Remove netif_rx_any_context() and
netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx()
can be called from any context. So define H
Thanks Akhil for your reply. It should be okay to apply it after rc1 once you
feel better.
Thanks
Nic
From: Akhil Goyal
Sent: Monday, June 6, 2022 8:04 AM
To: Chautru, Nicolas ; dev@dpdk.org;
t...@redhat.com; maxime.coque...@redhat.com
Cc: tho...@monjalon.net; Kinsella, Ray ; Richardson,
Bruce
Previously, anything that prevented the CQs from being drained
would hang the PMD for an unacceptably long time. This commit updates
the drain logic to be resource and time based, thus eliminating
the potential for a long hang when draining the queues in preparation
for a reset.
Fixes: 1857f1922ce
If QID inflights is set to an invalid value it can cause the
PMD to hang. This commit adds checks to make sure that the
value is valid before programming the hardware.
Fixes: 1857f1922ce2 ("event/dlb2: use new implementation of resource file")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
1) Remove RTE_EVENT_DEV_CAP_QUEUE_QOS. DLB/DLB2 do not support
queue priority
2) Add RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT
3) Add RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK
Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")
Cc: sta...@dpdk.org
Signed-off-by: Timothy McDaniel
---
drivers/
On Fri, 3 Jun 2022 15:48:17 +0300
Spike Du wrote:
> Fill threshold describes the fullness of a Rx queue. If the Rx
> queue fullness is above the threshold, the device will trigger the event
> RTE_ETH_EVENT_RX_FILL_THRESH.
> Fill threshold is defined as a percentage of Rx queue size with valid
> v
Validate credit configuration.
If user tried to send 64 events, it will take 64 credits. Enqueue API
only gets 32 credits each time. If it does not have sufficient credits,
it just fails and returns. Enqueue API does not retry. On next enqueue,
it will get 32 more and send will work. This results
On Fri, 27 May 2022 01:37:00 -0400
Wei Huang wrote:
> +static inline int afu_mf_trylock(struct afu_mf_rawdev *dev)
> +{
> + int32_t x = 0;
> +
> + if (!dev || !dev->shared)
> + return -ENODEV;
> +
> + x = __atomic_load_n(&dev->shared->lock, __ATOMIC_RELAXED);
> +
> + i
Validate credit configuration.
If user tried to send 64 events, it will take 64 credits. Enqueue API
only gets 32 credits each time. If it does not have sufficient credits,
it just fails and returns. Enqueue API does not retry. On next enqueue,
it will get 32 more and send will work. This results
Validate credit configuration.
If user tried to send 64 events, it will take 64 credits. Enqueue API
only gets 32 credits each time. If it does not have sufficient credits,
it just fails and returns. Enqueue API does not retry. On next enqueue,
it will get 32 more and send will work. This results
Hi Nicolas,
I wanted to take this in RC1 but I was unwell last couple of days. Can we push
it to RC2? If not, please ask Thomas if he has time to pick it directly to main?
Regards,
Akhil
From: Chautru, Nicolas
Sent: Monday, 6 June, 2022, 8:24 pm
To: dev@dpdk.org
Hi Akhil,
Checking that this series on track to be applied. Let me know if anything
required from our end.
> -Original Message-
> From: Chautru, Nicolas
> Sent: Tuesday, May 31, 2022 3:32 PM
> To: dev@dpdk.org; gak...@marvell.com; t...@redhat.com;
> maxime.coque...@redhat.com
> Cc: tho
When the primary port of bond slaves with bond mode 4 linked down,
the system id of the other slave ports channged.
It may cause some switches to renegotiate,
and the process takes a few seconds. It is not acceptable for any
Telcos.
We need sub-second switchover time like in linux.
Set the mac of
Hi Thomas,
How does this patch look? Is there anything that needs to be done from my side?
Regards,
Subendu.
On Wed, May 25, 2022 at 12:44 PM Morten Brørup
wrote:
>
> > From: Stephen Hemminger [mailto:step...@networkplumber.org]
> > Sent: Wednesday, 25 May 2022 08.04
> >
> > On Tue, 24 May 2
06/06/2022 14:06, Zhang, Qi Z:
>
> > -Original Message-
> > From: Thomas Monjalon
> > Sent: Monday, June 6, 2022 7:46 PM
> > To: Yang, Qiming ; Zhang, Qi Z
> >
> > Cc: dev@dpdk.org; Liu, KevinX ; Mcnamara, John
> >
> > Subject: Re: [PATCH v2] net/igc: add I226 support
> >
> > 06/06/202
This patch adds pflock operations for LoongArch architecture.
Let it uses generic pflock implementation.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_pflock.h | 17 +
1 file changed, 17 insertions(+)
create mode 100644 lib/eal/loongarch/include/rte_pflock.h
diff --
This patch adds architecture specific cpu cycle operations for
LoongArch. The RDTIME.D instruction is used to read constant
frequency timer information including counter value. The CPUCFG
instruction is used to dynamically identify which features of
LoongArch are implemented in the running processo
This patch adds system call number of memfd_create for LoongArch
architecture.
Signed-off-by: Min Zhou
---
drivers/net/memif/rte_eth_memif.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/memif/rte_eth_memif.h
b/drivers/net/memif/rte_eth_memif.h
index a5ee23d42e
This patch adds architecture specific atomic operations for
LoongArch architecture. These implementations use standard atomics
of toolchain and heavily reference generic atomics codes.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_atomic.h | 253 +
1 file chan
The purpose of this patch is used to fix building issues for
LoongArch architecture. The hardware instructions based vector
implementation will come in a future patch.
Signed-off-by: Min Zhou
---
drivers/net/ixgbe/ixgbe_rxtx_vec_lsx.c | 60 ++
drivers/net/ixgbe/meson.buil
This patch adds architecture specific byte order operations
for LoongArch architecture. LoongArch bit designations are
always little-endian.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_byteorder.h | 46 +++
1 file changed, 46 insertions(+)
create mode 100644 li
This patch adds system call number of bpf for LoongArch
architecture.
Signed-off-by: Min Zhou
---
drivers/net/tap/tap_bpf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/tap/tap_bpf.h b/drivers/net/tap/tap_bpf.h
index f0b9fc7a2c..b1c9600ed8 100644
--- a/drivers/
This patch adds rwlock operations for LoongArch architecture.
These implementations refer to rte_rwlock.h of PPC.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_rwlock.h | 42 ++
1 file changed, 42 insertions(+)
create mode 100644 lib/eal/loongarch/include/rte
This patch adds some meson.build files for building DPDK on
LoongArch architecture.
Signed-off-by: Min Zhou
---
.../loongarch/loongarch_loongarch64_linux_gcc | 16 +++
config/loongarch/meson.build | 43 +++
lib/eal/loongarch/include/meson.build | 21 +
This patch adds hypervisor operations for LoongArch architecture.
In fact, these operations are currently not supported on LoongArch.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/rte_hypervisor.c | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 lib/eal/loongarch/rte_hyperv
This patch uses aux vector software register to get CPU flags
and add CPU flag checking support for LoongArch architecture.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_cpuflags.h | 39 ++
lib/eal/loongarch/rte_cpuflags.c | 94
2 files change
This patch adds architecture specific prefetch operations
for LoongArch architecture.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_prefetch.h | 47
1 file changed, 47 insertions(+)
create mode 100644 lib/eal/loongarch/include/rte_prefetch.h
diff --git a/li
LoongArch architecture has a different huge page size (32MB) than
other architectures. This patch adds a new huge page size for
LoongArch architecture.
Signed-off-by: Min Zhou
---
lib/eal/include/rte_memory.h | 1 +
lib/eal/include/rte_memzone.h | 1 +
2 files changed, 2 insertions(+)
diff --g
This patch adds architecture specific pause operations for
LoongArch architecture.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_pause.h | 24
1 file changed, 24 insertions(+)
create mode 100644 lib/eal/loongarch/include/rte_pause.h
diff --git a/lib/eal/loo
Hi Andrew,
Please see below for "fill threshold" concept, I'm ok with other
comments about code.
Regards,
Spike.
> -Original Message-
> From: Andrew Rybchenko
> Sent: Saturday, June 4, 2022 8:46 PM
> To: Spike Du ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ;
> NBU-Contact-Thoma
This patch sets a different eal base address for LoongArch
architecture.
Signed-off-by: Min Zhou
---
lib/eal/linux/eal_memory.c | 4
1 file changed, 4 insertions(+)
diff --git a/lib/eal/linux/eal_memory.c b/lib/eal/linux/eal_memory.c
index c890c42106..60fc8cc6ca 100644
--- a/lib/eal/linux/
This patch adds io operations for LoongArch architecture. Let it
uses generic I/O implementation.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_io.h | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 lib/eal/loongarch/include/rte_io.h
diff --git a/lib/eal/
This patch adds power operations for LoongArch architecture. In
fact, these operations are temporarily not supported on LoongArch.
Signed-off-by: Min Zhou
---
.../loongarch/include/rte_power_intrinsics.h | 20
lib/eal/loongarch/rte_power_intrinsics.c | 51 +++
2 fi
This patch adds claim responsibility for LoongArch architecture.
Signed-off-by: Min Zhou
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f34f6fa2e9..eb38bf473b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -269,6 +269,15 @@ F: lib/eal/
This patch adds mcslock operations for LoongArch architecture.
Let it uses generic mcslock implementation.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_mcslock.h | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 lib/eal/loongarch/include/rte_mcslock.h
di
Dear team,
The following patch set is intended to support DPDK running on LoongArch
architecture.
LoongArch is the general processor architecture of Loongson and is a new
RISC ISA, which is a bit like MIPS or RISC-V.
The online documents of LoongArch are here:
https://loongson.github.io/L
This patch adds ticketlock operations for LoongArch architecture.
Let it uses generic ticketlock implementation.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_ticketlock.h | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 lib/eal/loongarch/include/rte_tick
The purpose of this patch is used to fix building issues for
LoongArch architecture. The hardware instructions based vector
implementation will come in a future patch.
Signed-off-by: Min Zhou
---
drivers/net/i40e/i40e_rxtx_vec_lsx.c | 54
drivers/net/i40e/meson.build
The hardware instructions based vector implementation will come
in a future patch. This dummy implementation can also work.
Signed-off-by: Min Zhou
---
app/test/test_xmmt_ops.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/app/test/test_xmmt_ops.h b/app/test/test_xmmt_op
This patch adds spinlock operations for LoongArch architecture.
These implementations are based on standard atomics of toolchain
and heavily reference generic spinlock codes.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_spinlock.h | 90
1 file changed, 90 in
The hardware instructions based vector implementation for memcpy
will come later. At present, this dummy implementation can also
work.
Signed-off-by: Min Zhou
---
lib/eal/loongarch/include/rte_memcpy.h | 193 +
lib/eal/loongarch/include/rte_vect.h | 46 ++
2 files
> -Original Message-
> From: Thomas Monjalon
> Sent: Monday, June 6, 2022 7:46 PM
> To: Yang, Qiming ; Zhang, Qi Z
>
> Cc: dev@dpdk.org; Liu, KevinX ; Mcnamara, John
>
> Subject: Re: [PATCH v2] net/igc: add I226 support
>
> 06/06/2022 12:54, Zhang, Qi Z:
> >
> > > -Original Messa
https://bugs.dpdk.org/show_bug.cgi?id=1025
Thomas Monjalon (tho...@monjalon.net) changed:
What|Removed |Added
Resolution|--- |FIXED
CC|
Split the virtqs virt-queue resource between
the configuration threads.
Also need pre-created virt-queue resource
after virtq destruction.
This accelerates the LM process and reduces its time by 30%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 115
pre-created virt-queue sub-resource in device probe stage
and then modify virtqueue in device config stage.
Steer table also need to support dummy virt-queue.
This accelerates the LM process and reduces its time by 40%.
Signed-off-by: Li Zhang
Signed-off-by: Yajun Wu
---
drivers/vdpa/mlx5/mlx5_
Split the virtqs device close tasks after
stopping virt-queue between the configuration threads.
This accelerates the LM process and
reduces its time by 50%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 56 +--
drivers/vdpa/mlx5/mlx5_vdpa.h
Split the virtqs LM log between the configuration threads.
This accelerates the LM process and reduces its time by 20%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.h | 3 +
drivers/vdpa/mlx5/mlx5_vdpa_cthread.c | 34 +++
drivers/vdpa/mlx5/mlx5_vdpa_lm.c | 85 +++
The virtq object and all its sub-resources use a lot of
FW commands and can be accelerated by the MT management.
Split the virtqs creation between the configuration threads.
This accelerates the LM process and reduces its time by 20%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.h
The driver creates a direct MR object of
the HW for each VM memory region,
which maps the VM physical address to
the actual physical address.
Later, after all the MRs are ready,
the driver creates an indirect MR to group all the direct MRs
into one virtual space from the HW perspective.
Create di
The configuration threads tasks need a container to
support multiple tasks assigned to a thread in parallel.
Use rte_ring container per thread to manage
the thread tasks without locks.
The caller thread from the user context opens a task to
a thread and enqueue it to the thread ring.
The thread pol
The LM process includes a lot of objects creations and
destructions in the source and the destination servers.
As much as LM time increases, the packet drop of the VM increases.
To improve LM time need to parallel the configurations for mlx5 FW.
Add internal multi-thread management in the driver fo
The driver used a single global lock for any synchronization
needed for the datapath and control path.
It is better to group the critical sections with
the other ones that should be synchronized.
Replace the global lock with the following locks:
1.virtq locks(per virtq) synchronize datapath polli
dev_config operation is called in LM progress.
LM time is very critical because all
the VM packets are dropped directly at that time.
Move the virtq creation to probe time and
only modify the configuration later in
the dev_config stage using the new ability
to modify virtq.
This optimization acce
A virtq configuration can be modified after the virtq creation.
Added the following modifiable fields:
1.address fields: desc_addr/used_addr/available_addr
2.hw_available_index
3.hw_used_index
4.virtio_q_type
5.version type
6.queue mkey
7.feature bit mask: tso_ipv4/tso_ipv6/tx_csum/rx_csum
8.event
From: Yajun Wu
To speed up queue create time, event qp and cq will create only once.
Each virtq creation will reuse same event qp and cq.
Because FW will set event qp to error state during virtq destroy,
need modify event qp to RESET state, then modify qp to RTS state as
usual. This can save abo
From: Yajun Wu
Support set QP to RESET state.
Signed-off-by: Yajun Wu
---
drivers/common/mlx5/mlx5_devx_cmds.c | 7 +++
drivers/common/mlx5/mlx5_prm.h | 17 +
2 files changed, 24 insertions(+)
diff --git a/drivers/common/mlx5/mlx5_devx_cmds.c
b/drivers/common/mlx5/
From: Yajun Wu
The motivation of this change is to reduce vDPA device queue creation
time by create some queue resource in vDPA device probe stage.
In VM live migration scenario, this can reduce 0.8ms for each queue
creation, thus reduce LM network downtime.
To create queue resource(umem/counte
From: Yajun Wu
Move rte_eal_cleanup to function vdpa_sample_quit which
handling all example app quit.
Otherwise rte_eal_cleanup won't be called on receiving signal
like SIGINT(control + c).
Fixes: 10aa3757 ("examples: add eal cleanup to examples")
Cc: sta...@dpdk.org
Signed-off-by: Yajun Wu
--
From: Yajun Wu
Add device removal in function rte_eal_cleanup. This is the last chance
device remove get called for sanity. Loop vdev bus first and then all bus
for all device, calling rte_dev_remove.
Cc: sta...@dpdk.org
Signed-off-by: Yajun Wu
---
lib/eal/freebsd/eal.c | 33 +
The driver wrongly takes the capability value for
the number of virtq pairs instead of just the number of virtqs.
Adjust all the usages of it to be the number of virtqs.
Fixes: c2eb33a ("vdpa/mlx5: manage virtqs by array")
Cc: sta...@dpdk.org
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_
Allow the driver to use internal threads to
obtain fast configuration.
All the threads will be open on the same core of
the event completion queue scheduling thread.
Add max_conf_threads parameter to configure
the maximum number of internal threads in addition to
the caller thread (8 is suggested)
06/06/2022 12:54, Zhang, Qi Z:
>
> > -Original Message-
> > From: Thomas Monjalon
> > Sent: Monday, June 6, 2022 6:49 PM
> > To: Yang, Qiming ; Zhang, Qi Z
> >
> > Cc: dev@dpdk.org; Liu, KevinX
> > Subject: Re: [PATCH v2] net/igc: add I226 support
> >
> > 06/06/2022 01:12, Zhang, Qi Z:
31/05/2022 18:14, Honnappa Nagarahalli пишет:
25/05/2022 01:24, Honnappa Nagarahalli пишет:
From: Konstantin Ananyev
20/04/2022 09:16, Feifei Wang пишет:
Enable direct rearm mode. The mapping is decided in the data plane
based on the first packet received.
Suggested-by: Honnappa Naga
Split the virtqs virt-queue resource between
the configuration threads.
Also need pre-created virt-queue resource
after virtq destruction.
This accelerates the LM process and reduces its time by 30%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 115
pre-created virt-queue sub-resource in device probe stage
and then modify virtqueue in device config stage.
Steer table also need to support dummy virt-queue.
This accelerates the LM process and reduces its time by 40%.
Signed-off-by: Li Zhang
Signed-off-by: Yajun Wu
---
drivers/vdpa/mlx5/mlx5_
Split the virtqs virt-queue resource between
the configuration threads.
Also need pre-created virt-queue resource
after virtq destruction.
This accelerates the LM process and reduces its time by 30%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 115
pre-created virt-queue sub-resource in device probe stage
and then modify virtqueue in device config stage.
Steer table also need to support dummy virt-queue.
This accelerates the LM process and reduces its time by 40%.
Signed-off-by: Li Zhang
Signed-off-by: Yajun Wu
---
drivers/vdpa/mlx5/mlx5_
Split the virtqs device close tasks after
stopping virt-queue between the configuration threads.
This accelerates the LM process and
reduces its time by 50%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 56 +--
drivers/vdpa/mlx5/mlx5_vdpa.h
Split the virtqs LM log between the configuration threads.
This accelerates the LM process and reduces its time by 20%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.h | 3 +
drivers/vdpa/mlx5/mlx5_vdpa_cthread.c | 34 +++
drivers/vdpa/mlx5/mlx5_vdpa_lm.c | 85 +++
The virtq object and all its sub-resources use a lot of
FW commands and can be accelerated by the MT management.
Split the virtqs creation between the configuration threads.
This accelerates the LM process and reduces its time by 20%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.h
Split the virtqs device close tasks after
stopping virt-queue between the configuration threads.
This accelerates the LM process and
reduces its time by 50%.
Signed-off-by: Li Zhang
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 56 +--
drivers/vdpa/mlx5/mlx5_vdpa.h
The driver creates a direct MR object of
the HW for each VM memory region,
which maps the VM physical address to
the actual physical address.
Later, after all the MRs are ready,
the driver creates an indirect MR to group all the direct MRs
into one virtual space from the HW perspective.
Create di
1 - 100 of 147 matches
Mail list logo