Re: [dpdk-dev] [PATCH v4] net/ice: fix performance issue for Rx timestamp

2021-10-31 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Friday, October 29, 2021 8:56 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Van Haaren, Harry ; Wu, > Wenjun1 ; Su, Simei > Subject: [PATCH v4] net/ice: fix performance issue for Rx timestamp > > In Rx data path, it reads hardware registers p

[dpdk-dev] [PATCH v4] net/ice: fix performance issue for Rx timestamp

2021-10-29 Thread Simei Su
In Rx data path, it reads hardware registers per packet, resulting in big performance drop. This patch improves performance from two aspects: (1) replace per packet hardware register read by per burst. (2) reduce hardware register read time from 3 to 2 when the low value of time is not close to