[PATCH v3] net/iavf: support no data path polling mode

2023-10-12 Thread Mingjin Ye
/tx bursts return to 0 immediately). When the link state returns to normal, the PMD switches to normal rx/tx burst state. NOTE: The DPDK application needs to handle the RTE_ETH_EVENT_INTR_RESET event posted by the iavf PMD and reset the vf upon receipt of this event. Signed-off-by: Mingjin Ye ---

[PATCH v4] net/iavf: support no data path polling mode

2023-10-16 Thread Mingjin Ye
/tx bursts return to 0 immediately). When the link state returns to normal, the PMD switches to normal rx/tx burst state. Signed-off-by: Mingjin Ye --- V3: Remove redundant code. --- v4: Delete the git log note. --- doc/guides/nics/intel_vf.rst | 3 ++ drivers/net/iavf/iavf.h| 4 +++ d

[PATCH v4] net/iavf: support no data path polling mode

2023-10-16 Thread Mingjin Ye
/tx bursts return to 0 immediately). When the link state returns to normal, the PMD switches to normal rx/tx burst state. Signed-off-by: Mingjin Ye --- V3: Remove redundant code. --- v4: Delete the git log note. --- doc/guides/nics/intel_vf.rst | 3 ++ drivers/net/iavf/iavf.h| 4 +++ d

[PATCH v5] net/iavf: data paths support no-polling mode

2023-10-19 Thread Mingjin Ye
varg "auto-reset" to provide a seamless and user-friendly experience within the VM. Signed-off-by: Mingjin Ye --- V3: Remove redundant code. --- v4: Delete the git log note. --- v5: Optimize the commit log --- doc/guides/nics/intel_vf.rst | 3 ++ drivers/net/iavf/iavf.h| 4

[PATCH] net/iavf: fix crash on closing representor ports

2023-10-26 Thread Mingjin Ye
can't be accessed, it will report an error and return. Fixes: 5674465a32c8 ("net/ice: add DCF VLAN handling") Fixes: 295968d17407 ("ethdev: add namespace") Fixes: da9cdcd1f372 ("net/ice: fix crash on representor port closing") Cc: sta...@dpdk.org Signed-off-b

[PATCH v2] app/dma-perf: fix lcores array out of bounds access

