diff options
author | Sunil Goutham <[email protected]> | 2015-07-29 16:49:38 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-07-29 23:52:31 -0700 |
commit | 32c1b965f41639081af84cd3f320a81d9c30a06e (patch) | |
tree | 92b52e805cc0194df1d93a21b1e7e53dded0d270 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 143ceb0b8a1570d1f899900bf05df19ecd673a18 (diff) |
net: thunderx: Fix RQ_DROP miscalculation
With earlier configured value sufficient number of CQEs are not
being reserved for transmitted packets. Hence under heavy incoming
traffic load, receive notifications will take away most of the CQ
thus transmit notifications will be lost resulting in tx skbs not
being freed.
Finally SQ will be full and it will be stopped, watchdog timer
will kick in. After this fix receive notifications will not take
morethan half of CQ reserving the rest for transmit notifications.
Also changed CQ & SQ sizes from 16k to 4k.
This is also due to the receive notifications taking first half of
CQ under heavy load and time taken by NAPI to clear transmit notifications
will increase with higher queue sizes. Again results in SQ being stopped.
Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: Aleksey Makarov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions