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, iconic
  • uint16_t max_models β€” max models the device can hold
  • uint16_t max_queue_pairs β€” max queue pairs the device supports
  • uint16_t max_desc β€” max descriptors per queue pair that the device allows
  • uint16_t max_io β€” max inputs/outputs per model
  • uint16_t max_segments β€” max scatter-gather entries the device supports
  • uint16_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