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_nameuint16_t queue_iduint32_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
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 ยท BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms