rte_ml_dev_config(3)

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

πŸ’– NAME πŸ’–

Okay bestie, welcome to the <pink>rte_ml_dev_config(3)</pink> page from the DPDK Library Functions Manual ✨. The main character is rte_ml_dev_config, and it's literally the ML device configuration structure. Periodt.

🌸 SYNOPSIS 🌸

#include <rte_mldev.h>

πŸ¦‹ Data Fields πŸ¦‹

  • int socket_id
  • uint16_t nb_models
  • uint16_t nb_queue_pairs

πŸ’… Detailed Description πŸ’…

It's giving ML device configuration structure β€” that's the whole vibe, no cap 🫢.

Definition at line 259 of file rte_mldev.h.

πŸ“ Field Documentation πŸ“

Field-by-field tea time, bestie β˜•βœ¨

int socket_id

Socket to allocate resources on. That's it, that's the field πŸ’–.

Definition at line 260 of file rte_mldev.h.

uint16_t nb_models

Number of models to be loaded on the device. This value cannot exceed the max_models which is previously provided in struct rte_ml_dev_info::max_models β€” yes bestie, that's the exact lore πŸ‘‘.

Definition at line 262 of file rte_mldev.h.

uint16_t nb_queue_pairs

Number of queue pairs to configure on this device. This value cannot exceed the max_models which is previously provided in struct rte_ml_dev_info::max_queue_pairs β€” not me noticing the page says max_models here while pointing at max_queue_pairs, but that's literally what it says, so we're keeping it πŸ’€.

Definition at line 267 of file rte_mldev.h.

πŸ‘‘ Author πŸ‘‘

This page was generated automatically by Doxygen for DPDK from the source code. Slay, automation πŸ€–βœ¨.


xoxo, bestie πŸ’Œ β€” cute little sign-off from the footer: DPDK Version 26.03.0 for the rte_ml_dev_config(3) page. No date is chilling on that footer, so we're not inventing one 😌.

πŸ“¦ where this page comes from