DPDK  17.05.2
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_device device
struct rte_pci_addr addr
struct rte_pci_id id
struct rte_mem_resource mem_resource [PCI_MAX_RESOURCE]
struct rte_intr_handle intr_handle
struct rte_pci_driverdriver
uint16_t max_vfs
enum rte_kernel_driver kdrv
char name [PCI_PRI_STR_SIZE+1]

Detailed Description

A structure describing a PCI device.

Definition at line 164 of file rte_pci.h.

Member Function Documentation

TAILQ_ENTRY ( rte_pci_device  )

Next probed PCI device.

Field Documentation

struct rte_device device

Inherit core device

Definition at line 166 of file rte_pci.h.

struct rte_pci_addr addr

PCI location.

Examples:
examples/ethtool/lib/rte_ethtool.c.

Definition at line 167 of file rte_pci.h.

struct rte_pci_id id

PCI ID.

Definition at line 168 of file rte_pci.h.

struct rte_mem_resource mem_resource[PCI_MAX_RESOURCE]

PCI Memory Resource

Definition at line 169 of file rte_pci.h.

struct rte_intr_handle intr_handle

Interrupt handle

Definition at line 171 of file rte_pci.h.

struct rte_pci_driver* driver

Associated driver

Definition at line 172 of file rte_pci.h.

uint16_t max_vfs

sriov enable if not zero

Definition at line 173 of file rte_pci.h.

enum rte_kernel_driver kdrv

Kernel driver passthrough

Definition at line 174 of file rte_pci.h.

char name[PCI_PRI_STR_SIZE+1]

PCI location (ASCII)

Definition at line 175 of file rte_pci.h.


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