The Metadata tab is shown in the following figure.
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.