Example

Figure 60 pnic loadparams Command Example

 

[root@localhost ~]# pnic loadparams

 

No card number specified. Assuming card 0

 

Loading configurations...

 

 

Read from configuration file and apply to PNIC card...

 

(0x10)0000

(0x14)0010

(0x18)0000

 

(0x18)0100

(0x24)20788

(0x28)20788

 

DMA Capture Status: off

 

 

MAC Rewrite state: CH0 - disabled; CH1 - disabled

 

Default Drop Packet: disabled

 

 

Temporary memory: disabled

 

 

Aggregate mode: enabled

 

 

Passive mode: disabled

 

 

 

Read out the registers that were just applied.

 

On MASTER FPGA

(0x14)00000010

(0x18)00000000

 

(0x10)00000000

 

On PCI FPGA

 

(0x24)00020788

(0x28)00020788

 

(0x18)00000100

 

DMA Capture

 

 

 

: off

 

MAC Rewrite state

 

: CH0 - disabled; CH1 - disabled

 

Default Drop Packet

 

: disabled

 

Temporary memory

 

: enabled

 

Aggregate mode

 

 

: enabled

 

PHY passive mode

 

: disabled

Version : P_MAIN2.2.0.062

[root@localhost ~]#

Usage Information

The syntax of such parameter files is (address) value where address is the decimal address of the DPI control register, and value is the hexadecimal parameter to be loaded. Table 27 shows the parameters to which each address is mapped.

Table 27 Loadparams Address Mapping

Address

Corresponding Parameter

Address 20 This address is mapped to the parameter Flow timeout (measured in (Master FPGA) multiples of 0.86 seconds). This parameter controls how quickly the stateful packet analysis can garbage-collect previous states. Smaller

values increase the number of concurrent flows that can be tracked. The default value is 16.

Address 16 This address is mapped to the parameter Flow length (measured in (Master FPGA) packets). This parameter controls the maximum number of packets in a

flow that are considered for capturing. Typical values range from 6 to16.

P-Series Installation and Operation Guide, version 2.3.1.2

97

Page 97
Image 97
Force10 Networks 100-00055-01 manual Pnic loadparams Command Example, Loadparams Address Mapping