RTE_SWX_PIPELINE_MIRRORING_SESSION_PARAMS(3)

πŸ’– NAME πŸ’–

rte_swx_pipeline_mirroring_session_params β€” bestie, it's the struct that holds all the deets for one packet mirroring session ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_swx_ctl.h>

🌸 Data Fields 🌸

  • uint32_t port_id
  • int fast_clone
  • uint32_t truncation_length

πŸ¦‹ DETAILED DESCRIPTION πŸ¦‹

Okay so this is literally just a little container: it's the packet mirroring session parameters. That's the whole vibe. It carries the settings for one mirroring session, and nothing more πŸ™ˆ

It lives at Definition at line 728 of file rte_swx_ctl.h.


πŸ‘‘ FIELD DOCUMENTATION πŸ‘‘

πŸ’… uint32_t port_id

The output port ID πŸ’« like, where the mirrored packets get sent, yk?

Definition at line 730 of file rte_swx_ctl.h.

⭐ int fast_clone

The fast clone flag πŸƒβ™€οΈβœ¨ it flags whether you want the fast clone behaviour.

Definition at line 733 of file rte_swx_ctl.h.

πŸ“ uint32_t truncation_length

The truncation packet length, in bytes πŸ“ and listen β€” a value of zero means no truncation. Zero is not "truncate to nothing", bestie, it's "don't truncate at all". Important distinction, no cap πŸ’€

Definition at line 736 of file rte_swx_ctl.h.


🌈 AUTHOR 🌈

Generated automatically by Doxygen for DPDK from the source code πŸ€– she's automated, she's iconic, she doesn't miss.


periodt πŸ’… that's the whole page, and the source/version/date energy for the sign-off is: DPDK, Version 25.11.3 🫢 go forth and mirror those packets, bestie πŸ¦‹πŸ’–

πŸ“¦ where this page comes from