RTE_SWX_PORT_ETHDEV_WRITER_PARAMS(3)

๐Ÿ’– NAME ๐Ÿ’–

rte_swx_port_ethdev_writer_params โ€” no cap, this is the lil struct you fill out when you wanna build an Ethernet device output port (writer) in the software exchange (SWX) pipeline world ๐Ÿฆ‹


โœจ SYNOPSIS โœจ

okay so first things first, bestie, you gotta pull in the header:

#include <rte_swx_port_ethdev.h>

And then, boom, here's the whole squad โ€” the Data Fields that live inside this struct:

  • const char * dev_name
  • uint16_t queue_id
  • uint32_t burst_size

๐ŸŽ€ Data Fields ๐ŸŽ€

  • const char * dev_name โ€” the name of a valid Ethernet device that is fully configured. Fully. Like, no half-done fit allowed ๐Ÿ’…
  • uint16_t queue_id โ€” the transmit queue ID on that Ethernet device ๐Ÿ“ฎ
  • uint32_t burst_size โ€” the transmit burst size for that Ethernet device ๐Ÿš€

๐Ÿ’œ Detailed Description ๐Ÿ’œ

These are the creation parameters for an Ethernet device output port (writer). That's literally it โ€” this struct is the little form you hand over so the port knows which device, which queue, and how big a burst to send. Iconic behavior, honestly.

Defined at line 36 of the file rte_swx_port_ethdev.h ๐Ÿ“„


๐ŸŒธ Field Documentation ๐ŸŒธ

๐Ÿงš const char* dev_name

Name of a valid and fully configured Ethernet device.

Defined at line 38 of the file rte_swx_port_ethdev.h.

Heads up bestie: it says valid and fully configured. Both. Don't come at it with a device that's still getting ready, it will not slay for you ๐Ÿ˜ญ

๐ŸŒˆ uint16_t queue_id

Ethernet device transmit queue ID.

Defined at line 41 of the file rte_swx_port_ethdev.h.

โญ uint32_t burst_size

Ethernet device transmit burst size.

Defined at line 44 of the file rte_swx_port_ethdev.h.


๐Ÿ‘‘ Author ๐Ÿ‘‘

Generated automatically by Doxygen for DPDK from the source code. So the author is, uh, the machine ๐Ÿค–โœจ it's giving "I wrote it myself" but make it automatic.


๐Ÿซถ the sign-off ๐Ÿซถ

That's the whole vibe! This page is from the DPDK docs, Version 25.11.3, and it's the rte_swx_port_ethdev_writer_params(3) manual page, bestie ๐Ÿ’– Go configure that device, pick your queue, set your burst size, and serve. Periodt. ๐ŸŽ€๐Ÿฆ‹โœจ

๐Ÿ“ฆ where this page comes from