Re: [dpdk-dev] [PATCH v2] vhost: mark vDPA driver API as internal

2021-10-31 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, October 28, 2021 10:16 PM > To: dev@dpdk.org; techbo...@dpdk.org; Xia, Chenbo ; > xuemi...@nvidia.com; Wang, Xiao W ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v2] vhost: mark vDPA driver API as inter

Re: [dpdk-dev] [PATCH v3 1/4] vfio: drop fallback Linux implementation

2021-10-31 Thread Xia, Chenbo
Hi Anatoly, > -Original Message- > From: dev On Behalf Of Anatoly Burakov > Sent: Thursday, October 28, 2021 10:15 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v3 1/4] vfio: drop fallback Linux implementation > > Currently, VFIO support for Linux is compiled unconditionally, and >

[dpdk-dev] [Bug 872] rte_malloc() faild in secondary process with dynamic memory mode

2021-10-31 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=872 Bug ID: 872 Summary: rte_malloc() faild in secondary process with dynamic memory mode Product: DPDK Version: 20.11 Hardware: x86 OS: Linux Status: UNCONF

[dpdk-dev] [PATCH v9 5/5] distributor: use wait until scheme

2021-10-31 Thread Feifei Wang
Instead of polling for bufptr64 to be updated, use wait until scheme for this case. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang Acked-by: Jerin Jacob --- lib/distributor/rte_distributor_single.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/distrib

[dpdk-dev] [PATCH v9 4/5] bpf: use wait until scheme for Rx/Tx iteration

2021-10-31 Thread Feifei Wang
Instead of polling for cbi->use to be updated, use wait until scheme. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang Acked-by: Konstantin Ananyev --- 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

[dpdk-dev] [PATCH v9 3/5] mcslock: use wait until scheme for mcslock

2021-10-31 Thread Feifei Wang
Instead of polling for mcslock to be updated, use wait until scheme for this case. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang Acked-by: Jerin Jacob --- lib/eal/include/generic/rte_mcslock.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/eal/include/gener

[dpdk-dev] [PATCH v9 2/5] pflock: use wait until scheme for read pflock

2021-10-31 Thread Feifei Wang
Instead of polling for read pflock update, use wait until scheme for this case. Jira: ENTNET-2903 Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang Acked-by: Jerin Jacob --- lib/eal/include/generic/rte_pflock.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/eal/i

[dpdk-dev] [PATCH v9 1/5] eal: add a new generic helper for wait scheme

2021-10-31 Thread Feifei Wang
Add a new generic helper which is a macro for wait scheme. Furthermore, to prevent compilation warning in arm: -- 'warning: implicit declaration of function ...' -- Delete 'undef' constructions for '__LOAD_EXC_

[dpdk-dev] [PATCH v9 0/5] add new helper for wait scheme

2021-10-31 Thread Feifei Wang
Add new helper for wait scheme, and apply this new definitions into lib to replace rte_pause. v2: 1. use macro to create new wait scheme (Stephen) v3: 1. delete unnecessary bug fix in bpf (Konstantin) v4: 1. put size into the macro body (Konstantin) 2. replace assert with BUILD_BUG_ON (Stephen)

Re: [dpdk-dev] [PATCH v13 1/4] enable ASan AddressSanitizer

2021-10-31 Thread Lin, Xueqin
> -Original Message- > From: David Marchand > Sent: Friday, October 29, 2021 10:51 PM > To: Peng, ZhihongX > Cc: Thomas Monjalon ; Burakov, Anatoly > ; Ananyev, Konstantin > ; Stephen Hemminger > ; Dumitrescu, Cristian > ; Mcnamara, John > ; Richardson, Bruce > ; dev ; Lin, Xueqin > > Su

[dpdk-dev] 回复: [PATCH v8 1/5] eal: add new definitions for wait scheme

2021-10-31 Thread Feifei Wang
> -邮件原件- > 发件人: David Marchand > 发送时间: Sunday, October 31, 2021 4:39 PM > 收件人: Feifei Wang > 抄送: Ruifeng Wang ; dev ; nd > ; Jerin Jacob ; Stephen Hemminger > ; tho...@monjalon.net; Mattias Rönnblom > ; Ananyev, Konstantin > > 主题: Re: [PATCH v8 1/5] eal: add new definitions for wait sch

