> -邮件原件-
> 发件人: Konstantin Ananyev
> 发送时间: Thursday, October 13, 2022 5:49 PM
> 收件人: Feifei Wang ; tho...@monjalon.net;
> Ferruh Yigit ; Andrew Rybchenko
> ; Ray Kinsella
> 抄送: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
>
> 主题: Re: 回复: 回复:
> -邮件原件-
> 发件人: Thomas Monjalon
> 发送时间: Friday, October 21, 2022 4:42 AM
> 收件人: David Marchand
> 抄送: Hunt, David ; Ruifeng Wang
> ; dev@dpdk.org; nd ; Feifei
> Wang
> 主题: Re: 回复: [PATCH v1 3/3] examples/l3fwd-power: enable PMD power
> mgmt on Arm
>
&
> -邮件原件-
> 发件人: Stephen Hemminger
> 发送时间: Friday, October 21, 2022 6:10 AM
> 收件人: Feifei Wang
> 抄送: David Hunt ; dev@dpdk.org; nd
> ; Ruifeng Wang
> 主题: Re: [PATCH v1 3/3] examples/l3fwd-power: enable PMD power mgmt
> on Arm
>
> On Thu, 25 Aug 2022 14:42
+ping konstantin,
Would you please give some comments for this patch series?
Thanks very much.
Best Regards
Feifei
That's all right. Thanks very much for your attention~
> -邮件原件-
> 发件人: Konstantin Ananyev
> 发送时间: Wednesday, February 1, 2023 9:11 AM
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd
> 主题: Re: 回复: [PATCH v3 0/3] Direct re-arming of buffers on receive side
>
> -Original Message-
> From: Konstantin Ananyev
> Sent: Friday, September 1, 2023 1:25 AM
> To: Feifei Wang ; Konstantin Ananyev
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd
> Subject: RE: [PATC
> -Original Message-
> From: Konstantin Ananyev
> Sent: Friday, September 1, 2023 10:23 PM
> To: Feifei Wang ; Konstantin Ananyev
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd
> Subject
> -Original Message-
> From: Konstantin Ananyev
> Sent: Monday, September 4, 2023 3:50 PM
> To: Feifei Wang ; Konstantin Ananyev
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
>
> Subj
> -Original Message-
> From: Konstantin Ananyev
> Sent: Monday, September 4, 2023 6:22 PM
> To: Feifei Wang ; Konstantin Ananyev
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
> ; nd
>
For test-pipeline application, there are some problems with the normal
operation of the program and security issues. These patches can fix
these issues.
v3: fix SIGINT handling issue and add dev close operation
Feifei Wang (3):
app/test-pipeline: relax RSS hash requirement
app/test-pipeline
To fix this, referring to l3fwd operation, adjust the 'rss_hf' based on
device capability and just report a warning.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
Reviewed-by: Trevor Tao
Acked-by: Huisong Li
---
app/test-pipeline/init.c | 22 +++
itre...@intel.com
Cc: sta...@dpdk.org
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
Reviewed-by: Matthew Dirba
---
app/test-pipeline/main.c | 14 +++
app/test-pipeline/main.h | 2 +
app/test-pipeline/pipeline_acl.c | 6 +-
app/test-pipeline/pipel
For test-pipeline, there is dev start operation, but when thread need to
exit, there is no dev close operation. This is not safe, to fix this,
add dev close operation.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
app/test-pipeline/main.c | 19 +++
1 file changed, 19
Hi, Konstantin
> -Original Message-
> From: Feifei Wang
> Sent: Tuesday, September 5, 2023 11:11 AM
> To: Konstantin Ananyev ; Konstantin
> Ananyev
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
> -Original Message-
> From: Feifei Wang
> Sent: Friday, September 22, 2023 10:59 PM
> To: Konstantin Ananyev ; Konstantin
> Ananyev
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
> ; nd ;
> -Original Message-
> From: Konstantin Ananyev
> Sent: Saturday, September 23, 2023 12:41 AM
> To: Feifei Wang ; Konstantin Ananyev
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
> ; nd ;
:
1. replace rx queue check code with eth_dev_validate_rx_queue
function (Stephen)
2. put port and queue check before function call (Konstantin)
v13:
1. for i40e and ixgbe drivers, reset nb_recycle_mbufs to zero
when rxep[i] == NULL, no matter what value refill_requirement
is (Konstantin)
Feifei
ested-by: Honnappa Nagarahalli
Suggested-by: Ruifeng Wang
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
Reviewed-by: Honnappa Nagarahalli
Acked-by: Morten Brørup
Acked-by: Konstantin Ananyev
Acked-by: Ferruh Yigit
---
doc/guides/rel_notes/release_23_11.rst | 15 +++
lib/ethdev/eth
Define specific function implementation for i40e driver.
Currently, mbufs recycle mode can support 128bit
vector path and avx2 path. And can be enabled both in
fast free and no fast free mode.
Suggested-by: Honnappa Nagarahalli
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
Reviewed-by
Define specific function implementation for ixgbe driver.
Currently, recycle buffer mode can support 128bit
vector path. And can be enabled both in fast free and
no fast free mode.
Suggested-by: Honnappa Nagarahalli
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
Reviewed-by: Honnappa
Add recycle mbufs engine for testpmd. This engine forward pkts with
I/O forward mode. But enable mbufs recycle feature to recycle used
txq mbufs for rxq mbuf ring, which can bypass mempool path and save
CPU cycles.
Suggested-by: Jerin Jacob
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
For Konstantin
> -Original Message-
> From: Feifei Wang
> Sent: Saturday, September 23, 2023 1:52 PM
> To: Konstantin Ananyev ; Konstantin
> Ananyev
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd ; nd
&
. Thanks very much for your patient explanation again.
Best Regards
Feifei
> -邮件原件-
> 发件人: Slava Ovsiienko
> 发送时间: 2021年4月20日 2:51
> 收件人: Feifei Wang ; Matan Azrad
> ; Shahaf Shuler
> 抄送: dev@dpdk.org; nd ; sta...@dpdk.org; Ruifeng Wang
> ; nd
> 主题: RE: [PAT
we should change the code as:
a) rebuild global cache;
b) rte_smp_wmb();
c) updating dev_gen
Best Regards
Feifei
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: 2021年4月20日 13:54
> 收件人: Slava Ovsiienko ; Matan Azrad
> ; Shahaf Shuler
> 抄送: dev@dpdk.org; nd ; sta...@dpdk.org; Ruifeng Wang
&
" means when updating guard variable "dev_gen" is known by other
agents, they also can
confirm global cache has been updated in the meanwhile. Thus, just one wmb
before altering dev_gen
can ensure this.
Best Regards
Feifei
> -邮件原件-
> 发件人: Slava Ovsiienko
> 发送时间
Hi, Slava
Would you have more comments about this patch?
For my sight, only one wmb before "dev_gen" updating is enough to synchronize.
Thanks very much for your attention.
Best Regards
Feifei
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: 2021年4月20日 16:42
> 收件人: Slava O
Hi, Qi
Can you help review these patches?
Thanks very much.
Best Regards
Feifei
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: 2021年5月27日 16:17
> 抄送: dev@dpdk.org; nd ; Feifei Wang
>
> 主题: [PATCH v1 0/2] net/i40e: improve free mbuf
>
> For i40e Tx path, use bulk free
Hi, Slava
Would you please help review this patch?
Thanks.
Best Regards
Feifei
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: 2021年5月27日 17:48
> 收件人: Matan Azrad ; Shahaf Shuler
> ; Viacheslav Ovsiienko
> 抄送: dev@dpdk.org; nd ; Feifei Wang
> ; shah...@mellanox.com; sta..
Hi, Bruce
Would you please help review this patch series?
Thanks.
Best Regards
Feifei
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: 2021年6月1日 9:57
> 收件人: Bruce Richardson
> 抄送: dev@dpdk.org; nd ; Phil Yang ;
> Feifei Wang ; Juraj Linkeš
> ; Ruifeng Wang
> 主题: [PAT
Hi, Beilei
Thanks for your comments, please see below.
> -邮件原件-
> 发件人: Xing, Beilei
> 发送时间: 2021年6月22日 14:08
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
>
> 主题: RE: [PATCH v1 1/2] net/i40e: improve performance for scalar Tx
>
>
>
> >
Sorry for a mistake for the code, it should be:
int n = txq->tx_rs_thresh;
int32_t i = 0, j = 0;
const int32_t k = RTE_ALIGN_FLOOR(n, RTE_I40E_TX_MAX_FREE_BUF_SZ);
const int32_t m = n % RTE_I40E_TX_MAX
> > int n = txq->tx_rs_thresh;
> > int32_t i = 0, j = 0;
> > const int32_t k = RTE_ALIGN_FLOOR(n, RTE_I40E_TX_MAX_FREE_BUF_SZ);
> > const int32_t m = n % RTE_I40E_TX_MAX_FREE_BUF_SZ; struct rte_mbuf
> > *free[RTE_I40E_TX_MAX_FREE_BUF_SZ];
> >
> > For FAST_FREE_MODE:
> >
> > if (k) {
> > for
> -邮件原件-
> 发件人: Xing, Beilei
> 发送时间: 2021年6月28日 10:27
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
> ; nd ; nd
> 主题: RE: [PATCH v1 1/2] net/i40e: improve performance for scalar Tx
>
>
>
> > -Original Message-
> > From: Fe
For i40e Tx path, use bulk free of the buffers when mbuf fast free
mode is enabled. This can efficiently improve the performance.
v2:
1. fix bug when tx_rs_thres > RTE_I40E_TX_MAX_FREE_BUF_SZ (Beilei)
Feifei Wang (2):
net/i40e: improve performance for scalar Tx
net/i40e: improve performa
default 'tx_rs_thresh':
In n1sdp, performance is improved by 7.9%;
In thunderx2, performance is improved by 7.6%.
For scalar path in x86 platform with default 'tx_rs_thresh':
performance is improved by 4.7%.
Suggested-by: Ruifeng Wang
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng
: Ruifeng Wang
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
drivers/net/i40e/i40e_rxtx_vec_common.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/i40e/i40e_rxtx_vec_common.h
b/drivers/net/i40e/i40e_rxtx_vec_common.h
index 16fcf0aec6..f52ed98d62 100644
--- a
> -邮件原件-
> 发件人: Xing, Beilei
> 发送时间: 2021年6月30日 11:43
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
>
> 主题: RE: [PATCH v2 1/2] net/i40e: improve performance for scalar Tx
>
>
>
> > -Original Message-
> > From: Feifei Wang
For i40e Tx path, use bulk free of the buffers when mbuf fast free
mode is enabled. This can efficiently improve the performance.
v2:
1. fix bug when tx_rs_thres > RTE_I40E_TX_MAX_FREE_BUF_SZ (Beilei)
v3:
1. change variable name for more readable (Beilei)
Feifei Wang (2):
net/i40e: impr
default 'tx_rs_thresh':
In n1sdp, performance is improved by 7.9%;
In thunderx2, performance is improved by 7.6%.
For scalar path in x86 platform with default 'tx_rs_thresh':
performance is improved by 4.7%.
Suggested-by: Ruifeng Wang
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng
: Ruifeng Wang
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
drivers/net/i40e/i40e_rxtx_vec_common.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/i40e/i40e_rxtx_vec_common.h
b/drivers/net/i40e/i40e_rxtx_vec_common.h
index 16fcf0aec6..f52ed98d62 100644
--- a
Hi, Slava
That's OK. Thanks for your reviewing.
Best Regards
Feifei
> -邮件原件-
> 发件人: Slava Ovsiienko
> 发送时间: 2021年7月1日 22:27
> 收件人: Feifei Wang ; Matan Azrad
> ; Shahaf Shuler
> 抄送: dev@dpdk.org; nd ; Shahaf Shuler
> ; sta...@dpdk.org; Ruifeng Wang
> ; n
Hi,
> -邮件原件-
> 发件人: Wathsala Wathawana Vithanage
> 发送时间: 2024年8月28日 4:56
> 收件人: Vipin Varghese ; ferruh.yi...@amd.com;
> dev@dpdk.org
> 抄送: nd ; nd
> 主题: RE: [RFC 1/2] eal: add llc aware functions
>
> > -unsigned int rte_get_next_lcore(unsigned int i, int skip_main, int wrap)
> > +#defi
py buffers into it directly
Performance Test with l3fwd neon path:
with this patch
n1sdp: no perforamnce change
amper-altra:+4.0%
Suggested-by: Konstantin Ananyev
Suggested-by: Honnappa Nagarahalli
Signed-off-by: Feifei Wang
---
driv
> -邮件原件-
> 发件人: Konstantin Ananyev
> 发送时间: Tuesday, May 24, 2022 9:26 AM
> 收件人: Feifei Wang
> 抄送: nd ; dev@dpdk.org; Ruifeng Wang
> ; Honnappa Nagarahalli
>
> 主题: Re: [PATCH v1 0/5] Direct re-arming of buffers on receive side
>
> [konstantin.v.anan..
> -邮件原件-
> 发件人: Konstantin Ananyev
> 发送时间: Sunday, July 3, 2022 8:20 PM
> 收件人: Feifei Wang ; Yuying Zhang
> ; Beilei Xing ; Ruifeng
> Wang
> 抄送: dev@dpdk.org; nd ; Honnappa Nagarahalli
>
> 主题: Re: [RFC PATCH v1] net/i40e: put mempool cache ou
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Wednesday, July 6, 2022 4:53 PM
> 收件人: Konstantin Ananyev ; Yuying
> Zhang ; Beilei Xing ;
> Ruifeng Wang
> 抄送: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; nd
> 主题: 回复: [RFC PATCH v1] net/i40e: put mempool cache out of
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Wednesday, July 6, 2022 7:36 PM
> 收件人: 'Konstantin Ananyev' ; 'Yuying
> Zhang' ; 'Beilei Xing' ;
> Ruifeng Wang
> 抄送: 'dev@dpdk.org' ; nd ; Honnappa
> Nagarahalli ; nd ; nd
&g
Hi, Slava
Thanks very much for your attention.
Best Regards
Feifei
> -邮件原件-
> 发件人: Slava Ovsiienko
> 发送时间: 2021年4月12日 16:28
> 收件人: Feifei Wang ; Matan Azrad
> ; Shahaf Shuler ;
> ys...@mellanox.com
> 抄送: dev@dpdk.org; nd ; sta...@dpdk.org; Ruifeng Wang
>
> -邮件原件-
> 发件人: Zhang, Qi Z
> 发送时间: Wednesday, January 26, 2022 10:28 PM
> 收件人: Feifei Wang ; Xing, Beilei
>
> 抄送: dev@dpdk.org; Wang, Haiyue ; nd
> ; Ruifeng Wang
> 主题: RE: [PATCH v2] net/i40e: reduce redundant store operation
>
>
>
> >
s reset of mbuf is unnecessary and can be omitted.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
v2: remove the change for scalar path due to scalar path needs to check
whether the mbuf is 'NULL' to release and clean up (Haiyue)
v3: add comments to remind reset mbuf is unnece
> -邮件原件-
> 发件人: Ananyev, Konstantin
> 发送时间: Friday, October 8, 2021 12:19 AM
> 收件人: Feifei Wang ; Ruifeng Wang
>
> 抄送: dev@dpdk.org; nd
> 主题: RE: [dpdk-dev] [RFC PATCH v3 1/5] eal: add new definitions for wait
> scheme
[snip]
> > diff --git a/lib/eal/inc
> -邮件原件-
> 发件人: Ananyev, Konstantin
> 发送时间: Wednesday, October 13, 2021 11:04 PM
> 收件人: Feifei Wang ; Ruifeng Wang
>
> 抄送: dev@dpdk.org; nd ; nd
> 主题: RE: [dpdk-dev] [RFC PATCH v3 1/5] eal: add new definitions for wait
> scheme
>
> >
> > [snip]
&
> -邮件原件-
> 发件人: Stephen Hemminger
> 发送时间: Thursday, October 14, 2021 1:00 AM
> 收件人: Ananyev, Konstantin
> 抄送: Feifei Wang ; Ruifeng Wang
> ; dev@dpdk.org; nd
> 主题: Re: [dpdk-dev] [RFC PATCH v3 1/5] eal: add new definitions for wait
> scheme
>
> On W
y
> >ethdev: change input parameters for rx_queue_count
> >ethdev: copy fast-path API into separate structure
> >ethdev: make fast-path functions to use new flat array
> >ethdev: add API to retrieve multiple ethernet addresses
> >ethdev: hide eth dev related structures
> >
>
> For series,
> Reviewed-by: Ferruh Yigit
>
> No performance regression detected on my testing.
>
> I am merging the series to next-net now which helps testing, but before
> merging to main repo it will be good to get more ack and test results (I can
> squash new tags later).
>
> @Jerin, @Ajit, @Raslan, @Andrew, @Qi, @Honnappa, Can you please test
> this set for any possible regression?
>
> Series applied to dpdk-next-net/main, thanks.
>
For series, there is no performance regression in n1sdp/thunderx2
with i40e and mlx5 40G NIC for l3fwd and testpmd.
Tested-by: Feifei Wang
Hi,
Sorry to disturb you. Have more comments for this patch or if it can be applied?
Thanks very much.
Best Regards
Feifei
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Wednesday, August 11, 2021 2:17 PM
> 收件人: Bruce Richardson
> 抄送: dev@dpdk.org; nd ; Phil Yang ;
> Feifei W
Hi,
Would you please help review this patch series?
Thanks very much.
Best Regards
Feifei
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Wednesday, August 25, 2021 4:01 PM
> 抄送: dev@dpdk.org; nd ; Feifei Wang
>
> 主题: [PATCH v1 0/2] replace tight loop with wait until equal api
> -邮件原件-
> 发件人: dev 代表 David Marchand
> 发送时间: Tuesday, October 19, 2021 7:10 PM
> 收件人: Feifei Wang
> 抄送: Honnappa Nagarahalli ; dev
> ; nd ; Ruifeng Wang
>
> 主题: Re: [dpdk-dev] [PATCH v1 2/2] mcslock: use wait until equal API for
> tight loop
>
> On Wed
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Wednesday, October 20, 2021 10:46 AM
> 收件人: David Marchand
> 抄送: Honnappa Nagarahalli ; dev
> ; nd ; Ruifeng Wang
> ; nd
> 主题: 回复: [dpdk-dev] [PATCH v1 2/2] mcslock: use wait until equal API for
> tight loop
>
>
For dpdk/lib, directly use wait_until_equal API to replace tight loop.
v2:
1. delete wrong 'volatile' in mcslock (David)
Feifei Wang (2):
eal/common: use wait until equal API for tight loop
mcslock: use wait until equal API for tight loop
lib/eal/common/eal_common_mcfg.c |
Instead of polling for mcfg->magic to be updated, use wait_until_equal
API.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/common/eal_common_mcfg.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/eal/common/eal_common_mcfg.c b/lib/eal/com
Instead of polling for previous lock holder unlocking, use
wait_until_equal API.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_mcslock.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/eal/include/generic/rte_mcslock.h
b/lib/eal
> -邮件原件-
> 发件人: dev 代表 Ananyev, Konstantin
> 发送时间: Friday, October 8, 2021 1:40 AM
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
>
> 主题: Re: [dpdk-dev] [RFC PATCH v3 4/5] lib/bpf: use wait event scheme for
> Rx/Tx iteration
>
>
>
> &
(Stephen)
3. delete unnecessary compiler barrier for bpf (Konstantin)
Feifei Wang (5):
eal: add new definitions for wait scheme
eal: use wait event for read pflock
eal: use wait event scheme for mcslock
lib/bpf: use wait event scheme for Rx/Tx iteration
lib/distributor: use wait event scheme
Introduce macros as generic interface for address monitoring.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/arm/include/rte_pause_64.h | 126
lib/eal/include/generic/rte_pause.h | 32 +++
2 files changed, 104 insertions(+), 54 deletions
Instead of polling for read pflock update, use wait event scheme for
this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_pflock.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/eal/include/generic/rte_pflock.h
b/lib/eal
Instead of polling for mcslock to be updated, use wait event scheme
for this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_mcslock.h | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/lib/eal/include/generic/rte_mcslock.h
Instead of polling for cbi->use to be updated, use wait event scheme.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/bpf/bpf_pkt.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c
index 6e8248f0d6..00a5748
Instead of polling for bufptr64 to be updated, use
wait event for this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/distributor/rte_distributor_single.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/distributor/rte_distributor_single.c
> -邮件原件-
> 发件人: Jerin Jacob
> 发送时间: Wednesday, April 20, 2022 6:50 PM
> 收件人: Feifei Wang
> 抄送: tho...@monjalon.net; Ferruh Yigit ; Andrew
> Rybchenko ; Ray Kinsella
> ; dpdk-dev ; nd ;
> Honnappa Nagarahalli ; Ruifeng Wang
>
> 主题: Re: [PATCH v1 3/5] et
> -邮件原件-
> 发件人: Ananyev, Konstantin
> 发送时间: Friday, October 22, 2021 12:25 AM
> 收件人: Feifei Wang ; Ruifeng Wang
>
> 抄送: dev@dpdk.org; nd
> 主题: RE: [PATCH v4 1/5] eal: add new definitions for wait scheme
>
> > Introduce macros as generic in
> -邮件原件-
> 发件人: Jerin Jacob
> 发送时间: Friday, October 22, 2021 8:10 AM
> 收件人: Feifei Wang
> 抄送: Ruifeng Wang ; Ananyev, Konstantin
> ; dpdk-dev ; nd
>
> 主题: Re: [dpdk-dev] [PATCH v4 1/5] eal: add new definitions for wait scheme
>
> On Wed, Oct 20, 2021 a
> -邮件原件-
> 发件人: Ananyev, Konstantin
> 发送时间: Monday, October 25, 2021 10:29 PM
> 收件人: Feifei Wang ; Ruifeng Wang
>
> 抄送: dev@dpdk.org; nd ; nd
> 主题: RE: [PATCH v4 1/5] eal: add new definitions for wait scheme
>
>
> > > > Introduce macros as g
> -邮件原件-
> 发件人: dev 代表 Jerin Jacob
> 发送时间: Monday, October 25, 2021 5:44 PM
> 收件人: Feifei Wang
> 抄送: Ruifeng Wang ; Ananyev, Konstantin
> ; dpdk-dev ; nd
>
> 主题: Re: [dpdk-dev] [PATCH v4 1/5] eal: add new definitions for wait scheme
>
> On Mon, Oct 2
OAD_EXC'
5. delete 'undef' to prevent compilation warning
Feifei Wang (5):
eal: add new definitions for wait scheme
eal: use wait event for read pflock
eal: use wait event scheme for mcslock
lib/bpf: use wait event scheme for Rx/Tx iteration
lib/distributor: u
e file.
If new macro 'rte_wait_event' calls them in other files, they will be
seen as 'not defined'.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/arm/include/rte_pause_64.h | 135
lib/eal/include/generic/rte_pause.h | 27 +
Instead of polling for read pflock update, use wait event scheme for
this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_pflock.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/eal/include/generic/rte_pflock.h
b/lib/eal
Instead of polling for mcslock to be updated, use wait event scheme
for this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_mcslock.h | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/lib/eal/include/generic/rte_mcslock.h
lib/bpf/bpf_pkt.c:125:3: note: in expansion of macro ‘rte_wait_event’
125 | rte_wait_event(&cbi->use, UINT32_MAX, ==, puse,
---
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/bpf/bpf_pkt.c | 11 ---
Instead of polling for bufptr64 to be updated, use
wait event for this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/distributor/rte_distributor_single.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/distributor/rte_distributor_single.c
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Tuesday, October 26, 2021 4:02 PM
> 收件人: Ruifeng Wang
> 抄送: dev@dpdk.org; nd ; Feifei Wang
>
> 主题: [PATCH v5 1/5] eal: add new definitions for wait scheme
>
> Introduce macros as generic interface for address monit
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Tuesday, October 26, 2021 4:02 PM
> 收件人: Konstantin Ananyev
> 抄送: dev@dpdk.org; nd ; Feifei Wang
> ; Ruifeng Wang
> 主题: [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration
>
> Instead of polling for cbi-&
> -邮件原件-
> 发件人: Ananyev, Konstantin
> 发送时间: Tuesday, October 26, 2021 5:59 PM
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd ; nd
> 主题: RE: [PATCH v5 1/5] eal: add new definitions for wait scheme
>
>
> > > > Introduce macros as generic interface
> -邮件原件-
> 发件人: dev 代表 Ananyev, Konstantin
> 发送时间: Tuesday, October 26, 2021 8:57 PM
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
> ; nd
> 主题: Re: [dpdk-dev] [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx
> iteration
>
>
> &g
> -邮件原件-
> 发件人: Feifei Wang
> 发送时间: Wednesday, October 27, 2021 3:04 PM
> 收件人: Ananyev, Konstantin
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
> ; nd ; nd
> 主题: 回复: [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration
>
>
>
> > ---
OAD_EXC'
6. delete 'undef' to prevent compilation warning
v6:
1. fix patch style check warning
2. delete 'bpf' patch due to 'const' limit
Feifei Wang (4):
eal: add new definitions for wait scheme
eal: use wait event for read pflock
eal: use wait event schem
e file.
If new macro 'rte_wait_event' calls them in other files, they will be
seen as 'not defined'.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/arm/include/rte_pause_64.h | 136
lib/eal/include/generic/rte_pause.h | 28 +
Instead of polling for read pflock update, use wait event scheme for
this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_pflock.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/eal/include/generic/rte_pflock.h
b/lib/eal
Instead of polling for mcslock to be updated, use wait event scheme
for this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_mcslock.h | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/lib/eal/include/generic/rte_mcslock.h
Instead of polling for bufptr64 to be updated, use
wait event for this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/distributor/rte_distributor_single.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/distributor/rte_distributor_single.c
> -邮件原件-
> 发件人: Ananyev, Konstantin
> 发送时间: Wednesday, October 27, 2021 10:48 PM
> 收件人: Feifei Wang
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
> ; nd ; nd
> 主题: RE: [PATCH v5 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration
>
>
>
> >
>
> -邮件原件-
> 发件人: Mattias Rönnblom
> 发送时间: Wednesday, October 27, 2021 7:16 PM
> 收件人: Feifei Wang ; Honnappa Nagarahalli
>
> 抄送: dev@dpdk.org; nd ; Ruifeng Wang
>
> 主题: Re: [dpdk-dev] [PATCH v6 3/4] eal: use wait event scheme for mcslock
>
> On 2021-
> -邮件原件-
> 发件人: Jerin Jacob
> 发送时间: Wednesday, October 27, 2021 6:58 PM
> 收件人: Feifei Wang ; Ananyev, Konstantin
> ; Stephen Hemminger
> ; David Marchand
> ; tho...@monjalon.net
> 抄送: dpdk-dev ; nd
> 主题: Re: [dpdk-dev] [PATCH v6 0/4] add new definitions for w
2/64) (Mattias)
3. add a new pointer 'next' in mcslock to fix
compiler issue
4. add bpf patch and use 'uintptr_t' to fix const
discard warning (Konstantin)
Feifei Wang (5):
eal: add new definitions for wait scheme
eal: use wait event for read pflock
eal: use wait event sche
espace.
This is because original macros are undefine at the end of the file.
If new macro 'rte_wait_event' calls them in other files, they will be
seen as 'not defined'.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/arm/include/rte_pause_64.h | 166 -
Instead of polling for read pflock update, use wait event scheme for
this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_pflock.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/eal/include/generic/rte_pflock.h
b/lib/eal
he compilation error:
---
'dereferencing type-punned pointer will break strict-aliasing rules'
-------
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/eal/include/generic/rte_mcslock.h | 5 +++--
1 file changed
Instead of polling for cbi->use to be updated, use wait event scheme.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/bpf/bpf_pkt.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c
index 6e8248f0d6..c8a1cd1
Instead of polling for bufptr64 to be updated, use
wait event for this case.
Signed-off-by: Feifei Wang
Reviewed-by: Ruifeng Wang
---
lib/distributor/rte_distributor_single.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/lib/distributor/rte_distributor_single.c
> -邮件原件-
> 发件人: dev 代表 Jerin Jacob
> 发送时间: Thursday, October 28, 2021 3:02 PM
> 收件人: Feifei Wang
> 抄送: Honnappa Nagarahalli ; dpdk-dev
> ; nd ; Ananyev, Konstantin
> ; Stephen Hemminger
> ; David Marchand
> ; tho...@monjalon.net; Mattias Rönnblom
> ; Rui
> -邮件原件-
> 发件人: Jerin Jacob
> 发送时间: Thursday, October 28, 2021 3:16 PM
> 收件人: Feifei Wang
> 抄送: Ruifeng Wang ; dpdk-dev ;
> nd ; Ananyev, Konstantin ;
> Stephen Hemminger ; David Marchand
> ; tho...@monjalon.net; Mattias Rönnblom
>
> 主题: Re: [PATCH v7 1/5
1 - 100 of 509 matches
Mail list logo