diff options
| author | Sunil Goutham <[email protected]> | 2021-07-30 17:19:13 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-02 10:47:12 +0100 |
| commit | 76660df2b4a264519afef1936b5d848f62781ae5 (patch) | |
| tree | b7491c9d744e4cc172e55e713cd42b1b463b1f0c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | cfba3fb68960b4e1fb63b4e3d95970b4a4be8577 (diff) | |
octeontx2-af: cn10k: DWRR MTU 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. For LBK traffic, value
programmed into NIX_AF_DWRR_RPM_MTU register is considered as
DWRR MTU.
This patch programs a default DWRR MTU of 8192 into HW and also
provides a way to change this via devlink params.
Signed-off-by: Sunil Goutham <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions