Chapter 3 - MACSI Host Interface

Command Options

Table 3-37. Command Options

Command Options

Offst

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x01

 

 

 

 

 

 

 

 

 

 

Port

 

 

 

 

IE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt enable (IE)

As defined in Common IOPB Structures.

Port selector

This field specifies the port for which the statistics will be reported. Valid ports range from 0 to 3.

Return Status

This field will contain any return status from the controller to the host. A value of 0 indicates that no error occurred, and the command completed successfully.

Host Memory Buffer Address

This field contains the VMEbus address of host memory to which the controller will post the network statistics. Note the distinct locations for most significant word (MSW) and least significant word (LSW) in this address.

Max Transfer Size

This field contains the maximum number of bytes allocated by the host to accommodate the information to be transferred by the controller. When the command is complete, this field in the returned IOPB will contain the actual number of bytes transferred by the controller.

Timer Interval

This field contains an integer which will be used by the controller to set up a fixed interval timer. Each time this timer expires, the network statistics for the particular port will be posted to the host, along with a returned IOPB, just as if the host had submitted a separate IOPB. The timer interval will be calculated by multiplying the value provided in this field by 250 milliseconds.

Submitting a new Report Network Statistics Command for a particular port will cause any existing repeating statistics command to be replaced with the value in the new command. Using this, a host can cancel a repeating statistics command by submitting a new command with this field set to 0.

Timer intervals are maintained on a per port basis.

96