2023-10-26 Thread Mingjin Ye
` configuration item in the parameter file is greater than MAX_WORKER_NB. This patch fixes the issue by removing the MAX_LCORE_NB macro and using MAX_WORKER_NB consistently. Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test") Signed-off-by: Mingjin Ye --- v2:A bette

[PATCH] net/ice: support vxlan gpe tunnel offload

2022-10-17 Thread Mingjin Ye
PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause the tx queues overflow and stop working when sending such packets. This patch adds support for the vxlan gpe. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: sta...@dpdk.org Signed-off-by:

[PATCH v2 1/2] app/testpmd: fix vlan offload of rxq

2022-10-19 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingj

[PATCH v2 2/2] net/ice: fix vlan offload

2022-10-19 Thread Mingjin Ye
") Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_rxtx_vec_avx2.c | 136 +- drivers/net/ice/ice_rxtx_vec_avx512.c | 155 +- drivers/net/ice/ice_rxtx_vec_ss

[PATCH] net/i40e: fix outer checksum flags

2022-10-20 Thread Mingjin Ye
i40e: enable bad checksum flags in vector Rx") Fixes: f3a85f4ce04d ("net/i40e: fix checksum flag in x86 vector Rx") Fixes: f4356d7ca168 ("net/i40e: eliminate mbuf write on rearm") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/i40e/i40e_rxtx.c|

[PATCH v2] net/ice: support vxlan gpe tunnel offload

2022-10-20 Thread Mingjin Ye
load under the scenario if the offload tso and VXLAN_GPE tunnel are both required, so that it would avoid tx queue overflowing. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_rxtx.c | 1 + 1 file

[PATCH v3 1/2] app/testpmd: fix vlan offload of rxq

2022-10-21 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingj

[PATCH v3 2/2] net/ice: fix vlan offload

2022-10-21 Thread Mingjin Ye
") Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye v3: * Fix macros in ice_rxtx_vec_sse.c source file. --- drivers/net/ice/ice_rxtx_vec_avx2.c | 136 +- drivers/net/ice/ice_rxtx_vec_avx512.c |

[PATCH v4 1/2] app/testpmd: fix vlan offload of rxq

2022-10-24 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingj

[PATCH v4 2/2] net/ice: fix vlan offload

2022-10-24 Thread Mingjin Ye
") Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye v3: * Fix macros in ice_rxtx_vec_sse.c source file. v4: * Fix ice_rx_desc_to_olflags_v define in ice_rxtx_vec_sse.c source file. --- drivers/

[PATCH v4 1/2] app/testpmd: fix vlan offload of rxq

2022-10-24 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingj

[PATCH v4 2/2] net/ice: fix vlan offload

2022-10-24 Thread Mingjin Ye
") Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye v3: * Fix macros in ice_rxtx_vec_sse.c source file. v4: * Fix ice_rx_desc_to_olflags_v define in ice_rxtx_vec_sse.c source file. --- drivers/

[PATCH v4 1/2] app/testpmd: fix vlan offload of rxq

2022-10-24 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingj

[PATCH v4 2/2] net/ice: fix vlan offload

2022-10-24 Thread Mingjin Ye
") Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye v3: * Fix macros in ice_rxtx_vec_sse.c source file. v4: * Fix ice_rx_desc_to_olflags_v define in ice_rxtx_vec_sse.c source file. --- drivers/

[PATCH] net/ice: support vxlan gpe tunnel offload

2022-10-24 Thread Mingjin Ye
PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause the tx queues overflow and stop working when sending such packets. This patch adds support for the vxlan gpe. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: sta...@dpdk.org Signed-off-by:

[PATCH] net/ice: support vxlan gpe tunnel offload

2022-10-24 Thread Mingjin Ye
PMD does not support VXLAN_GPE tunnel offloading, therefore, it will cause the tx queues overflow and stop working when sending such packets. This patch adds support for the vxlan gpe. Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags") Cc: sta...@dpdk.org Signed-off-by:

[PATCH v4 1/2] app/testpmd: fix vlan offload of rxq

2022-10-26 Thread Mingjin Ye
After setting vlan offload in testpmd, the result is not updated to rxq. Therefore, the queue needs to be reconfigured after executing the "vlan offload" related commands. Fixes: a47aa8b97afe ("app/testpmd: add vlan offload support") Cc: sta...@dpdk.org Signed-off-by: Mingj

[PATCH v4 2/2] net/ice: fix vlan offload

2022-10-26 Thread Mingjin Ye
") Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye v3: * Fix macros in ice_rxtx_vec_sse.c source file. v4: * Fix ice_rx_desc_to_olflags_v define in ice_rxtx_vec_sse.c source file. --- drivers/

[PATCH v2] net/ice: fix rx scalar path offload parse

2022-10-27 Thread Mingjin Ye
descriptor") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_rxtx.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index 71e5c6f5d6..3c558b32bd 100644 --- a/drivers/net/

[PATCH v2] net/ice: fix rx scalar path offload parse

2022-10-27 Thread Mingjin Ye
handle Rx flex descriptor") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_rxtx.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index 71e5c6f5d6..3c558b32bd 100644 -

[PATCH v8] doc: add PMD known issue

2023-01-27 Thread Mingjin Ye
Add a known issue: Rx path dynamic change is not supported for PMD. Fixes: de853a3bb151 ("net/ice: disable DDP package on Windows") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 12 1 file changed, 12 insertions(+) diff --git a/doc/g

[PATCH] net/iavf: add check for mbuf

2023-01-30 Thread Mingjin Ye
ct UP and queue") Fixes: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction") Fixes: f28fbd1e6b50 ("net/iavf: check max SIMD bitwidth") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf_rxtx.c | 592 +++

[PATCH] net/iavf: add check for mbuf

2023-01-31 Thread Mingjin Ye
ct UP and queue") Fixes: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction") Fixes: f28fbd1e6b50 ("net/iavf: check max SIMD bitwidth") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf_rxtx.c | 599 +++

[PATCH v2] net/iavf: add check for mbuf

2023-02-02 Thread Mingjin Ye
ct UP and queue") Fixes: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction") Fixes: f28fbd1e6b50 ("net/iavf: check max SIMD bitwidth") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf_rxtx.c | 647 +++

[PATCH] net/ice: fix get link status timeout

2023-02-05 Thread Mingjin Ye
t/ice: support link update") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 0bc739daf0..eaa556f45c 100644 --- a/drivers/net/ice/ic

[PATCH] bus/vdev: fix devargs memory leak

2023-09-01 Thread Mingjin Ye
when inserting a device in secondary process. Fixes: dda987315ca2 ("vdev: make virtual bus use its device struct") Fixes: a16040453968 ("eal: extract vdev infra") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/bus/vdev/vdev.c | 22 +- 1 file ch

[PATCH v3] app/test: secondary process passes allow parameters

2023-09-25 Thread Mingjin Ye
ot;) Fixes: 148f963fb532 ("xen: core library changes") Fixes: af75078fece3 ("first public release") Fixes: b8d5e544e73e ("test: add procfs error message for multi-process launch") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v3:ne

[PATCH v2] net/iavf: support no data path polling mode

2023-09-26 Thread Mingjin Ye
/tx bursts return to 0 immediately). When the link state returns to normal, the PMD switches to normal rx/tx burst state. Signed-off-by: Mingjin Ye --- doc/guides/nics/intel_vf.rst| 3 ++ drivers/net/iavf/iavf.h | 2 ++ drivers/net/iavf/iavf_ethdev.c

[PATCH v4] app/test: append 'allow' parameters to secondary processes

2023-09-26 Thread Mingjin Ye
Fixes: af75078fece3 ("first public release") Fixes: b8d5e544e73e ("test: add procfs error message for multi-process launch") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v4: Resolve patch conflicts and optimize code. --- app/test/process.h | 60

[PATCH v2] net/vdev: fix insert vdev core dump

2024-07-16 Thread Mingjin Ye
1c6 ("bus/vdev: scan by multi-process channel") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Modify commit log. --- drivers/bus/vdev/vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 38d05a9fe9..ec7a

[PATCH v3] net/iavf: add debug checks for mbuf

2023-02-13 Thread Mingjin Ye
: 3fd32df381f8 ("net/iavf: check Tx packet with correct UP and queue") Fixes: 12b435bf8f2f ("net/iavf: support flex desc metadata extraction") Fixes: f28fbd1e6b50 ("net/iavf: check max SIMD bitwidth") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- driv

[RFC] net/ice: CVL support double vlan

2023-02-20 Thread Mingjin Ye
4.Support outer port insertion If dvm is enabled, will support outer port vlan. User can use "tx_vlan set pvid 0 45 on" to enable or "tx_vlan set pvid 0 45 off" to disable ice outer vlan insertion try with testpmd app. Signed-off-by: Mingjin Ye

[RFC] net/ice: CVL support double vlan

2023-02-20 Thread Mingjin Ye
4.Support outer port insertion If dvm is enabled, will support outer port vlan. User can use "tx_vlan set pvid 0 45 on" to enable or "tx_vlan set pvid 0 45 off" to disable ice outer vlan insertion try with testpmd app. Signed-off-by: Mingjin Ye

[PATCH v2] doc: add PMD known issue

2023-05-06 Thread Mingjin Ye
Add a known issue: The ixgbe_vf driver is not multi-process safe. Signed-off-by: Mingjin Ye --- v2: Modify issue description reason. --- doc/guides/nics/ixgbe.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index

[PATCH v2] net/ice: support double vlan

2023-05-06 Thread Mingjin Ye
vid 0 45 on" to enable or "tx_vlan set pvid 0 45 off" to disable the outer vlan insertion in testpmd. Signed-off-by: Mingjin Ye --- v2: Apply QinQ when initializing vlan offload. --- drivers/net/ice/ice_ethdev.c | 422 +-- drivers/net/ice/ice_ethdev.h

[PATCH] net/ice: fix statistics

2023-05-10 Thread Mingjin Ye
t/ice: support flex Rx descriptor RxDID22") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c index 9a88cf9796..1116880485 100644 --- a/drive

[PATCH v3] doc: comment VF does not support multi-process

2023-05-16 Thread Mingjin Ye
Announcing that multi-process is not supported Signed-off-by: Mingjin Ye --- v2: Modify issue description reason. --- V3: Modify description. --- doc/guides/nics/ixgbe.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index

[PATCH] net/ice: DCF adds default RSS

2023-05-16 Thread Mingjin Ye
t/ice: support QoS config VF bandwidth in DCF") Fixes: 3220d865382c ("net/ice: init RSS during DCF start") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_dcf.c| 259 ++- drivers/net/ice/ice_dcf.h| 4 + drivers/

[PATCH v4] doc: update ixgbe VF features list

2023-05-17 Thread Mingjin Ye
The ixgbe VF driver is not multi-process aware. Some function pointers are not set correctly in multi-process situations. Remove the multiprocess aware feature from the features list. Signed-off-by: Mingjin Ye --- v2: Modify issue description reason. --- V3: Modify description. --- V4: Removed

[PATCH v2] net/ice: DCF adds default RSS

2023-05-24 Thread Mingjin Ye
The default RSS configured by the kernel driver for the DCF port does not work properly when the DCF and iavf ports are used together. This patch clears the RSS configured by the kernel driver and reconfigures the default RSS for it when the DCF port is initialized. Signed-off-by: Mingjin Ye

[PATCH v12] net/iavf: add diagnostic support in TX path

2024-02-19 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch.

[PATCH v5] net/i40e: add diagnostic support in TX path

2024-03-01 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- v4: rebase. --- v5: fix ci error. --- doc/guides/nics/i40e.rst

[PATCH v3] net/ice: add diagnostic support in TX path

2024-03-01 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: rebase. --- v3: Modify comment log. --- doc/guides/nics/ice.rst | 13 +++ driv

[PATCH v2] net/iavf: fix no polling mode switch

2023-12-14 Thread Mingjin Ye
t;net/iavf: support no polling when link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Increase reset completion wait count. --- drivers/net/iavf/iavf.h| 3 ++- drivers/net/iavf/iavf_ethdev.c | 27 +++ drivers/net/iavf/iavf_vch

[v20.11] net/iavf: support flow rule with raw pattern

2023-12-15 Thread Mingjin Ye
Add raw pattern support to VF, including FDIR/RSS flow rule. This patch is based on DPDK v20.11.9 [ece54855816f1d03ef8ae08dedcb02318a97f3fb], for customer cherry-pick. Signed-off-by: Mingjin Ye --- drivers/common/iavf/virtchnl.h | 38 +- drivers/net/iavf/iavf.h | 13

[PATCH] net/iavf: add diagnostic support in TX path

2023-12-21 Thread Mingjin Ye
ter format: mbuf_check=[mbuf,,] eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf.h| 26 ++- drivers/net/iavf/iavf_ethdev.c | 74 drivers/net/iavf/iavf_rxtx.c | 337 + drivers/net/iavf/i

[PATCH] net/i40e: add diagnostic support in TX path

2023-12-21 Thread Mingjin Ye
ter format: mbuf_check=[mbuf,,] eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- drivers/net/i40e/i40e_ethdev.c | 108 +++- drivers/net/i40e/i40e_ethdev.h | 32 ++ drivers/net/i40e/i40e_rxtx.c | 916 + drivers/net/i40e/i40e_rxtx

[PATCH] net/ice: add diagnostic support in TX path

2023-12-21 Thread Mingjin Ye
ter format: mbuf_check=[mbuf,,] eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_ethdev.c | 102 +++- drivers/net/ice/ice_ethdev.h | 26 + drivers/net/ice/ice_rxtx.c | 944 ++- drivers/net/ice/ice_rxtx.h |

[PATCH v2] net/iavf: add diagnostic support in TX path

2023-12-22 Thread Mingjin Ye
ter format: mbuf_check=[mbuf,,] eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- drivers/net/iavf/iavf.h| 25 - drivers/net/iavf/iavf_ethdev.c | 69 drivers/net/iavf/iavf_rxtx

[PATCH v3] net/iavf: add diagnostic support in TX path

2023-12-26 Thread Mingjin Ye
ter format: mbuf_check=[mbuf,,] eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- drivers/net/iavf/iavf.h| 25 +- drivers/net/iavf/iavf_ethdev.c | 69 + driver

[PATCH v4 1/2] net/iavf: add diagnostic support in TX path

2023-12-27 Thread Mingjin Ye
ter format: mbuf_check=[mbuf,,] eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- drivers/net/iavf/iavf.h| 25 +- drivers/net/iavf/iavf_ethd

[PATCH v5 0/2] net/iavf: add diagnostics and fix error

2023-12-28 Thread Mingjin Ye
1. Fix multi-process error in Tx path. 2. Add diagnostics to Tx path. Mingjin Ye (2): net/iavf: fix Tx path error in multi-process net/iavf: add diagnostic support in TX path doc/guides/nics/intel_vf.rst | 4 + drivers/net/iavf/iavf.h| 25 +- drivers/net/iavf/iavf_ethdev.c

[PATCH v5 1/2] net/iavf: fix Tx path error in multi-process

2023-12-28 Thread Mingjin Ye
/iavf: support no polling when link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf.h | 12 +++- drivers/net/iavf/iavf_rxtx.c | 34 +++--- drivers/net/iavf/iavf_rxtx.h | 3 +++ 3 files changed, 45 insertions(+), 4 deletion

[PATCH v5 2/2] net/iavf: add diagnostic support in TX path

2023-12-28 Thread Mingjin Ye
ter format: mbuf_check=[mbuf,,] eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- doc/guides/nics/intel_vf.rst | 4 ++ drivers/net/i

[PATCH v6 0/2] net/iavf: fix Rx/Tx burst and add diagnostics

2023-12-29 Thread Mingjin Ye
Fixed Rx/Tx crash in multi-process environment and added Tx diagnostic feature. Mingjin Ye (2): net/iavf: fix Rx/Tx burst in multi-process net/iavf: add diagnostic support in TX path doc/guides/nics/intel_vf.rst | 4 + drivers/net/iavf/iavf.h| 54 ++- drivers/net/iavf

[PATCH v6 1/2] net/iavf: fix Rx/Tx burst in multi-process

2023-12-29 Thread Mingjin Ye
link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Add fix for Rx burst. --- drivers/net/iavf/iavf.h | 42 +++- drivers/net/iavf/iavf_rxtx.c | 184 ++- drivers/net/iavf/iavf_rxtx.h | 8 ++ 3 files changed, 205 insertions(+), 29

[PATCH v6 2/2] net/iavf: add diagnostic support in TX path

2023-12-29 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- v6: remove strict. --- doc/guides/nics/intel_vf.rst | 4 ++ drivers/net/iavf/iavf.h

[PATCH v7 0/2] net/iavf: fix Rx/Tx burst and add diagnostics

2024-01-02 Thread Mingjin Ye
Fixed Rx/Tx crash in multi-process environment and added Tx diagnostic feature. Mingjin Ye (2): net/iavf: fix Rx/Tx burst in multi-process net/iavf: add diagnostic support in TX path doc/guides/nics/intel_vf.rst | 4 + drivers/net/iavf/iavf.h| 54 ++- drivers/net/iavf

[PATCH v7 1/2] net/iavf: fix Rx/Tx burst in multi-process

2024-01-02 Thread Mingjin Ye
link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Add fix for Rx burst. --- v3: fix Rx/Tx routing. --- drivers/net/iavf/iavf.h | 42 - drivers/net/iavf/iavf_rxtx.c | 173 +++ 2 files changed, 157 insertions(+), 58 deletions(-)

[PATCH v7 2/2] net/iavf: add diagnostic support in TX path

2024-01-02 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- v6: remove strict. --- doc/guides/nics/intel_vf.rst | 4 ++ drivers/net/iavf/iavf.h

[PATCH v8 0/2] net/iavf: fix Rx/Tx burst and add diagnostics

2024-01-03 Thread Mingjin Ye
Fixed Rx/Tx crash in multi-process environment and added Tx diagnostic feature. Mingjin Ye (2): net/iavf: fix Rx/Tx burst in multi-process net/iavf: add diagnostic support in TX path doc/guides/nics/intel_vf.rst | 9 ++ drivers/net/iavf/iavf.h| 54 ++- drivers/net/iavf

[PATCH v8 1/2] net/iavf: fix Rx/Tx burst in multi-process

2024-01-03 Thread Mingjin Ye
link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Add fix for Rx burst. --- v3: fix Rx/Tx routing. --- v4: Fix the ops array. --- drivers/net/iavf/iavf.h | 42 +++- drivers/net/iavf/iavf_rxtx.c | 182 --- 2 files changed, 166 inserti

[PATCH v8 2/2] net/iavf: add diagnostic support in TX path

2024-01-03 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- v6: remove strict. --- v7: Modify the description document. --- doc/guides/nics/intel_vf.

[PATCH v9 0/2] net/iavf: fix Rx/Tx burst and add diagnostics

2024-01-04 Thread Mingjin Ye
Fixed Rx/Tx crash in multi-process environment and added Tx diagnostic feature. Mingjin Ye (2): net/iavf: fix Rx/Tx burst in multi-process net/iavf: add diagnostic support in TX path doc/guides/nics/intel_vf.rst | 9 ++ drivers/net/iavf/iavf.h| 55 ++- drivers/net/iavf

[PATCH v9 1/2] net/iavf: fix Rx/Tx burst in multi-process

2024-01-04 Thread Mingjin Ye
link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Add fix for Rx burst. --- v3: fix Rx/Tx routing. --- v4: Fix the ops array. --- v5: rebase. --- drivers/net/iavf/iavf.h | 43 +++- drivers/net/iavf/iavf_rxtx.c | 185 --- 2 files ch

[PATCH v9 2/2] net/iavf: add diagnostic support in TX path

2024-01-04 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- v6: remove strict. --- v8: Modify the description document. --- doc/guides/nics/intel_vf.

[PATCH v3] net/i40e: add diagnostic support in TX path

2024-01-04 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- doc/guides/nics/i40e.rst | 11 +++ drivers/net/i40e/i40e_ethdev.c | 137 - drivers/net/i40e/i40e_ethdev.h | 28 ++ drivers/net/i40e/i40e_rxtx

[PATCH v10] net/iavf: add diagnostic support in TX path

2024-01-05 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- v6: remove strict. --- v9: Modify the description document. --- v10: Modify vf rst document. ---

[PATCH v4] net/i40e: add diagnostic support in TX path

2024-01-05 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- v4: rebase. --- doc/guides/nics/i40e.rst | 13 +++ drivers/net/i40e/i40e_ethdev.c | 138 - drivers/net/i40e/i40e_ethdev.h | 28 ++ driver

[PATCH v2] net/ice: add diagnostic support in TX path

2024-01-05 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: rebase. --- doc/guides/nics/ice.rst | 13 +++ drivers/net/ice/ice_ethdev.c | 104 ++- drivers/net/ice/ice_ethdev.h | 24 ++ drivers/net/ice/ice_rxtx

[PATCH v11] net/iavf: add diagnostic support in TX path

2024-01-09 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch.

[PATCH v11] net/iavf: add diagnostic support in TX path

2024-01-09 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch.

[PATCH] net/iavf: fix access to null value

2024-01-23 Thread Mingjin Ye
The "vsi" may be null, so it needs to be used after checking. Fixes: ab28aad9c24f ("net/iavf: fix Rx Tx burst in multi-process") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf_rxtx.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-)

[PATCH] buildtools: fix invalid symbols

2024-06-27 Thread Mingjin Ye
ELF files generated by higher version compilers wrap multiple symbols prefixed with "this_pmd_name". This patch fixes the issue by filtering invalid symbols. Bugzilla ID: 1466 Fixes: 6c4bf8f42432 ("buildtools: add Python pmdinfogen") Cc: sta...@dpdk.org Signe

[PATCH v2] buildtools: fix invalid symbols

2024-07-01 Thread Mingjin Ye
Elf files generated by higher version compilers wrap multiple symbols prefixed with "this_pmd_name". The patch uses the regex "^this_pmd_name[0-9]+$" to match the symbol name. Bugzilla ID: 1466 Fixes: 6c4bf8f42432 ("buildtools: add Python pmdinfogen") Cc: sta...@dp

[PATCH v2] net/ice: support FEC feature

2024-07-02 Thread Mingjin Ye
This patch enable three Forward Error Correction(FEC) related ops in ice driver. As no speed information can get from HW, this patch only show FEC capability. Signed-off-by: Qiming Yang Signed-off-by: Mingjin Ye --- v2: fix some logic --- doc/guides/nics/features/ice.ini | 1 + doc/guides

[PATCH v3] net/ice: support FEC feature

2024-07-04 Thread Mingjin Ye
This patch enable three Forward Error Correction(FEC) related ops in ice driver. As no speed information can get from HW, this patch only show FEC capability. Signed-off-by: Qiming Yang Signed-off-by: Mingjin Ye --- v3: optimize code details --- v2: fix some logic --- doc/guides/nics/features

[PATCH v3] buildtools: fix invalid symbols

2024-07-05 Thread Mingjin Ye
: 6c4bf8f42432 ("buildtools: add Python pmdinfogen") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- buildtools/pmdinfogen.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildtools/pmdinfogen.py b/buildtools/pmdinfogen.py index 2a44f17bda..9896f107dc 100755 --- a/buildtools/pmdinfoge

[POC] net/iavf: support no data path polling mode

2023-07-17 Thread Mingjin Ye
Introduces a devargs "no-poll-on-link-down" in iavf PMD. When this flag is set, the PMD switches to no-poll mode when the link state is down (rx/tx burst returns to 0 immediately). When the link state returns to normal, PMD switches to normal rx/tx burst state. Signed-off-by:

[POC v2] net/iavf: support no data path polling mode

2023-07-20 Thread Mingjin Ye
Introduces a devargs "no-poll-on-link-down" in iavf PMD. When this flag is set, the PMD switches to no-poll mode when the link state is down (rx/tx burst returns to 0 immediately). When the link state returns to normal, PMD switches to normal rx/tx burst state. Signed-off-by: Mingjin

[PATCH] app/dma-perf: fix dma mapping access overruns

2023-07-20 Thread Mingjin Ye
fix this. Signed-off-by: Mingjin Ye --- app/test-dma-perf/main.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test-dma-perf/main.h b/app/test-dma-perf/main.h index f65e264378..602ecac858 100644 --- a/app/test-dma-perf/main.h +++ b/app/test-dma-perf/main.h @@ -10,11

[POC v3] net/iavf: support no data path polling mode

2023-07-21 Thread Mingjin Ye
/tx bursts return to 0 immediately). When the link state returns to normal, the PMD switches to normal rx/tx burst state. NOTE: The DPDK application needs to handle the RTE_ETH_EVENT_INTR_RESET event posted by the iavf PMD and reset the vf upon receipt of this event. Signed-off-by: Mingjin Ye -

[PATCH] net/iavf: support no data path polling mode

2023-08-10 Thread Mingjin Ye
/tx bursts return to 0 immediately). When the link state returns to normal, the PMD switches to normal rx/tx burst state. Signed-off-by: Mingjin Ye --- doc/guides/nics/intel_vf.rst| 3 ++ drivers/net/iavf/iavf.h | 2 ++ drivers/net/iavf/iavf_ethdev.c | 12 ++

[PATCH v2] net/iavf: fix crash on closing representor ports

2023-10-29 Thread Mingjin Ye
can't be accessed, it will report an error and return. Fixes: 5674465a32c8 ("net/ice: add DCF VLAN handling") Fixes: da9cdcd1f372 ("net/ice: fix crash on representor port closing") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Reformat code to remove unneeded fixli

[PATCH v2] net/ice: fix crash on closing representor ports

2023-10-30 Thread Mingjin Ye
can't be accessed, it will report an error and return. Fixes: 5674465a32c8 ("net/ice: add DCF VLAN handling") Fixes: da9cdcd1f372 ("net/ice: fix crash on representor port closing") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Reformat code to remove unneeded fixli

[PATCH v3] net/ice: fix crash on closing representor ports

2023-11-01 Thread Mingjin Ye
if the resource is present before accessing. Fixes: 5674465a32c8 ("net/ice: add DCF VLAN handling") Fixes: da9cdcd1f372 ("net/ice: fix crash on representor port closing") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v3: New solution. --- drivers/net/ice/ice_dcf_

[PATCH v4] net/ice: fix crash on closing representor ports

2023-11-02 Thread Mingjin Ye
andling") Fixes: da9cdcd1f372 ("net/ice: fix crash on representor port closing") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Reformat code to remove unneeded fixlines. --- v3: New solution. --- v4: Optimize v2 patch. --- drivers/net/ice/ice_dcf_ethdev.c | 20 +++

[PATCH v5] net/ice: fix crash on closing representor ports

2023-11-06 Thread Mingjin Ye
net/ice: add DCF hardware initialization") Fixes: c7e1a1a3bfeb ("net/ice: refactor DCF VLAN handling") Fixes: 1a86f4dbdf42 ("net/ice: support DCF device reset") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Reformat code to remove unneeded fixlines. --- v3: New solutio

[PATCH] net/iavf: MDD fault diagnostics support on TX paths

2023-11-06 Thread Mingjin Ye
k" is introduced and the corresponding diagnostic function is enabled by configuring MDD case. Argument format: mbuf_check=generic,, Currently support MDD case: generic, segment, offload, careful. Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf.h| 26 + drivers/net/iavf/iav

[PATCH v6] net/ice: fix crash on closing representor ports

2023-11-07 Thread Mingjin Ye
this issue by synchronizing the state of DCF ports and representor ports to the peer in real time when their state changes. Fixes: da9cdcd1f372 ("net/ice: fix crash on representor port closing") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Reformat code to remove unneeded fixlin

[PATCH v7] net/ice: fix crash on closing representor ports

2023-11-08 Thread Mingjin Ye
this issue by synchronizing the state of DCF ports and representor ports to the peer in real time when their state changes. Fixes: c7e1a1a3bfeb ("net/ice: refactor DCF VLAN handling") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Reformat code to remove unneeded fixlines. -

[PATCH] net/iavf: fix error devargs parsing

2023-11-10 Thread Mingjin Ye
This patch fixes an unknown parsing result without devarg "no-poll-on-link-down". Fixes: 5b3124a0a6ef ("net/iavf: support no polling when link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf_ethdev.c | 6 +++--- 1 file changed, 3 insert

[PATCH v5] app/test: secondary process passes allow parameters

2023-11-10 Thread Mingjin Ye
Signed-off-by: Mingjin Ye --- v5: Optimized. --- app/test/process.h | 74 +++--- 1 file changed, 70 insertions(+), 4 deletions(-) diff --git a/app/test/process.h b/app/test/process.h index af7bc3e0de..f8beb3c36f 100644 --- a/app/test/process.h +++

[PATCH v6] app/test: secondary process passes allow parameters

2023-11-13 Thread Mingjin Ye
Signed-off-by: Mingjin Ye --- v5: Optimized. --- v6: Optimized. --- app/test/process.h | 52 +++--- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/app/test/process.h b/app/test/process.h index af7bc3e0de..cd3603b7bb 100644 --- a/app/test

[PATCH] net/iavf: fix error devargs parsing

2023-11-13 Thread Mingjin Ye
This patch fixes an unknown parsing result without devarg "no-poll-on-link-down". Fixes: 5b3124a0a6ef ("net/iavf: support no polling when link down") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf_ethdev.c | 7 +-- 1 file changed, 1 inser

  1   2   3   >