net: thunderx: Set CQ timer threshold properly
Properly set CQ timer threshold and also set it to 2us. With previous incorrect settings it was set to 0.5us which is too less. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a7b1f535a8
commit
006394a7cb
@@ -120,10 +120,9 @@
|
||||
* Calculated for SCLK of 700Mhz
|
||||
* value written should be a 1/16th of what is expected
|
||||
*
|
||||
* 1 tick per 0.05usec = value of 2.2
|
||||
* This 10% would be covered in CQ timer thresh value
|
||||
* 1 tick per 0.025usec
|
||||
*/
|
||||
#define NICPF_CLK_PER_INT_TICK 2
|
||||
#define NICPF_CLK_PER_INT_TICK 1
|
||||
|
||||
/* Time to wait before we decide that a SQ is stuck.
|
||||
*
|
||||
|
Reference in New Issue
Block a user