rte_swx_po...rce_params(3)

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

πŸ’– NAME πŸ’–

rte_swx_port_source_params β€” okay so this is the Library Functions Manual page for the source-port creation params, and it's lowkey iconic, bestie. We're talking rte_swx_po...rce_params(3) energy. ✨

✨ SYNOPSIS ✨

#include <rte_swx_port_source_sink.h>

πŸŽ€ Data Fields πŸŽ€

  • struct rte_mempool * pool
  • const char * file_name
  • uint64_t n_loops
  • uint32_t n_pkts_max

πŸ¦‹ Detailed Description πŸ¦‹

Source port creation parameters. That's literally the sentence, and it ate. πŸ’…

Definition at line 24 of file rte_swx_port_source_sink.h.

πŸ’… Field Documentation πŸ’…

🌸 struct rte_mempool* pool 🌸

Buffer pool. Must be valid. No invalid-pool shenanigans, bestie β€” it says must. 😭

Definition at line 26 of file rte_swx_port_source_sink.h.

πŸ“ const char* file_name πŸ“

Name of a valid PCAP file to read the input packets from. Valid PCAP only, iykyk. πŸŽ€

Definition at line 29 of file rte_swx_port_source_sink.h.

🧚 uint64_t n_loops 🧚

Number of times to loop through the input PCAP file. Loop infinite times when set to 0. The way 0 means infinite here? Weird but iconic. ✨

Definition at line 34 of file rte_swx_port_source_sink.h.

πŸ”₯ uint32_t n_pkts_max πŸ”₯

Maximum number of packets to read from the PCAP file. When 0, it is internally set to RTE_SWX_PORT_SOURCE_PKTS_MAX. Once read from the PCAP file, the same packets are looped forever. This one has layers, bestie. πŸ’œ

Definition at line 40 of file rte_swx_port_source_sink.h.

🌈 Author 🌈

Generated automatically by Doxygen for DPDK from the source code. Slay, Doxygen. πŸ€–πŸ’–


Brought to you by DPDK, Version 26.03.0, and the footer title rte_swx_po...rce_params(3) β€” source/version noted, no date line to report, so we're not inventing one, periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from