From: David S. Miller Date: Mon, 2 Aug 2021 09:47:12 +0000 (+0100) Subject: Merge branch 'octeon-drr-config' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a3280efd009e6bbfdefd65834af57ba0da4ac8dc;p=linux.git 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 --- a3280efd009e6bbfdefd65834af57ba0da4ac8dc