Metadata - 2022.2 English

Vitis Networking P4 User Guide (UG1308)

Document ID
2022.2 English

The Metadata tab is shown in the following figure.

Figure 1. Metadata Tab

All metadata fields present are displayed. The user can select/deselect all metadata fields. By default, all metadata fields are provided as input and output ports, but they can be deselected if not needed as an I/O to reduce resource utilization.

The width of the metadata input and output ports remain fixed to the number of metadata fields defined in the P4 file, regardless of what metadata fields are selected/deselected. However, internally in the Vitis Networking P4 IP, some optimization is performed based on what has been selected/deselected. The generated <design_name> file indicates the bit positions of the metadata fields that have been selected (see the Generated Files section of this chapter for more information).

Enable Metadata Output for Dropped Packets can be selected to enable metadata output for packets which have been dropped.

Enable All IO can be selected to restore all check boxes in the table to the selected state.