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>
Showing
- drivers/net/ethernet/cavium/thunder/nic_main.c 9 additions, 0 deletionsdrivers/net/ethernet/cavium/thunder/nic_main.c
- drivers/net/ethernet/cavium/thunder/nicvf_queues.c 7 additions, 2 deletionsdrivers/net/ethernet/cavium/thunder/nicvf_queues.c
- drivers/net/ethernet/cavium/thunder/nicvf_queues.h 19 additions, 5 deletionsdrivers/net/ethernet/cavium/thunder/nicvf_queues.h
- drivers/net/ethernet/cavium/thunder/q_struct.h 6 additions, 2 deletionsdrivers/net/ethernet/cavium/thunder/q_struct.h
Loading
Please register or sign in to comment