Data Sheet

Ethernet Controller I210 —System Manageability
730
10.6.3.14.3 Set Port Command (Intel Command 0x25, Index = 0x2)
A Management Controller uses the Set Port command to communicate one of its TCP or UDP ports to a
Network Controller. The format of a Set Port command packet is specified in Table 10-49.
This command do not impact the forwarding results. It is used as a preliminary stage to the Set Binding
command.
If the Ignore Protocol flag is cleared, the protocol should also match the Protocol field otherwise, the
Protocol field is ignored.
Protocol: The value to match in the IPv4 header Protocol field or IPv6 header Next Header field.
These values are defined by IANA. Allowed values are 0x6 (TCP) and 0x11 (UDP).
Port: The value to match in the Destination Port or Source Port field of the TCP or UDP header. The
legal port range for both TCP and UDP is 0-65,535. The compared field is defined by the Port Type
flag.
Port Index: Indicates which port filter is configured by the command. Allowed values are 1 to n,
where n is the number of port filters supported by the Network Controller.
Table 10-50 describes the fields in the Set Port Flags field.
2Mixed Index
0 = Index relates to the IPv4 or IPv6 only IP filter sets according to
the IP version field.
1 = Index relates to the mixed IP filter set.
3MAC based IP
This flags define if the Ipv6 address is derived from a MAC address
and thus only the 24 LSB should be used for the comparison. This
flag is relevant only if the IP version = IPv6.
0 = Filter according to full 128 bit of IPv6 address
1 = Filter according to the 24 least significant bits of the IPv6
address.
7:3 Reserved Reserved
Table 10-49.Set Port Command Packet Format
Bits
Bytes 31..24 23..16 15..08 07..00
00..15 NC-SI header
16..19 Manufacturer ID (Intel 0x157)
20..23 0x25 0x2 Set Port Flags Reserved
24..27 Port Index Protocol Port
28..31 Checksum
Table 10-50.Set Port Flags Field Descriptions
Bit Position Field Description Value Description
0Enable
0 = Disable the filter
1 = Enable the filter
1
Ignore Protocol
0 = Filter by port and Protocol
1 = Filter by port only.
2Port Type
0 = Compare Destination Port.
1 = Compare Source Port.
7:3 Reserved Reserved
Table 10-48. Get IP Flag Field