Re: [dpdk-dev] [PATCH v2 00/26] net/ngbe: add many features

2021-10-31 Thread Jiawen Wu
On October 30, 2021 6:15 AM, Ferruh Yigit wrote: > On 10/21/2021 10:49 AM, Jiawen Wu wrote: > > This patch adds a number of major features to complete ngbe PMD. > > > > v2: > > - Add support to get Rx/Tx burst mode info. > > - Drop Rx interrupt support. > > - Minor code tweaks. > > > > Jiawen Wu (2

Re: [dpdk-dev] [PATCH v4] net/ice: fix performance issue for Rx timestamp

2021-10-31 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Friday, October 29, 2021 8:56 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Van Haaren, Harry ; Wu, > Wenjun1 ; Su, Simei > Subject: [PATCH v4] net/ice: fix performance issue for Rx timestamp > > In Rx data path, it reads hardware registers p

Re: [dpdk-dev] [PATCH] net/i40e: fix build for 32-bit

2021-10-31 Thread Zhang, Qi Z
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, October 29, 2021 6:37 PM > To: Xing, Beilei > Cc: Yigit, Ferruh ; dev@dpdk.org; Zhang, Qi Z > > Subject: [PATCH] net/i40e: fix build for 32-bit > > Got error with: gcc 11.2.1 "cc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)" > >

Re: [dpdk-dev] [RFC] ethdev: improve link speed to string

2021-10-31 Thread Min Hu (Connor)
在 2021/10/30 17:59, Morten Brørup 写道: From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Min Hu (Connor) Sent: Friday, 17 September 2021 02.44 Agree with you. Thanks Andrew 在 2021/9/16 16:21, Andrew Rybchenko 写道: On 9/16/21 11:16 AM, Min Hu (Connor) wrote: Hi, Andrew, 在 2021/9/16 14:22,

Re: [dpdk-dev] [PATCH] pdump: initialize snaplen if enabled by device id

2021-10-31 Thread Thomas Monjalon
27/10/2021 20:08, Stephen Hemminger: > If packet dump was enabled via pdump_enable_by_deviceid > the packet snapshot length was not being set. > > Bugzilla ID: 840 > Fixes: 10f726efe26c ("pdump: support pcapng and filtering") > > Signed-off-by: Stephen Hemminger Applied, thanks.

Re: [dpdk-dev] [PATCH] pcapng: do not use deprecated ETH_LINK_UP

2021-10-31 Thread Thomas Monjalon
29/10/2021 23:50, Stephen Hemminger: > RTE_ prefix was added by: > commit 295968d17407 ("ethdev: add namespace") > > Fixes: 8d23ce8f5ee9 ("pcapng: add new library for writing pcapng files") > Signed-off-by: Stephen Hemminger Applied, thanks. Note: I missed it when merging patches.

Re: [dpdk-dev] [RFC PATCH 0/1] Dataplane Workload Accelerator library

2021-10-31 Thread Jerin Jacob
On Mon, Nov 1, 2021 at 3:25 AM Thomas Monjalon wrote: > > 31/10/2021 22:13, Jerin Jacob: > > On Mon, Nov 1, 2021 at 1:04 AM Thomas Monjalon wrote: > > > > > > 31/10/2021 15:01, Jerin Jacob: > > > > Since rte_flow already has the TLV concept it may not be new to DPDK. > > > > > > Where is there TL

Re: [dpdk-dev] [PATCH v1] test/crypto: fix: test vectors for zuc 256 bit key

2021-10-31 Thread De Lara Guarch, Pablo
Hi Sagar, Thanks for flagging this. I submitted a patch fixing the IV of the test vectors I pushed (it didn't change the output): http://patches.dpdk.org/project/dpdk/patch/20211031220421.52181-1-pablo.de.lara.gua...@intel.com/ Could you check if they work for you? Thanks, Pablo From: Vidya Sa

[dpdk-dev] [PATCH] test/crypto: fix test vectors for ZUC-256

2021-10-31 Thread Pablo de Lara
Fix the IV for ZUC-256 test vectors Fixes: 216125c62d28 ("test/crypto: add ZUC-256 vectors") Signed-off-by: Pablo de Lara --- app/test/test_cryptodev_zuc_test_vectors.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/test/test_cryptodev_zuc_test_vectors.h b/a

Re: [dpdk-dev] [RFC PATCH 0/1] Dataplane Workload Accelerator library

2021-10-31 Thread Thomas Monjalon
31/10/2021 22:13, Jerin Jacob: > On Mon, Nov 1, 2021 at 1:04 AM Thomas Monjalon wrote: > > > > 31/10/2021 15:01, Jerin Jacob: > > > Since rte_flow already has the TLV concept it may not be new to DPDK. > > > > Where is there TLV in rte_flow? > > struct rte_flow_item { > enum rte_flow_item

Re: [dpdk-dev] [EXT] Re: [PATCH] test-compress-perf: fix unused-but-set-variable error

2021-10-31 Thread Akhil Goyal
> On Fri, Oct 29, 2021 at 7:18 PM Jim Harris wrote: > > > > clang-13 rightfully complains that the total_deq_ops > > variable in cperf_cyclecount_op_setup is set but not > > used, since the final accumulated total_deq_ops > > results isn't used anywhere. So just remove the > > total_deq_ops variab

Re: [dpdk-dev] [EXT] [PATCH] test/crypto-perf: fix crash issue with asym perf test

2021-10-31 Thread Akhil Goyal
> From: Kiran Kumar K > > While populating the crypto ops in case of asymmetric, result > is being allocated from stack. This is causing crash in the > application. And operation type is also not being initialized > properly. Adding a fix by allocating the result from global > memory and initiali

Re: [dpdk-dev] [PATCH 0/6] add cnxk lookaside IPsec additional features

2021-10-31 Thread Akhil Goyal
> > Subject: [PATCH 0/6] add cnxk lookaside IPsec additional features > > > > This series covers additional features, key length update and feature list > > update. > > * For cn10k, AES-CBC NULL auth support is added. > > * For cn9k, ESN and Anti-replay support is added. Along with > > feature

Re: [dpdk-dev] [RFC PATCH 0/1] Dataplane Workload Accelerator library

2021-10-31 Thread Jerin Jacob
On Mon, Nov 1, 2021 at 1:04 AM Thomas Monjalon wrote: > > 31/10/2021 15:01, Jerin Jacob: > > Since rte_flow already has the TLV concept it may not be new to DPDK. > > Where is there TLV in rte_flow? struct rte_flow_item { enum rte_flow_item_type type; /**< Item type. */ const void

Re: [dpdk-dev] [EXT] [PATCH v5 1/2] ipsec: add TSO support

2021-10-31 Thread Akhil Goyal
> Add support for transmit segmentation offload to inline crypto processing > mode. This offload is not supported by other offload modes, as at a > minimum it requires inline crypto for IPsec to be supported on the > network interface. > > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicol

Re: [dpdk-dev] [EXT] [PATCH v5 1/2] ipsec: add TSO support

2021-10-31 Thread Akhil Goyal
> Add support for transmit segmentation offload to inline crypto processing > mode. This offload is not supported by other offload modes, as at a > minimum it requires inline crypto for IPsec to be supported on the > network interface. > > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicol

Re: [dpdk-dev] [EXT] [PATCH v5 2/2] examples/ipsec-secgw: add support for TCP TSO

2021-10-31 Thread Akhil Goyal
> Add support to allow user to specific MSS for TCP TSO offload on a per SA > basis. MSS configuration in the context of IPsec is only supported for > outbound SA's in the context of an inline IPsec Crypto offload. > > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicolau > Acked-by: Konst

Re: [dpdk-dev] [PATCH] crypto/octeontx2: fix lookaside IPsec IPv6 support

2021-10-31 Thread Akhil Goyal
> -Original Message- > From: Anoob Joseph > Sent: Friday, October 29, 2021 4:57 PM > To: Tejasree Kondoj ; Akhil Goyal > > Cc: Tejasree Kondoj ; dev@dpdk.org; > sta...@dpdk.org > Subject: RE: [PATCH] crypto/octeontx2: fix lookaside IPsec IPv6 support > > > Subject: [PATCH] crypto/octe

Re: [dpdk-dev] [EXT] [PATCH] examples/fips_validation: fix device start

2021-10-31 Thread Akhil Goyal
> Fixes: 261bbff75e34 ("examples: use separate crypto session mempools") > Cc: roy.fan.zh...@intel.com > > > This patch fixes the missing device start for fips validation > sample app. > > Signed-off-by: Fan Zhang Acked-by: Akhil Goyal Applied to dpdk-next-crypto Thanks.

Re: [dpdk-dev] [PATCH] crypto/octeontx2: fix ESN seqhi

2021-10-31 Thread Akhil Goyal
> > Subject: [PATCH] crypto/octeontx2: fix ESN seqhi > > > > For current pkt, previous seqhi is used instead of its guessed seqhi. Fixed > > it. > > > > Fixes: 5be562bc5b78 ("crypto/octeontx2: support IPsec ESN and anti- > replay") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Archana Muniganti

Re: [dpdk-dev] [EXT] [PATCH v5 7/7] examples/ipsec-secgw: add support for additional algorithms

2021-10-31 Thread Akhil Goyal
> Add support for AES-GMAC, AES_CTR, AES_XCBC_MAC, > AES_CCM, CHACHA20_POLY1305 > > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicolau > --- Acked-by: Akhil Goyal

Re: [dpdk-dev] [EXT] [PATCH v5 6/7] examples/ipsec-secgw: add ethdev reset callback

2021-10-31 Thread Akhil Goyal
> Applications should not quietly ignore an ethdev reset event. > Register an event handler for ethdev reset callback > RTE_ETH_EVENT_INTR_RESET that prints a message and > quits the application. > > Signed-off-by: Declan Doherty > Signed-off-by: Radu Nicolau > --- > examples/ipsec-secgw/ipsec-

Re: [dpdk-dev] [EXT] [PATCH v5 5/7] examples/ipsec-secgw: define initial ESN value

2021-10-31 Thread Akhil Goyal
> New option added to the SA configuration arguments that > allows setting an arbitrary start value for ESN. > > For example in the SA below ESN will be enabled and first egress > IPsec packet will have the ESN value 1: > > sa out 15 cipher_algo null auth_algo null mode ipv4-tunnel \ > src 17

Re: [dpdk-dev] [EXT] [PATCH v5 4/7] examples/ipsec-secgw: support telemetry

2021-10-31 Thread Akhil Goyal
> +static int > +handle_telemetry_cmd_ipsec_secgw_stats(const char *cmd __rte_unused, > + const char *params, struct rte_tel_data *data) > +{ > + uint64_t total_pkts_dropped = 0, total_pkts_tx = 0, total_pkts_rx = 0; > + unsigned int coreid; > + > + rte_tel_data_start_dict(d

Re: [dpdk-dev] [EXT] [PATCH v5 3/7] examples/ipsec-secgw: add support for inline crypto UDP encapsulation

2021-10-31 Thread Akhil Goyal
> Enable UDP encapsulation for both transport and tunnel modes for the > inline crypto offload path. > > Signed-off-by: Radu Nicolau > --- > doc/guides/sample_app_ug/ipsec_secgw.rst | 3 ++- > examples/ipsec-secgw/ipsec.c | 33 +--- > examples/ipsec-secgw/ipsec.h

Re: [dpdk-dev] [EXT] [PATCH 0/2] fix level configuration in compress

2021-10-31 Thread Akhil Goyal
> The mlx5 compress PMD uses HW acceleration for the compress operations. > The mlx5 HW device has no level style mode, which does a tradeoff between > throughput and compression ratio, unlike SW drivers where the CPU is doing > the compress, and more CPU effort can cause a better compression ratio

Re: [dpdk-dev] [PATCH] crypto/cnxk: fix bus error on RSA verify

2021-10-31 Thread Akhil Goyal
> > From: Kiran Kumar K > > > > While creating RSA session, private key length is not being calculated > > properly. This is causing bus error on RSA verify. > > This patch fix the issue with length calculation. > > > > Fixes: 5a3513caeb455 ("crypto/cnxk: add asymmetric session") > > > > Signed-

Re: [dpdk-dev] [RFC PATCH 0/1] Dataplane Workload Accelerator library

2021-10-31 Thread Thomas Monjalon
31/10/2021 15:01, Jerin Jacob: > Since rte_flow already has the TLV concept it may not be new to DPDK. Where is there TLV in rte_flow? > I really liked rte_flow enablement of ABI combability and its ease of adding > new stuff. Try to follow similar stuff which is proven in DPDK. > Ie. New profile

Re: [dpdk-dev] [PATCH] crypto/qat: fix uncleared cookies after operation

2021-10-31 Thread Akhil Goyal
> > This commit fixes uncleared cookies issue when using > > RSA algorithm. > > > > Fixes: e2c5f4ea994c ("crypto/qat: support RSA in asym") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Arek Kusztal > > --- > Acked-by: Fan Zhang Applied to dpdk-next-crypto Thanks.

Re: [dpdk-dev] [PATCH] crypto/qat: fix not set status in RSA decryption

2021-10-31 Thread Akhil Goyal
> > Subject: [PATCH] crypto/qat: fix not set status in RSA decryption > > > > This commit fixes not set status when decrypting > > with RSA algorithm. > > > > Fixes: e2c5f4ea994c ("crypto/qat: support RSA in asym") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Arek Kusztal > Acked-by: Fan Zhang

Re: [dpdk-dev] [PATCH] maintainers: update for AMD CCP Crypto

2021-10-31 Thread Akhil Goyal
> Acked-by: Somalapuram Amaranath > Applied to dpdk-next-crypto Thanks.

Re: [dpdk-dev] [EXT] [dpdk-dev v2] test/crypto: maxlen calculation update

2021-10-31 Thread Akhil Goyal
Title updated as test/crypto: fix maxlen calculation for raw datapath > Update the calculation of the max length needed when converting mbuf to > data vec in partial digest test case. This update make sure the enough > vec buffers are allocated for the appended digest in sgl op for QAT raw The API

Re: [dpdk-dev] [EXT] [PATCH v1] bbdev: remove experimental tag from API

2021-10-31 Thread Akhil Goyal
> > > This promotes the bbdev interface to stable. > > Overdue for some time as bbdev interface has been stable. > > > > Signed-off-by: Nicolas Chautru > > --- > Acked-by: Akhil Goyal > > If anybody has any objections please raise or else this patch > Will be merged in RC1. No response receive

Re: [dpdk-dev] [EXT] [PATCH v3 5/5] crypto/mlx5: support on Windows

2021-10-31 Thread Akhil Goyal
> > > > > > > Add support for mlx5 crypto pmd on Windows OS. > > > > Add changes to release note and pmd guide. > > > > > > > > Signed-off-by: Tal Shnaiderman > > > > Acked-by: Matan Azrad > > > > --- > > > > doc/guides/cryptodevs/mlx5.rst | 15 --- > > > > doc/guides/r

Re: [dpdk-dev] [PATCH 2/2] net/bnxt: fix stat context allocation

2021-10-31 Thread Ajit Khaparde
On Fri, Oct 29, 2021 at 8:30 PM Kalesh A P wrote: > > From: Kalesh AP > > stat_ctx_alloc is called within the context of each rx/tx ring. > i.e from bnxt_alloc_hwrm_rx_ring and bnxt_alloc_hwrm_tx_ring(). > So, there is no need to invoke bnxt_alloc_all_hwrm_stat_ctxs() > from bnxt_start_nic(). > >

Re: [dpdk-dev] [PATCH 1/2] net/bnxt: fix freeing aggregation rings

2021-10-31 Thread Ajit Khaparde
On Fri, Oct 29, 2021 at 8:30 PM Kalesh A P wrote: > > From: Kalesh AP > > During port stop, we clear "eth_dev->data->scattered_rx" at the > beginning. As a result, in bnxt_free_hwrm_rx_ring() the check > bnxt_need_agg_ring() returns false and we end up not freeing > the Rx aggregation rings which

Re: [dpdk-dev] [RFC PATCH 0/1] Dataplane Workload Accelerator library

2021-10-31 Thread Jerin Jacob
On Sun, Oct 31, 2021 at 2:48 PM Mattias Rönnblom wrote: > > On 2021-10-29 17:51, Jerin Jacob wrote: > > On Fri, Oct 29, 2021 at 5:27 PM Mattias Rönnblom > > wrote: > >> On 2021-10-25 11:03, Jerin Jacob wrote: > >>> On Mon, Oct 25, 2021 at 1:05 PM Mattias Rönnblom > >>> wrote: > On 2021-10-1

Re: [dpdk-dev] [PATCH v2] examples/ipsec-secgw: add support for event vector

2021-10-31 Thread Akhil Goyal
Hi Konstantin/Radu, > Adds event vector support to inline protocol offload mode. > By default vector support is disabled, it can be enabled by > using the option --event-vector. > Additional options to configure vector size and vector timeout are > also implemented and can be used by specifying --

Re: [dpdk-dev] [PATCH 1/3] eventdev: allow for event devices requiring maintenance

2021-10-31 Thread Jerin Jacob
On Sat, Oct 30, 2021 at 10:49 PM Mattias Rönnblom wrote: > > On 2021-10-29 17:17, Jerin Jacob wrote: > > On Fri, Oct 29, 2021 at 8:33 PM Mattias Rönnblom > > wrote: > >> On 2021-10-29 16:38, Jerin Jacob wrote: > >>> On Tue, Oct 26, 2021 at 11:02 PM Mattias Rönnblom > >>> wrote: > Extend Eve

Re: [dpdk-dev] [PATCH 1/3] eventdev: allow for event devices requiring maintenance

2021-10-31 Thread Mattias Rönnblom
On 2021-10-29 18:02, Van Haaren, Harry wrote: >> -Original Message- >> From: Jerin Jacob >> Sent: Friday, October 29, 2021 4:18 PM >> To: mattias.ronnblom ; Van Haaren, Harry >> ; McDaniel, Timothy >> ; Pavan Nikhilesh ; >> Hemant Agrawal ; Liang Ma >> >> Cc: Richardson, Bruce ; Jerin Jac

Re: [dpdk-dev] [RFC PATCH 0/1] Dataplane Workload Accelerator library

2021-10-31 Thread Mattias Rönnblom
On 2021-10-29 17:51, Jerin Jacob wrote: > On Fri, Oct 29, 2021 at 5:27 PM Mattias Rönnblom > wrote: >> On 2021-10-25 11:03, Jerin Jacob wrote: >>> On Mon, Oct 25, 2021 at 1:05 PM Mattias Rönnblom >>> wrote: On 2021-10-19 20:14, jer...@marvell.com wrote: > From: Jerin Jacob > > >

Re: [dpdk-dev] [PATCH v8 1/5] eal: add new definitions for wait scheme

2021-10-31 Thread David Marchand
On Fri, Oct 29, 2021 at 10:20 AM Feifei Wang wrote: > > Introduce macros as generic interface for address monitoring. The main point of this patch is to add a new generic helper. > > Add '__LOAD_EXC_128' for size of 128. For different size, encapsulate > '__LOAD_EXC_16', '__LOAD_EXC_32', '__LOA

Re: [dpdk-dev] [PATCH v8 5/5] lib/distributor: use wait event scheme

2021-10-31 Thread David Marchand
On Fri, Oct 29, 2021 at 3:58 PM Jerin Jacob wrote: > > On Fri, Oct 29, 2021 at 1:50 PM Feifei Wang wrote: > > > > Instead of polling for bufptr64 to be updated, use > > wait event for this case. > > > > Signed-off-by: Feifei Wang > > Reviewed-by: Ruifeng Wang > > > With the change in the subjec

Re: [dpdk-dev] [PATCH v8 3/5] eal: use wait event scheme for mcslock

2021-10-31 Thread David Marchand
On Fri, Oct 29, 2021 at 10:21 AM Feifei Wang wrote: > > Instead of polling for mcslock to be updated, use wait event scheme > for this case. Title prefix mcslock: > > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang -- David Marchand

Re: [dpdk-dev] [PATCH v8 4/5] lib/bpf: use wait event scheme for Rx/Tx iteration

2021-10-31 Thread David Marchand
On Fri, Oct 29, 2021 at 10:20 AM Feifei Wang wrote: > > Instead of polling for cbi->use to be updated, use wait event scheme. We don't put lib/ in titles. > > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang > Acked-by: Konstantin Ananyev -- David Marchand

Re: [dpdk-dev] [PATCH v8 2/5] eal: use wait event for read pflock

2021-10-31 Thread David Marchand
On Fri, Oct 29, 2021 at 10:20 AM Feifei Wang wrote: > > Instead of polling for read pflock update, use wait event scheme for > this case. Please look at git history for this file. Prefix should be pflock: > > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang -- David Marchand

Re: [dpdk-dev] [RFC] mempool: implement index-based per core cache

2021-10-31 Thread Morten Brørup
> From: Morten Brørup > Sent: Saturday, 30 October 2021 12.24 > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Honnappa > > Nagarahalli > > Sent: Monday, 4 October 2021 18.36 > > > > > > > > > > > > > > > > Current mempool per core cache implementation is based on > > pointer > > > > >