DPDK  2.2.0
rte_pci_dev_ids.h File Reference

Go to the source code of this file.


#define PCI_VENDOR_ID_INTEL   0x8086
#define PCI_VENDOR_ID_CISCO   0x1137

Detailed Description

This file contains a list of the PCI device IDs recognised by DPDK, which can be used to fill out an array of structures describing the devices.

Currently four families of devices are recognised: those supported by the IGB driver, by EM driver, those supported by the IXGBE driver, and by virtio driver which is a para virtualization driver running in guest virtual machine. The inclusion of these in an array built using this file depends on the definition of RTE_PCI_DEV_ID_DECL_EM RTE_PCI_DEV_ID_DECL_IGB RTE_PCI_DEV_ID_DECL_IGBVF RTE_PCI_DEV_ID_DECL_IXGBE RTE_PCI_DEV_ID_DECL_IXGBEVF RTE_PCI_DEV_ID_DECL_I40E RTE_PCI_DEV_ID_DECL_I40EVF RTE_PCI_DEV_ID_DECL_VIRTIO at the time when this file is included.

In order to populate an array, the user of this file must define this macro: RTE_PCI_DEV_ID_DECL_IXGBE(vendorID, deviceID). For example:

struct device {
int vend;
int dev;
struct device devices[] = {
#define RTE_PCI_DEV_ID_DECL_IXGBE(vendorID, deviceID) {vend, dev},

Note that this file can be included multiple times within the same file.

Definition in file rte_pci_dev_ids.h.

Macro Definition Documentation

#define PCI_VENDOR_ID_INTEL   0x8086

Vendor ID used by Intel devices

Definition at line 157 of file rte_pci_dev_ids.h.


Vendor ID used by virtio devices

Definition at line 162 of file rte_pci_dev_ids.h.


Vendor ID used by VMware devices

Definition at line 167 of file rte_pci_dev_ids.h.

#define PCI_VENDOR_ID_CISCO   0x1137

Vendor ID used by Cisco VIC devices

Definition at line 172 of file rte_pci_dev_ids.h.


Vendor ID used by Broadcom devices

Definition at line 177 of file rte_pci_dev_ids.h.