octeontx2-pf: htb offload support for Round Robin scheduling
authorNaveen Mamindlapalli <naveenm@marvell.com>
Wed, 19 Jul 2023 11:04:42 +0000 (16:34 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2023 08:55:53 +0000 (09:55 +0100)
commit47a9656f168a4b76a1e069ed8a67924ea8c1ac43
treead05be79296faac03153733bbeecf7ad559af603
parent9fe63d5f1da939855bdfaebfd9e95c96938b6411
octeontx2-pf: htb offload support for Round Robin scheduling

When multiple traffic flows reach Transmit level with the same
priority, with Round robin scheduling traffic flow with the highest
quantum value is picked. With this support, the user can add multiple
classes with the same priority and different quantum. This patch
does necessary changes to support the same.

Signed-off-by: Naveen Mamindlapalli <naveenm@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/qos.c
drivers/net/ethernet/marvell/octeontx2/nic/qos.h