DPDK  17.02.1
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

Detailed Description

A structure describing a PCI device.

Definition at line 150 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 152 of file rte_pci.h.

struct rte_pci_addr addr

PCI location.

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

Definition at line 153 of file rte_pci.h.

struct rte_pci_id id

PCI ID.

Definition at line 154 of file rte_pci.h.

struct rte_mem_resource mem_resource[PCI_MAX_RESOURCE]

PCI Memory Resource

Definition at line 155 of file rte_pci.h.

struct rte_intr_handle intr_handle

Interrupt handle

Definition at line 157 of file rte_pci.h.

struct rte_pci_driver* driver

Associated driver

Definition at line 158 of file rte_pci.h.

uint16_t max_vfs

sriov enable if not zero

Definition at line 159 of file rte_pci.h.

enum rte_kernel_driver kdrv

Kernel driver passthrough

Definition at line 160 of file rte_pci.h.


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