Re: [dpdk-dev] [PATCH v3 1/5] event/octeontx2: fix TIM HW race condition

2019-11-23 Thread Jerin Jacob
t; >Bhagavatula > >Cc: dev@dpdk.org > >Subject: [dpdk-dev] [PATCH v3 1/5] event/octeontx2: fix TIM HW race > >condition > > > >From: Pavan Nikhilesh > > > >Fix HW race condition observed when timeout resolution is low (<5us). > >When HW traver

Re: [dpdk-dev] [PATCH v3 1/5] event/octeontx2: fix TIM HW race condition

2019-11-22 Thread Pavan Nikhilesh Bhagavatula
+Cc: sta...@dpdk.org >-Original Message- >From: pbhagavat...@marvell.com >Sent: Friday, November 22, 2019 9:14 PM >To: Jerin Jacob Kollanukkaran ; Pavan Nikhilesh >Bhagavatula >Cc: dev@dpdk.org >Subject: [dpdk-dev] [PATCH v3 1/5] event/octeontx2: fix TIM HW ra

[dpdk-dev] [PATCH v3 1/5] event/octeontx2: fix TIM HW race condition

2019-11-22 Thread pbhagavatula
From: Pavan Nikhilesh Fix HW race condition observed when timeout resolution is low (<5us). When HW traverses a given TIM bucket it will clear chunk_remainder, but since SW always decreases the chunk_remainder at the start of the arm routine it might cause a race where SW updates chunk_remainder