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

2020-10-12 Thread David Marchand
On Thu, Oct 8, 2020 at 11:02 AM Bruce Richardson wrote: > > On Thu, Oct 08, 2020 at 09:09:52AM +0200, David Marchand wrote: > > On Thu, Oct 1, 2020 at 2:30 AM Omkar Maslekar > > wrote: > > > > > > rte_cldemote is similar to a prefetch hint - in reverse. cldemote(addr) > > > enables software to h

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

2020-10-08 Thread Jerin Jacob
On Thu, Oct 1, 2020 at 6:00 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 i

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

2020-10-08 Thread Bruce Richardson
On Thu, Oct 08, 2020 at 09:09:52AM +0200, David Marchand wrote: > On Thu, Oct 1, 2020 at 2:30 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

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

2020-10-08 Thread David Marchand
On Thu, Oct 1, 2020 at 2:30 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 i

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

2020-09-30 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 v5] eal: add cache-line demote support

2020-09-30 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 doc/guides/rel_notes/release_20_11.rst| 7 +++ lib/librte_eal/arm/include/rte_pre