MAC-IP flow table cooperating with extensibility flow table

Metadata/mask

The MAC-IP flow table supports the Write Metadata/mask instruction and the extensibility flow table supports Metadata/mask matching. The MAC-IP flow table can cooperate with the extensibility flow table to perform the pipeline process of multiple tables by using Metadata/mask.

Each metadata mask bit has a different meaning. The corresponding metadata bit being set indicates that the metadata mask bit is matched. When the corresponding metadata bit is not set, the metadata mask bit is wildcarded.

Table 7: Metadata mask meanings

Metadata mask bit

Meaning

Metadata

Bit 0

Destination MAC address

  • 1—Set. Matches the destination MAC address.

  • 0—Not set. Does not match the destination MAC address.

Bit 1

Source MAC address

  • 1—Set. Matches the source MAC address.

  • 0—Not set. Does not match the source MAC address.

Bit 2

Destination IP address

  • 1—Set. Matches the destination IP address.

  • 0—Not set. Does not match the destination IP address.

Others

Reserved

Reserved.

Matching restrictions

When the output action in an extensibility flow table is not Normal, the following rules apply:

When the output action in an extensibility flow table is Normal, the following rules apply: