logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_pmd_mlx5_geneve_tlv

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                      rte_pmd_mlx5_geneve_tlv(3)

Detailed Description

       User configuration structure using to create parser for single GENEVE TLV option.

       Definition at line 283 of file rte_pmd_mlx5.h.

Field Documentation

rte_be16_toption_class
       The class of the GENEVE TLV option. Relevant only when 'match_on_class_mode' is 1.

       Definition at line 288 of file rte_pmd_mlx5.h.

   uint8_toption_type
       The type of the GENEVE TLV option. This field is the identifier of the option.

       Definition at line 293 of file rte_pmd_mlx5.h.

   uint8_toption_len
       The length of the GENEVE TLV option data excluding the option header in DW granularity.

       Definition at line 298 of file rte_pmd_mlx5.h.

   uint8_tmatch_on_class_mode
       Indicator about class field role in this option: 0 - class is ignored. 1 - class is fixed (the class
       defines the option along with the type). 2 - class matching per flow.

       Definition at line 305 of file rte_pmd_mlx5.h.

   uint8_toffset
       The offset of the first sample in DW granularity. This offset is relative to first of option data. The
       'match_data_mask' corresponds to option data since this offset.

       Definition at line 311 of file rte_pmd_mlx5.h.

   uint8_tsample_len
       The number of DW to sample. This field describes the length of 'match_data_mask' in DW granularity.

       Definition at line 317 of file rte_pmd_mlx5.h.

   rte_be32_t*match_data_mask
       Array of DWs which each bit marks if this bit should be sampled. Each nonzero DW consumes one DW from
       maximum 7 DW in total.

       Definition at line 322 of file rte_pmd_mlx5.h.

Name

       rte_pmd_mlx5_geneve_tlv

Synopsis

       #include <rte_pmd_mlx5.h>

   DataFieldsrte_be16_toption_class
       uint8_t option_type
       uint8_t option_len
       uint8_t match_on_class_mode
       uint8_t offset
       uint8_t sample_lenrte_be32_t * match_data_mask

See Also