
8-10
Network Management Messages
not recommended because the router will not be able to forward network management
messages if the buffers are too small.
The size values are represented by a code of type
buffer_size_entry
:
typedef enum {
SIZE_20
= 0x2;
SIZE_21
= 0x3;
SIZE_22
= 0x4;
SIZE_24
= 0x5;
SIZE_26
= 0x6;
SIZE_30
= 0x7;
SIZE_34
= 0x8;
SIZE_42
= 0x9;
SIZE_50
= 0xA;
SIZE_66
= 0xB;
SIZE_82
= 0xC;
SIZE_114 = 0xD;
SIZE_146 = 0xE;
SIZE_210 = 0xF;
SIZE_255 = 0x0;
} buffer_size_entry;
Set Priority Output Buffer Queue Count
The priority output buffer queue count is selected using a
Write Memory
network
management message with the following parameters:
mode
= READ_ONLY_RELATIVE (1)
offset
= 0x001A;
count
= 1;
form
= BOTH_CS_RECALC (1)
data
=
queue_count;
The
queue_count
value contains two nibble fields. The most significant nibble
controls the number of priority output buffers. The least significant nibble must be zero.
The total number of bytes assigned to the buffer queues must not exceed 1254 bytes as
described under
Message Buffers
in Chapter 2.
The most significant nibble of
queue_count
is represented by a code of type
queue_count_entry
:
typedef enum {
COUNT_1
= 0x2;
COUNT_2
= 0x3;
COUNT_3
= 0x4;
COUNT_5
= 0x5;
COUNT_7
= 0x6;
COUNT_11 = 0x7;
COUNT_15 = 0x8;
COUNT_23 = 0x9;
COUNT_31 = 0xA;
COUNT_47 = 0xB;
COUNT_63 = 0xC;
} queue_count_entry;