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

2020-10-15 Thread David Marchand
On Thu, Oct 15, 2020 at 4:41 PM Maslekar, Omkar wrote: > >> diff --git a/lib/librte_eal/arm/include/rte_prefetch_32.h > >> b/lib/librte_eal/arm/include/rte_prefetch_32.h > >> index e53420a..28b3d48 100644 > >> --- a/lib/librte_eal/arm/include/rte_prefetch_32.h > >> +++ b/lib/librte_eal/arm/in

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

2020-10-15 Thread Maslekar, Omkar
; >Honnappa Nagarahalli >Subject: Re: [dpdk-dev] [PATCH v7] eal: add cache-line demote support > >Repeating my questions: >- would there be a point in hinting at where the "demoted" line goes? Yes, it is worth mentioning a point that demoted line goes to last shared lev

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

2020-10-15 Thread David Marchand
Repeating my questions: - would there be a point in hinting at where the "demoted" line goes? - is this instruction available on all x86 CPUs? See comments: On Tue, Oct 13, 2020 at 6:47 PM Omkar Maslekar wrote: > diff --git a/app/test/test_prefetch.c b/app/test/test_prefetch.c > index 41f219a..

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

2020-10-14 Thread Ruifeng Wang
> -Original Message- > From: Omkar Maslekar > Sent: Tuesday, October 13, 2020 5:43 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:

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

2020-10-13 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

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

2020-10-13 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