]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/pci/private.h
net/ice/base: update IPv4 and IPv6 flow packet type masks
[dpdk.git] / drivers / bus / pci / private.h
index af1c7ae5fe2070f33ac3e337c166008f39548356..367cdd9a65bc011c90783c8eeeb20bacec1b12e5 100644 (file)
@@ -32,6 +32,17 @@ int rte_pci_scan(void);
 void
 pci_name_set(struct rte_pci_device *dev);
 
+/**
+ * Validate whether a device with given PCI address should be ignored or not.
+ *
+ * @param pci_addr
+ *     PCI address of device to be validated
+ * @return
+ *     true: if device is to be ignored,
+ *     false: if device is to be scanned,
+ */
+bool rte_pci_ignore_device(const struct rte_pci_addr *pci_addr);
+
 /**
  * Add a PCI device to the PCI Bus (append to PCI Device list). This function
  * also updates the bus references of the PCI Device (and the generic device