rte_swx_learner_stats(3)

πŸ’– NAME πŸ’–

rte_swx_learner_stats β€” bestie, this is a page from the Library Functions Manual, and it's literally all about the stats struct for a learner table. No cap. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_swx_ctl.h>

✨ Data Fields ✨

  • uint64_t n_pkts_hit
  • uint64_t n_pkts_miss
  • uint64_t n_pkts_learn_ok
  • uint64_t n_pkts_learn_err
  • uint64_t n_pkts_rearm
  • uint64_t n_pkts_forget
  • uint64_t * n_pkts_action

🌸 Detailed Description 🌸

Learner table statistics. That's the whole vibe. πŸ’…

Definition at line 675 of file rte_swx_ctl.h.

πŸ¦‹ Field Documentation πŸ¦‹

uint64_t n_pkts_hit

Number of packets with lookup hit. She found what she was looking for, slay. πŸ’–

Definition at line 677 of file rte_swx_ctl.h.

uint64_t n_pkts_miss

Number of packets with lookup miss. Not found, it's giving ghosted. 😭

Definition at line 680 of file rte_swx_ctl.h.

uint64_t n_pkts_learn_ok

Number of packets with successful learning. Main character energy fr fr. πŸ‘‘

Definition at line 683 of file rte_swx_ctl.h.

uint64_t n_pkts_learn_err

Number of packets with learning error. It tried and it fumbled. πŸ’€

Definition at line 686 of file rte_swx_ctl.h.

uint64_t n_pkts_rearm

Number of packets with rearm event. πŸ”₯

Definition at line 689 of file rte_swx_ctl.h.

uint64_t n_pkts_forget

Number of packets with forget event. Bestie said "new phone who dis". πŸ™ˆ

Definition at line 692 of file rte_swx_ctl.h.

uint64_t* n_pkts_action

Number of packets (with either lookup hit or miss) per pipeline action. It's an array of pipeline n_actions elements indexed by the pipeline-level action_id, therefore this array has the same size for all the tables within the same pipeline. Highkey consistent across every table in the same pipeline, periodt. πŸ“

Definition at line 698 of file rte_swx_ctl.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. The robots did this one, we just added the sparkle. 🧚✨


okay that's the whole page bestie, you ate πŸ’… β€” this little writeup came to you from DPDK, Version 25.11.3, and yeah it's the rte_swx_learner_stats(3) page, so go forth and read your counters. πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from