]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd5b2d7a7184062c436f9a2b237e77bdb8e06a936
tree15bb59d54a2694cc96e6542108609838e69b42a6
parent1cc702591bae9f70b1aa2f9cb60241961bc1858a
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