Metadata - 2025.1 English - UG1308

Vitis Networking P4 User Guide (UG1308)

Document ID
UG1308
Release Date
2025-05-29
Version
2025.1 English

The Metadata tab is shown in the following figure.

Figure 1. Metadata Tab Generated by Your Tool

All metadata fields present are displayed. You 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, optimization is performed based on what has been selected/deselected. The generated <design_name>_pkg.sv file indicates the bit positions of the metadata fields that are selected (see Generated Files 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.