Re: [dpdk-dev] [PATCH] event/sw: move stats code for better cache access

2018-03-19 Thread Jerin Jacob
-Original Message- > Date: Wed, 14 Mar 2018 13:14:10 + > From: "Laatz, Kevin" > To: Vipin Varghese > CC: dev@dpdk.org, harry.van.haa...@intel.com > Subject: Re: [dpdk-dev] [PATCH] event/sw: move stats code for better cache > access > User-Agent: Mozi

Re: [dpdk-dev] [PATCH] event/sw: move stats code for better cache access

2018-03-14 Thread Laatz, Kevin
On 27/02/2018 20:17, Vipin Varghese wrote: variables 'out_pkts_total' and 'out_pkts_total' will be in registers. Hence shifting the code after the loop, helps the update from registers. Signed-off-by: Vipin Varghese <...> Acked-by: Kevin Laatz

[dpdk-dev] [PATCH] event/sw: move stats code for better cache access

2018-02-27 Thread Vipin Varghese
variables 'out_pkts_total' and 'out_pkts_total' will be in registers. Hence shifting the code after the loop, helps the update from registers. Signed-off-by: Vipin Varghese --- drivers/event/sw/sw_evdev_scheduler.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/