rte_ml_dev_info(3)
π rte_ml_dev_info π (the NAME section, bestie)
okay so this is the manual page for rte_ml_dev_info, living its best life in the DPDK Library Functions Manual, section 3 (that's the C library calls girlies, iykyk π
). It's a struct that tells you everything about an ML device. yes, machine learning device, we're fancy now β¨
β¨ SYNOPSIS β¨
#include <rte_mldev.h>
π Data Fields π
no cap, here's the whole squad of fields in this struct, in the exact order they show up:
const char * driver_nameβ the driver's name, iconicuint16_t max_modelsβ max models the device can holduint16_t max_queue_pairsβ max queue pairs the device supportsuint16_t max_descβ max descriptors per queue pair that the device allowsuint16_t max_ioβ max inputs/outputs per modeluint16_t max_segmentsβ max scatter-gather entries the device supportsuint16_t align_sizeβ the alignment size for IO buffers the device uses
πΈ Detailed Description πΈ
bestie, this whole struct is just: ML device information. that's it, that's the vibe π¦
it lives at Definition at line 217 of file rte_mldev.h. (yes we're citing line numbers, we're thorough like that π)
π Field Documentation π
β const char* driver_name
the driver name. periodt.
Definition at line 218 of file rte_mldev.h.
β uint16_t max_models
the maximum number of models supported by the device. slay.
See also: struct rte_ml_dev_config::nb_models
Definition at line 220 of file rte_mldev.h.
β uint16_t max_queue_pairs
the maximum number of queues pairs supported by the device. (yes, the original says "queues pairs", we don't make the rules π)
See also: struct rte_ml_dev_config::nb_queue_pairs
Definition at line 224 of file rte_mldev.h.
β uint16_t max_desc
the maximum allowed number of descriptors for queue pair by the device. so like, the descriptor budget, don't exceed it π
See also: struct rte_ml_dev_qp_conf::nb_desc
Definition at line 228 of file rte_mldev.h.
β uint16_t max_io
the maximum number of inputs/outputs supported per model.
Definition at line 232 of file rte_mldev.h.
β uint16_t max_segments
the maximum number of scatter-gather entries supported by the device. very gather, very scatter, we love a flexible buffer situation π§
See also: struct rte_ml_buff_seg struct rte_ml_buff_seg::next
Definition at line 234 of file rte_mldev.h.
β uint16_t align_size
the alignment size of IO buffers used by the device. keep your buffers aligned, bestie, it's giving main character energy π
Definition at line 238 of file rte_mldev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. yes, a robot wrote it, and honestly? it ate. no notes π€β¨
and that's the whole page, bestie!! this was DPDK Version 25.11.3, and the manual you're holding (well, scrolling) is rte_ml_dev_info(3). go forth and query your ML devices responsibly π«ΆππΈ
π¦ 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