Re: kpause()'s timeout value

2020-06-23 Thread SAITOH Masanobu
On 2020/06/19 3:17, SAITOH Masanobu wrote: Hi. I'm now working to reduce ixgbe's busy loop using with kpause()[*1]. I wrote the following code: #define usec_delay(x) ixgbe_delay(x) #define msec_delay(x) ixgbe_delay((x) * 1000) void ixgbe_delay(unsigned int us) { if

kpause()'s timeout value

2020-06-18 Thread SAITOH Masanobu
Hi. I'm now working to reduce ixgbe's busy loop using with kpause()[*1]. I wrote the following code: #define usec_delay(x) ixgbe_delay(x) #define msec_delay(x) ixgbe_delay((x) * 1000) void ixgbe_delay(unsigned int us) { if (__predict_false(cold)) delay(us); else