xref: /spdk/scripts/env_dpdk/22.11/23.07-rte_bus_pci.h.patch (revision 91fcde065a5883d85ca1034a9a1b254e1eadbcad)
1@@ -136,54 +136,6 @@
2 		const void *buf, size_t len, off_t offset);
3
4 /**
5- * @warning
6- * @b EXPERIMENTAL: this API may change without prior notice.
7- *
8- * Read from a MMIO PCI resource.
9- *
10- * @param device
11- *   A pointer to a rte_pci_device structure describing the device
12- *   to use.
13- * @param bar
14- *   Index of the IO PCI resource we want to access.
15- * @param buf
16- *   A data buffer where the bytes should be read into.
17- * @param len
18- *   The length of the data buffer.
19- * @param offset
20- *   The offset into MMIO space described by @bar.
21- * @return
22- *   Number of bytes read on success, negative on error.
23- */
24-__rte_experimental
25-int rte_pci_mmio_read(const struct rte_pci_device *device, int bar,
26-		void *buf, size_t len, off_t offset);
27-
28-/**
29- * @warning
30- * @b EXPERIMENTAL: this API may change without prior notice.
31- *
32- * Write to a MMIO PCI resource.
33- *
34- * @param device
35- *   A pointer to a rte_pci_device structure describing the device
36- *   to use.
37- * @param bar
38- *   Index of the IO PCI resource we want to access.
39- * @param buf
40- *   A data buffer containing the bytes should be written.
41- * @param len
42- *   The length of the data buffer.
43- * @param offset
44- *   The offset into MMIO space described by @bar.
45- * @return
46- *   Number of bytes written on success, negative on error.
47- */
48-__rte_experimental
49-int rte_pci_mmio_write(const struct rte_pci_device *device, int bar,
50-		const void *buf, size_t len, off_t offset);
51-
52-/**
53  * Initialize a rte_pci_ioport object for a pci device io resource.
54  *
55  * This object is then used to gain access to those io resources (see below).
56