rte_ml_dev_info(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– 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 line 217 of the file rte_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