DPDK  16.04.0
Public Member Functions | Data Fields
rte_pci_device Struct Reference

#include <rte_pci.h>

Public Member Functions

 TAILQ_ENTRY (rte_pci_device) next

Data Fields

struct rte_pci_addr addr
struct rte_pci_id id
struct rte_pci_resource mem_resource [PCI_MAX_RESOURCE]
struct rte_intr_handle intr_handle
struct rte_pci_driverdriver
uint16_t max_vfs
int numa_node
struct rte_devargsdevargs
enum rte_kernel_driver kdrv

Detailed Description

A structure describing a PCI device.

Definition at line 158 of file rte_pci.h.

Member Function Documentation

TAILQ_ENTRY ( rte_pci_device  )

Next probed PCI device.

Field Documentation

struct rte_pci_addr addr

PCI location.

Examples:
ethtool/lib/rte_ethtool.c.

Definition at line 160 of file rte_pci.h.

struct rte_pci_id id

PCI ID.

Definition at line 161 of file rte_pci.h.

struct rte_pci_resource mem_resource[PCI_MAX_RESOURCE]

PCI Memory Resource

Definition at line 162 of file rte_pci.h.

struct rte_intr_handle intr_handle

Interrupt handle

Definition at line 163 of file rte_pci.h.

struct rte_pci_driver* driver

Associated driver

Definition at line 164 of file rte_pci.h.

uint16_t max_vfs

sriov enable if not zero

Definition at line 165 of file rte_pci.h.

int numa_node

NUMA node connection

Definition at line 166 of file rte_pci.h.

struct rte_devargs* devargs

Device user arguments

Definition at line 167 of file rte_pci.h.

enum rte_kernel_driver kdrv

Kernel driver passthrough

Definition at line 168 of file rte_pci.h.


The documentation for this struct was generated from the following file: