mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
net: thunderx: Adjust CQE_RX drop levels for better performance
With the current RX RED/DROP levels of 192/184 for CQE_RX, when packet incoming rate is high, LLC is getting polluted resulting in more cache misses and higher latency in packet processing. This slows down the whole process and performance loss. Hence reduced the levels to 224/216 (ie for a CQ size of 1024, Rx pkts will be red dropped or dropped when unused CQE are less than 128/160 respectively) Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aeaf0cc5b7
commit
c0d2507abc
|
|
@ -100,8 +100,8 @@
|
|||
* RED accepts pkt if unused CQE < 2304 & >= 2560
|
||||
* DROPs pkts if unused CQE < 2304
|
||||
*/
|
||||
#define RQ_PASS_CQ_LVL 192ULL
|
||||
#define RQ_DROP_CQ_LVL 184ULL
|
||||
#define RQ_PASS_CQ_LVL 224ULL
|
||||
#define RQ_DROP_CQ_LVL 216ULL
|
||||
|
||||
/* RED and Backpressure levels of RBDR for pkt reception
|
||||
* For RBDR, level is a measure of fullness i.e 0x0 means empty
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user