rte_eth_dev_module_info(3)
π rte_eth_dev_module_info π
okay bestie, so this is a page from the DPDK function manual β it's rte_eth_dev_module_info(3), and no, it's not a function function, it's a struct. A lil' baby struct. Let's get into it π¦
β¨ SYNOPSIS β¨
to even look at this thing you gotta pull in the header first, no cap:
#include <rte_dev_info.h>
πΈ Data Fields πΈ
here's the whole entire squad, like that's it, that's the struct:
uint32_t typeuint32_t eeprom_len
π Detailed Description π
so the vibe here is: placeholder for accessing plugin module EEPROM. literally that's what it says, it's a placeholder, it's holding space for the EEPROM-accessing of the plugin module. iykyk π«Ά
it's defined at line 45 of the file rte_dev_info.h, so if you're the type to go read the source (iconic behaviour honestly), that's where you go π
π Field Documentation π
uint32_t type
this one is the type of plugin module EEPROM. it's a uint32_t. that's the whole field. no notes. π
defined at line 46 of rte_dev_info.h.
uint32_t eeprom_len
and this one is the length of plugin module EEPROM. also a uint32_t. obsessed with the consistency fr fr β¨
defined at line 47 of rte_dev_info.h.
ok lowkey important: every "Definition at line N" thing is pointing you at rte_dev_info.h and those line numbers are from that file, so don't go looking in some other header and get confused, bestie π
π Author π
this whole page was generated automatically by Doxygen for DPDK from the source code. so like, nobody hand-wrote this, the machine did it. the machine ate. π
and that's the page!! π came to you straight from the DPDK girlies, Version 25.11.3, page rte_eth_dev_module_info(3) β mwah, go forth and access those plugin module EEPROMs, you've got this πππ¦
π¦ 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