eal: introduce I/O device memory read/write operations
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 18 Jan 2017 01:21:23 +0000 (06:51 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Jan 2017 15:57:11 +0000 (16:57 +0100)
commit69736db1d80d365199b5be55591878c5542aaf33
tree915cb52a60d97843cbc9c123c2d8e0d17117d9e3
parent2cf953cfd8cf4edba6f8417b70fcb578493fb3e8
eal: introduce I/O device memory read/write operations

This commit introduces 8-bit, 16-bit, 32bit, 64bit I/O device
memory read/write operations along with the relaxed versions.

The weakly-ordered machine like ARM needs additional I/O barrier for
device memory read/write access over PCI bus.
By introducing the eal abstraction for I/O device memory read/write access,
The drivers can access I/O device memory in architecture agnostic manner.

The relaxed version does not have additional I/O memory barrier, useful in
accessing the device registers of integrated controllers which
implicitly strongly ordered with respect to memory access.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
doc/api/doxy-api-index.md
lib/librte_eal/common/Makefile
lib/librte_eal/common/include/generic/rte_io.h [new file with mode: 0644]