9.25. Round-robin scheduler register block

The round-robin scheduler register block has a header with type 0x0000C040, version 0x00000100, and indicates the location of the scheduler in the register space, as well as containing some control, status, and informational registers.

Address

Field

31..24

23..16

15..8

7..0

Reset value

RBB+0x00

Type

Vendor ID

Type

RO 0x0000C040

RBB+0x04

Version

Major

Minor

Patch

Meta

RO 0x00000100

RBB+0x08

Next pointer

Pointer to next register block

RO -

RBB+0x0C

Offset

Offset to scheduler

RO -

RBB+0x10

CH count

Channel count

RO -

RBB+0x14

CH stride

Channel stride

RO 0x00000004

RBB+0x18

Control

Control

RW 0x00000000

RBB+0x1C

Dest

Dest

RW -

See Register blocks for definitions of the standard register block header fields.

Offset

The offset field contains the offset to the start of the scheduler, relative to the start of the current region.

Address

31..24

23..16

15..8

7..0

Reset value

RBB+0x0C

Offset to scheduler

RO -

Channel count

The channel count field contains the number of channels.

Address

31..24

23..16

15..8

7..0

Reset value

RBB+0x10

Channel count

RO -

Channel stride

The channel stride field contains the size of the region for each channel.

Address

31..24

23..16

15..8

7..0

Reset value

RBB+0x14

Channel stride

RO 0x00000004

Control

The control field contains scheduler-related control bits.

Address

31..24

23..16

15..8

7..0

Reset value

RBB+0x18

Control

RW 0x00000000

Bit

Function

0

Enable

Dest

The dest field controls the destination port and traffic class of the scheduler. It is initialized with the scheduler’s index with traffic class 0.

Address

31..24

23..16

15..8

7..0

Reset value

RBB+0x1C

Dest

RW -

9.25.1. Round-robin scheduler CSRs

Each scheduler channel has several associated control registers, detailed in this table:

Address

Field

31..24

23..16

15..8

7..0

Reset value

Base+0x00

Control

Control

RW 0x00000000

Control

The control field contains scheduler-related control bits.

Address

31..24

23..16

15..8

7..0

Reset value

Base+0x00

Control

RW 0x00000000

Bit

Function

0

Enable

1

Global enable

2

Control enable

16

Active

24

Scheduled