]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'octeon-drr-config'
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2021 09:47:12 +0000 (10:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2021 09:47:12 +0000 (10:47 +0100)
commitfe8b82e45e7b878b9ae8dba7cf672e76b91e69b0
tree3f3b397fadd51f98f12b7d4afbc06027fcbec95d
parent1c77b51b23f6f8198cb3c6e6283923142fd16758
parent0c5d01e8738bfbb93e6b5a153948706004ce6812
Merge branch 'octeon-drr-config'

Sunil Goutham says:

====================
cn10k: DWRR MTU and weights configuration

On OcteonTx2 DWRR quantum is directly configured into each of
the transmit scheduler queues. And PF/VF drivers were free to
config any value upto 2^24.

On CN10K, HW is modified, the quantum configuration at scheduler
queues is in terms of weight. And SW needs to setup a base DWRR MTU
at NIX_AF_DWRR_RPM_MTU / NIX_AF_DWRR_SDP_MTU. HW will do
'DWRR MTU * weight' to get the quantum.

This patch series addresses this HW change on CN10K silicons,
both admin function and PF/VF drivers are modified.

Also added support to program DWRR MTU via devlink params.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>