rte_pci_id(3)

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

πŸ’– NAME πŸ’–

rte_pci_id β€” bestie, this is the struct, the moment, the whole vibe check for PCI driver IDs. Your manual name is rte_pci_id (say it with me: rte_pci_id(3)), and yes she's iconic πŸŽ€


✨ SYNOPSIS ✨

#include <rte_pci.h>

πŸ¦‹ Data Fields

  • uint32_t class_id
  • uint16_t vendor_id
  • uint16_t device_id
  • uint16_t subsystem_vendor_id
  • uint16_t subsystem_device_id

Like, five fields and every single one of them is doing her job. Slay πŸ’…


🌸 Detailed Description 🌸

Okay so picture this: rte_pci_id is a structure that describes an ID for a PCI driver. That's it, that's the whole assignment πŸ’œ

And here's the cute part β€” each driver provides a table of these IDs for each device that it supports. Not one, a table. She's collecting them. Main character energy, fr fr πŸ‘‘

Definition at line 170 of file rte_pci.h. β€” noted, screenshot taken, saved to the group chat πŸ“Έ


🧚 Field Documentation 🧚

πŸ’« uint32_t class_id

So this one's the Class ID or RTE_CLASS_ANY_ID β€” pick your fighter 😌

Definition at line 171 of file rte_pci.h.

πŸ’« uint16_t vendor_id

Vendor ID or RTE_PCI_ANY_ID. Yes bestie, either you're a specific vendor or you're any vendor, and honestly both are valid 🌈

Definition at line 172 of file rte_pci.h.

πŸ’« uint16_t device_id

Device ID or RTE_PCI_ANY_ID. Two options, no in-between, lowkey obsessed with the simplicity πŸ“

Definition at line 173 of file rte_pci.h.

πŸ’« uint16_t subsystem_vendor_id

Subsystem vendor ID or RTE_PCI_ANY_ID. The subsystem vendor β€” don't mix her up with the regular vendor, that would be so embarrassing 😭

Definition at line 174 of file rte_pci.h.

πŸ’« uint16_t subsystem_device_id

Subsystem device ID or RTE_PCI_ANY_ID. Last one, and she ate this whole struct up, no crumbs πŸ’€πŸ”₯

Definition at line 175 of file rte_pci.h.

Quick reminder bestie: every single one of these fields offers RTE_PCI_ANY_ID (except class_id, which offers RTE_CLASS_ANY_ID β€” different constant, don't play yourself πŸ™ˆ). That's what the original says, so that's what you get ✨

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. So technically a robot wrote this, but the vibe check was all me πŸ’…πŸ«Ά


Okay and that's the whole page, bestie!! This lil' beauty came to you straight from DPDK, Version 26.03.0 β€” so when you're out here matching PCI IDs like the icon you are, remember where she came from πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from