Configuration Guide User guide
592 FastIron Configuration Guide
53-1002494-02
Dynamic buffer allocation for FCX, FWS, and ICX devices
The <priorityqueue> variable refers to the specific queue of the port from 0 through 7.
3. Configure the port buffers. The minimum limit for port buffers is 16. The maximum limit for the
port buffer depends on the hardware device. Port buffer limits of different platforms are listed
in “Buffer and descriptor maximum and default allocation values” on page 596. Configure the
allowable packet buffers by entering a command similar to the following.
Brocade# qd-buffer 1 2 76
Syntax: [no] qd-buffer <devicenum> <porttypeval> <numbuffers>
The <devicenum> variable refers to the device in the stacking unit. The device number starts
from 0.
The <porttypeval> variable is 1 for 1 Gbps ports and 2 for 10 Gbps ports.
The <numbuffers> variable refers to the number of buffers to allocate.
4. Configure the queue buffers. The maximum limit of queue buffers depends on the hardware
device. Queue buffer limits of different platforms are listed in “Buffer and descriptor maximum
and default allocation values” on page 596. Configure the queue buffers by entering a
command similar to the following.
Brocade# qd-buffer 1 2 76 2
Syntax: [no] qd-buffer <devicenum> <porttypeval> <numbuffers> <priorityqueue>
The <devicenum> variable refers to the device in the stacking unit. The device number starts
from 0.
The <porttypeval> variable is 1 for 1 Gbps ports and 2 for 10 Gbps ports.
The <numbuffers> variable refers to the number of buffers to allocate.
The <priorityqueue> variable refers to the specific queue of the port from 0 through 7.
NOTE
In FWS devices the global buffer limit is 2016 instead of 2094.
Sample configuration for buffer profile with qd-descriptor and qd-buffer commands on FCX, FWS,
and ICX
This sample configuration assumes a four-unit stack with the following topology. Note that there is
no packet processor 3 or 7, because stack units 2 and 4 are 24-port devices.
• Stack unit 1, 48 ports - Packet processor numbers 0 and 1
• Stack unit 2, 24 ports - Packet processor number 2
• Stack unit 3, 48 ports - Packet processors 4 and 5
• Stack unit 4, 24 ports - Packet processor number 6
The following commands allocate available buffers to be used by priority 0 queues in the four-unit
stack.
qd-descriptor 0 1 4095
qd-descriptor 1 1 4095
qd-descriptor 2 1 4095
qd-descriptor 4 1 4095
qd-descriptor 5 1 4095
qd-descriptor 6 1 4095
qd-descriptor 0 2 4095
qd-descriptor 1 2 4095