Re: [dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-14 Thread Ruifeng Wang
nd > Subject: Re: [dpdk-dev] [PATCH v6] eal: add cache-line demote support > > On Tue, Oct 13, 2020 at 6:21 PM Bruce Richardson > wrote: > > > 1. Experimental tag is only needed in this file. Tags at other places can > > > be > removed. > > > > I

Re: [dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-14 Thread David Marchand
On Tue, Oct 13, 2020 at 6:21 PM Bruce Richardson wrote: > > 1. Experimental tag is only needed in this file. Tags at other places can > > be removed. > > I'm not sure that is the case. The generic file is used when preparing the > docs, so the experimental tag needs to go there for the docs, but

Re: [dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-13 Thread Ruifeng Wang
> -Original Message- > From: Bruce Richardson > Sent: Wednesday, October 14, 2020 12:20 AM > To: Ruifeng Wang > Cc: Omkar Maslekar ; dev@dpdk.org; > ciara.lof...@intel.com; d...@linux.vnet.ibm.com; jer...@marvell.com; > Honnappa Nagarahalli ; nd > Subject: Re: [PATCH v6] eal: add cache

Re: [dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-13 Thread Bruce Richardson
On Tue, Oct 13, 2020 at 02:59:24AM +, Ruifeng Wang wrote: > > > -Original Message- > > From: Omkar Maslekar > > Sent: Monday, October 12, 2020 6:20 PM > > To: dev@dpdk.org > > Cc: bruce.richard...@intel.com; ciara.lof...@intel.com; > > omkar.masle...@intel.com; d...@linux.vnet.ibm.com

Re: [dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-12 Thread Ruifeng Wang
> -Original Message- > From: Omkar Maslekar > Sent: Monday, October 12, 2020 6:20 PM > To: dev@dpdk.org > Cc: bruce.richard...@intel.com; ciara.lof...@intel.com; > omkar.masle...@intel.com; d...@linux.vnet.ibm.com; jer...@marvell.com; > Ruifeng Wang ; Honnappa Nagarahalli > > Subject: [

Re: [dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-12 Thread David Christensen
On 10/12/20 3:19 AM, Omkar Maslekar wrote: rte_cldemote is similar to a prefetch hint - in reverse. cldemote(addr) enables software to hint to hardware that line is likely to be shared. Useful in core-to-core communications where cache-line is likely to be shared. ARM and PPC implementation is

[dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-12 Thread Omkar Maslekar
rte_cldemote is similar to a prefetch hint - in reverse. cldemote(addr) enables software to hint to hardware that line is likely to be shared. Useful in core-to-core communications where cache-line is likely to be shared. ARM and PPC implementation is provided with NOP and can be added if any equiv

[dpdk-dev] [PATCH v6] eal: add cache-line demote support

2020-10-12 Thread Omkar Maslekar
We are including this in rte_prefetch.h since it is the most closely related code location.rte_cldemte is similar to a prefetch hint -in reverse Omkar Maslekar (1): eal: add cache-line demote support app/test/test_prefetch.c | 4 doc/guides/rel_notes/release_20_11.rs