rte_pmd_mlx5_geneve_tlv(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay so bestie, welcome to rte_pmd_mlx5_geneve_tlv from the Library Functions Manual β€” this is the DPDK page for the user config struct that sets up a parser for one single GENEVE TLV option. πŸ’– It is literally giving β€œsmall struct, big networking energy.”


✨ SYNOPSIS ✨

#include <rte_pmd_mlx5.h>

πŸ’– Data Fields πŸ’–

  • rte_be16_t option_class
  • uint8_t option_type
  • uint8_t option_len
  • uint8_t match_on_class_mode
  • uint8_t offset
  • uint8_t sample_len
  • rte_be32_t * match_data_mask

🌸 Detailed Description 🌸

This is the user configuration structure you use to create a parser for a single GENEVE TLV option. Slay. Definition at line 288 of file rte_pmd_mlx5.h.


πŸ¦‹ Field Documentation πŸ¦‹

πŸ’œ rte_be16_t option_class πŸ’œ

The class of the GENEVE TLV option. This one is relevant only when match_on_class_mode is 1. Definition at line 293 of file rte_pmd_mlx5.h.

πŸ’œ uint8_t option_type πŸ’œ

The type of the GENEVE TLV option. This field is the identifier of the option β€” like its little name tag. Definition at line 298 of file rte_pmd_mlx5.h.

πŸ’œ uint8_t option_len πŸ’œ

The length of the GENEVE TLV option data, excluding the option header, in DW granularity. Definition at line 303 of file rte_pmd_mlx5.h.

πŸ’œ uint8_t match_on_class_mode πŸ’œ

This is the indicator about the class field’s 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 310 of file rte_pmd_mlx5.h.

πŸ’œ uint8_t offset πŸ’œ

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 316 of file rte_pmd_mlx5.h.

πŸ’œ uint8_t sample_len πŸ’œ

The number of DW to sample. This field describes the length of match_data_mask in DW granularity. Definition at line 322 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 327 of file rte_pmd_mlx5.h.


πŸ’… Author πŸ’…

Generated automatically by Doxygen for DPDK from the source code. Very β€œthe build system did my homework,” but make it iconic. ✨


That’s the whole page, bestie β€” DPDK, Version 26.03.0, from the rte_pmd_mlx5_geneve_tlv(3) footer. There’s no date on this footer, just the source/version and page marker, so I’m not gonna invent one. πŸ’œπŸ‘‘

πŸ“¦ where this page comes from