]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Configure RED and backpressure levels
authorSunil Goutham <sgoutham@cavium.com>
Thu, 24 Nov 2016 09:18:02 +0000 (14:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 01:21:17 +0000 (20:21 -0500)
commitd9b17bdba15bd340ce20995aad41f8834dedf61e
tree15bb59d54a2694cc96e6542108609838e69b42a6
parent6e3a14fb5736ce3e355d2f84fc8eab633730655a
net: thunderx: Configure RED and backpressure levels

This patch enables moving average calculation of Rx pkt's resources
and configures RED and backpressure levels for both CQ and RBDR.
Also initialize SQ's CQ_LIMIT properly.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic_main.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.h
drivers/net/ethernet/cavium/thunder/q_struct.h