rte_ml_dev_info(3)
π rte_ml_dev_info π
okay so real talk bestie, this is rte_ml_dev_info(3) from the Library Functions Manual, and it's genuinely one of those little structs that's giving "quiet main character energy" β no cap. It's the ML device info struct, and every field in it is a lil fact about what your ML device can actually do. Let's get into it π«Ά
β¨ NAME β¨
rte_ml_dev_info β the struct that tells you everything your ML device is capable of, iykyk πΈ
β¨ SYNOPSIS β¨
#include <rte_mldev.h>
π Data Fields π
const char * driver_name
uint16_t max_models
uint16_t max_queue_pairs
uint16_t max_desc
uint16_t max_io
uint16_t max_segments
uint16_t align_size
Like, that's the whole squad right there π
π Detailed Description π
ML device information π
Iconic detail alert: this struct is defined at line217of the filerte_mldev.h. Periodt. β¨
π¦ Field Documentation π¦
π const char* driver_name
The driver name π
Defined at line 218 of the file rte_mldev.h.
π uint16_t max_models
Maximum number of models supported by the device. Like, that's the ceiling, bestie π₯
See also: struct rte_ml_dev_config::nb_models
Defined at line 220 of the file rte_mldev.h.
π uint16_t max_queue_pairs
Maximum number of queues pairs supported by the device. (yes, "queues pairs", that's literally how it's written, I don't make the rules π)
See also: struct rte_ml_dev_config::nb_queue_pairs
Defined at line 224 of the file rte_mldev.h.
π uint16_t max_desc
Maximum allowed number of descriptors for queue pair by the device π
See also: struct rte_ml_dev_qp_conf::nb_desc
Defined at line 228 of the file rte_mldev.h.
π uint16_t max_io
Maximum number of inputs/outputs supported per model β¨
Defined at line 232 of the file rte_mldev.h.
π uint16_t max_segments
Maximum number of scatter-gather entries supported by the device π¦
See also: struct rte_ml_buff_seg struct rte_ml_buff_seg::next
Defined at line 234 of the file rte_mldev.h.
π uint16_t align_size
Alignment size of IO buffers used by the device. Lowkey important, don't sleep on it π
Defined at line 238 of the file rte_mldev.h.
πΈ Author πΈ
Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, the robot did that π§
π aaaaand that's the whole page! this cutie is from DPDK, Version 26.03.0, and you just read the rte_ml_dev_info(3) manual page. slay, go forth and query your devices ππβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms