mbox series

[net-next,PatchV4,0/4] octeontx2-pf: support Round Robin scheduling

Message ID 20230719110443.15310-1-hkelam@marvell.com (mailing list archive)
Headers show
Series octeontx2-pf: support Round Robin scheduling | expand

Message

Hariprasad Kelam July 19, 2023, 11:04 a.m. UTC
octeontx2 and CN10K silicons support 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 in htb offload.

This series of patches adds support for the same.

Patch1: implement transmit schedular allocation algorithm as preparation
        for support round robin scheduling.

Patch2: Allow quantum parameter in HTB offload mode.

Patch3: extends octeontx2 htb offload support for Round Robin scheduling

Patch4: extend QOS documentation for Round Robin scheduling

Hariprasad Kelam (1):
  docs: octeontx2: extend documentation for Round Robin scheduling

Naveen Mamindlapalli (3):
  octeontx2-pf: implement transmit schedular allocation algorithm
  sch_htb: Allow HTB quantum parameter in offload mode
  octeontx2-pf: htb offload support for Round Robin scheduling
---
v4 * update classid values in documentation.

v3 * 1. update QOS documentation for round robin scheduling
     2. added out of bound checks for quantum parameter

v2 * change data type of otx2_index_used to reduce size of structure
     otx2_qos_cfg

 .../ethernet/marvell/octeontx2.rst            |   8 +
 .../marvell/octeontx2/nic/otx2_common.c       |   1 +
 .../marvell/octeontx2/nic/otx2_common.h       |   1 +
 .../net/ethernet/marvell/octeontx2/nic/qos.c  | 398 ++++++++++++++++--
 .../net/ethernet/marvell/octeontx2/nic/qos.h  |  11 +-
 .../net/ethernet/mellanox/mlx5/core/en/qos.c  |   4 +-
 include/net/pkt_cls.h                         |   1 +
 net/sched/sch_htb.c                           |   7 +-
 8 files changed, 388 insertions(+), 43 deletions(-)

--
2.17.1

Comments

patchwork-bot+netdevbpf@kernel.org July 21, 2023, 9 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Wed, 19 Jul 2023 16:34:39 +0530 you wrote:
> octeontx2 and CN10K silicons support 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 in htb offload.
> 
> This series of patches adds support for the same.
> 
> [...]

Here is the summary with links:
  - [net-next,PatchV4,1/4] octeontx2-pf: implement transmit schedular allocation algorithm
    https://git.kernel.org/netdev/net-next/c/f78dca691287
  - [net-next,PatchV4,2/4] sch_htb: Allow HTB quantum parameter in offload mode
    https://git.kernel.org/netdev/net-next/c/9fe63d5f1da9
  - [net-next,PatchV4,3/4] octeontx2-pf: htb offload support for Round Robin scheduling
    https://git.kernel.org/netdev/net-next/c/47a9656f168a
  - [net-next,PatchV4,4/4] docs: octeontx2: extend documentation for Round Robin scheduling
    https://git.kernel.org/netdev/net-next/c/6f71051ffbdb

You are awesome, thank you!