MAC Control/Status

Command Options

Table 3-23. Command Options

Command Options

Offst

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0x01

 

 

 

 

 

AR

AN

AA

 

 

Port

 

SRX

STX

SM

IE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt Enable (IE)

Defined in Common IOPB Structures.

Set MAC options (SM)

When this bit is set, the state of the specified MAC is updated as per those bit settings specified in the MAC Status/Control word. If this bit is not set, the current settings will be reported back in the MAC Status/Control word when the command completes.

Set 596 transmit options (STX)

When this bit is set, those settings specified in the Intel 82596 Transmit Status/Control word are applied to the specified port.

Set 596 receive options (SRX)

When this bit is set, those settings specified in the Intel 82596 Receive Status/Control word are applied to the specified port.

The best way to use these would be to submit the MAC Control command with none of the Set bits, which causes the current status to be returned in the various control words. Then, modify those subfields desired, and return the command, with the appropriate Set bit active.

Port selector

This subfield selects the particular port to which the command is applied. Valid ports numbers range from 0 to 3.

Abort ALL (AA)

Setting this bit causes the controller to abort all pending receives for all ports. If the AR bit is also set, these will be returned to the host with the appropriate error code set. Without the AR bit set, aborted commands are silently discarded. This bit will not abort non-designated receives: use the next bit for that. When this bit is set, the port designator specified in the Command Options field is ignored, and no further processing of the IOPB is done. The MAC Control IOPB will be returned to the host after all commands have been aborted.

Abort ANY (AN)

Setting this bit causes the controller to abort any pending receives that were submitted for non-designated ports, with the ANY bit set in the Command Options field of the Receive IOPB. As with the AA bit, these aborted commands will be silently discarded unless the Abort Report bit is also set. When this bit is set, the port designator specified in the Command Options field is ignored, and no further processing of the IOPB is done. The MAC Control IOPB will be returned to the host after all commands have been aborted.

79